shadab3682 / shadabalam

0 stars 0 forks source link

Vulnerability [RBAC] : POST:/api/v1/users/team-sign-up #272

Open shadab3682 opened 5 years ago

shadab3682 commented 5 years ago

Project : proj11

Template : ApiV1UsersTeamSignUpPostDisallowedRbac

Run Id : 8a80808f69dd9f210169e26a771351d4

Job : Default

Env : Default

Category : RBAC

Tags : [OWASP - OTG-IDENT-001 , FX Top 10 - API Vulnerability, Endpoint_Access_Control]

Severity : Major

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 200

Headers : {X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 03 Apr 2019 08:57:05 GMT]}

Endpoint : http://54.215.136.217/api/v1/users/team-sign-up

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Prosacco-Prosacco", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "gunner.homenick@yahoo.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Central Marketing Architect", "location" : "WyKsTfdx", "modifiedBy" : "", "modifiedDate" : "", "name" : "WyKsTfdx", "password" : "WyKsTfdx", "privileges" : [ "WyKsTfdx" ], "username" : "mina.mckenzie", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-04-03T08:57:05.361+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Prosacco-Prosacco] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }

Logs :
com.fxlabs.fxt.bot.assertions.AssertionLogger@4fee81e1 --- FX Bot ---

shadab3682 commented 5 years ago

Project : proj11

Template : ApiV1UsersTeamSignUpPostDisallowedRbac

Run Id : 8a80808f69dd9f210169e2710f185344

Job : Default

Env : Default

Category : RBAC

Tags : [OWASP - OTG-IDENT-001 , FX Top 10 - API Vulnerability, Endpoint_Access_Control]

Severity : Major

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 200

Headers : {X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 03 Apr 2019 09:04:25 GMT]}

Endpoint : http://54.215.136.217/api/v1/users/team-sign-up

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Weissnat-Weissnat", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "joe.gorczany@hotmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Consulting Administrator", "location" : "gkjPsFzG", "modifiedBy" : "", "modifiedDate" : "", "name" : "gkjPsFzG", "password" : "gkjPsFzG", "privileges" : [ "gkjPsFzG" ], "username" : "frank.cruickshank", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-04-03T09:04:25.734+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Weissnat-Weissnat] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }

Logs :
com.fxlabs.fxt.bot.assertions.AssertionLogger@7db0ee68 --- FX Bot ---

shadab3682 commented 5 years ago

Project : proj11

Template : ApiV1UsersTeamSignUpPostDisallowedRbac

Run Id : 8a80808f69dd9f210169e273065654a6

Job : Default

Env : Default

Category : RBAC

Tags : [OWASP - OTG-IDENT-001 , FX Top 10 - API Vulnerability, Endpoint_Access_Control]

Severity : Major

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 200

Headers : {X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 03 Apr 2019 09:06:34 GMT]}

Endpoint : http://54.215.136.217/api/v1/users/team-sign-up

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Mohr-Mohr", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "winifred.wiegand@gmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Forward Government Designer", "location" : "2PwhYHRI", "modifiedBy" : "", "modifiedDate" : "", "name" : "2PwhYHRI", "password" : "2PwhYHRI", "privileges" : [ "2PwhYHRI" ], "username" : "delmer.price", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-04-03T09:06:34.976+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Mohr-Mohr] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }

Logs :
com.fxlabs.fxt.bot.assertions.AssertionLogger@762ec1a5 --- FX Bot ---

shadab3682 commented 5 years ago

Project : proj11

Template : ApiV1UsersTeamSignUpPostDisallowedRbac

Run Id : 8a80808f69dd9f210169e281b21159cc

Job : Default

Env : Default

Category : RBAC

Tags : [OWASP - OTG-IDENT-001 , FX Top 10 - API Vulnerability, Endpoint_Access_Control]

Severity : Major

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 200

Headers : {X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 03 Apr 2019 09:22:34 GMT]}

Endpoint : http://54.215.136.217/api/v1/users/team-sign-up

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "White Inc", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "margaretta.lakin@gmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Forward Consulting Coordinator", "location" : "HCbnqI64", "modifiedBy" : "", "modifiedDate" : "", "name" : "HCbnqI64", "password" : "HCbnqI64", "privileges" : [ "HCbnqI64" ], "username" : "ressie.mills", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-04-03T09:22:35.313+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [White Inc] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }

Logs :
com.fxlabs.fxt.bot.assertions.AssertionLogger@4a98aae4 --- FX Bot ---