shadab3682 / shadabalam

0 stars 0 forks source link

Vulnerability [RBAC] : POST:/api/v1/users/enterprise-sign-up #271

Open shadab3682 opened 5 years ago

shadab3682 commented 5 years ago

Project : proj11

Template : ApiV1UsersEnterpriseSignUpPostDisallowedRbac

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/enterprise-sign-up

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Bartell Group", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "icie.schaden@gmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Accounting Representative", "location" : "KltiphQ6", "modifiedBy" : "", "modifiedDate" : "", "name" : "KltiphQ6", "password" : "KltiphQ6", "privileges" : [ "KltiphQ6" ], "username" : "jaunita.kuhlman", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-04-03T08:57:05.693+0000", "errors" : false, "messages" : [ { "type" : "INFO", "key" : "", "value" : "Sign-up successful!" } ], "data" : true, "totalPages" : 0, "totalElements" : 0 }

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

shadab3682 commented 5 years ago

Project : proj11

Template : ApiV1UsersEnterpriseSignUpPostDisallowedRbac

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:24 GMT]}

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

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Abernathy Group", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "ladarius.hauck@gmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "National Healthcare Officer", "location" : "QL3lkeZY", "modifiedBy" : "", "modifiedDate" : "", "name" : "QL3lkeZY", "password" : "QL3lkeZY", "privileges" : [ "QL3lkeZY" ], "username" : "ole.grady", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-04-03T09:04:25.027+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Already in use email [ladarius.hauck@gmail.com]" } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }

Logs :
com.fxlabs.fxt.bot.assertions.AssertionLogger@5854b6e8 --- FX Bot ---

shadab3682 commented 5 years ago

Project : proj11

Template : ApiV1UsersEnterpriseSignUpPostDisallowedRbac

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:35 GMT]}

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

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Reilly, Reilly and Reilly", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "joshuah.simonis@hotmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Legal Developer", "location" : "Z3gyK0uO", "modifiedBy" : "", "modifiedDate" : "", "name" : "Z3gyK0uO", "password" : "Z3gyK0uO", "privileges" : [ "Z3gyK0uO" ], "username" : "gonzalo.pagac", "version" : "" }

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

Logs :
com.fxlabs.fxt.bot.assertions.AssertionLogger@8bf9fa4 --- FX Bot ---

shadab3682 commented 5 years ago

Project : proj11

Template : ApiV1UsersEnterpriseSignUpPostDisallowedRbac

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/enterprise-sign-up

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Bernier Inc", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "natasha.dickens@yahoo.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Investor Hospitality Director", "location" : "8yppDmJQ", "modifiedBy" : "", "modifiedDate" : "", "name" : "8yppDmJQ", "password" : "8yppDmJQ", "privileges" : [ "8yppDmJQ" ], "username" : "adalberto.mitchell", "version" : "" }

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

Logs :
com.fxlabs.fxt.bot.assertions.AssertionLogger@133da69c --- FX Bot ---