zahedmohammed / testingApi

0 stars 0 forks source link

Test13 : ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac #203

Open zahedmohammed opened 5 years ago

zahedmohammed commented 5 years ago

Project : Test13

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=[Thu, 21 Feb 2019 09:18:33 GMT]}

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

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Williamson, Williamson and Williamson", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "chaya.lemke@gmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Customer Consulting Analyst", "location" : "OZGED9Zm", "modifiedBy" : "", "modifiedDate" : "", "name" : "OZGED9Zm", "password" : "OZGED9Zm", "privileges" : [ "OZGED9Zm" ], "username" : "tremayne.bernhard", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-21T09:18:34.142+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Williamson, Williamson and Williamson] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }

Logs :
2019-02-21 09:18:34 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : URL [http://54.215.136.217/api/v1/users/team-sign-up] 2019-02-21 09:18:34 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Method [POST] 2019-02-21 09:18:34 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Request [{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Williamson, Williamson and Williamson", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "chaya.lemke@gmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Customer Consulting Analyst", "location" : "OZGED9Zm", "modifiedBy" : "", "modifiedDate" : "", "name" : "OZGED9Zm", "password" : "OZGED9Zm", "privileges" : [ "OZGED9Zm" ], "username" : "tremayne.bernhard", "version" : "" }] 2019-02-21 09:18:34 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}] 2019-02-21 09:18:34 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Response [{ "requestId" : "None", "requestTime" : "2019-02-21T09:18:34.142+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Williamson, Williamson and Williamson] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }] 2019-02-21 09:18:34 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Response-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=[Thu, 21 Feb 2019 09:18:33 GMT]}] 2019-02-21 09:18:34 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : StatusCode [200] 2019-02-21 09:18:34 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Time [266] 2019-02-21 09:18:34 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Size [231] 2019-02-21 09:18:34 ERROR [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed]

--- FX Bot ---

zahedmohammed commented 5 years ago

Project : Test13

Job : Default

Env : Default

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=[Thu, 21 Feb 2019 09:25:26 GMT]}

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

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Wolff-Wolff", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "madelynn.mante@gmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Marketing Engineer", "location" : "lTF9iKRk", "modifiedBy" : "", "modifiedDate" : "", "name" : "lTF9iKRk", "password" : "lTF9iKRk", "privileges" : [ "lTF9iKRk" ], "username" : "lillie.baumbach", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-21T09:25:27.079+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Wolff-Wolff] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }

Logs :
2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : URL [http://54.215.136.217/api/v1/users/team-sign-up] 2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Method [POST] 2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Request [{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Wolff-Wolff", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "madelynn.mante@gmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Marketing Engineer", "location" : "lTF9iKRk", "modifiedBy" : "", "modifiedDate" : "", "name" : "lTF9iKRk", "password" : "lTF9iKRk", "privileges" : [ "lTF9iKRk" ], "username" : "lillie.baumbach", "version" : "" }] 2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}] 2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Response [{ "requestId" : "None", "requestTime" : "2019-02-21T09:25:27.079+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Wolff-Wolff] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }] 2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Response-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=[Thu, 21 Feb 2019 09:25:26 GMT]}] 2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : StatusCode [200] 2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Time [3274] 2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Size [205] 2019-02-21 09:25:27 ERROR [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed]

--- FX Bot ---

zahedmohammed commented 5 years ago

Project : Test13

Job : Default

Env : Default

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=[Thu, 21 Feb 2019 09:25:27 GMT]}

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

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Feil-Feil", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "orion.murazik@yahoo.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Dynamic Real-Estate Officer", "location" : "gSR1tBA9", "modifiedBy" : "", "modifiedDate" : "", "name" : "gSR1tBA9", "password" : "gSR1tBA9", "privileges" : [ "gSR1tBA9" ], "username" : "doris.kertzmann", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-21T09:25:27.321+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Feil-Feil] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }

Logs :
2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : URL [http://54.215.136.217/api/v1/users/team-sign-up] 2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Method [POST] 2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Request [{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Feil-Feil", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "orion.murazik@yahoo.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Dynamic Real-Estate Officer", "location" : "gSR1tBA9", "modifiedBy" : "", "modifiedDate" : "", "name" : "gSR1tBA9", "password" : "gSR1tBA9", "privileges" : [ "gSR1tBA9" ], "username" : "doris.kertzmann", "version" : "" }] 2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}] 2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Response [{ "requestId" : "None", "requestTime" : "2019-02-21T09:25:27.321+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Feil-Feil] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }] 2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Response-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=[Thu, 21 Feb 2019 09:25:27 GMT]}] 2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : StatusCode [200] 2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Time [3245] 2019-02-21 09:25:27 DEBUG [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Size [203] 2019-02-21 09:25:27 ERROR [ApiV1UsersTeamSignUpPostRoleUserDisallowedRbac] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed]

--- FX Bot ---