zahedmohammed / testingApi

0 stars 0 forks source link

test2531 : ApiV1UsersTeamSignUpPostAnonymousInvalid #151

Closed zahedmohammed closed 5 years ago

zahedmohammed commented 5 years ago

Project : test2531

Job : Default

Env : Default

Category : Unsecured

Tags : [ OWASP - OTG-AUTHN-002, FX Top 10 - API Vulnerability, Non-Intrusive]

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, 20 Feb 2019 14:02:42 GMT]}

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

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Dietrich-Dietrich", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "maurine.jacobson@gmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "National Facilitator", "location" : "2Q1qNsAa", "modifiedBy" : "", "modifiedDate" : "", "name" : "2Q1qNsAa", "password" : "2Q1qNsAa", "privileges" : [ "2Q1qNsAa" ], "username" : "boris.brekke", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-20T14:02:42.850+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Dietrich-Dietrich] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }

Logs :
2019-02-20 02:02:42 DEBUG [ApiV1UsersTeamSignUpPostAnonymousInvalid] : URL [http://54.215.136.217/api/v1/users/team-sign-up] 2019-02-20 02:02:42 DEBUG [ApiV1UsersTeamSignUpPostAnonymousInvalid] : Method [POST] 2019-02-20 02:02:42 DEBUG [ApiV1UsersTeamSignUpPostAnonymousInvalid] : Request [{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Dietrich-Dietrich", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "maurine.jacobson@gmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "National Facilitator", "location" : "2Q1qNsAa", "modifiedBy" : "", "modifiedDate" : "", "name" : "2Q1qNsAa", "password" : "2Q1qNsAa", "privileges" : [ "2Q1qNsAa" ], "username" : "boris.brekke", "version" : "" }] 2019-02-20 02:02:42 DEBUG [ApiV1UsersTeamSignUpPostAnonymousInvalid] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}] 2019-02-20 02:02:42 DEBUG [ApiV1UsersTeamSignUpPostAnonymousInvalid] : Response [{ "requestId" : "None", "requestTime" : "2019-02-20T14:02:42.850+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Dietrich-Dietrich] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }] 2019-02-20 02:02:42 DEBUG [ApiV1UsersTeamSignUpPostAnonymousInvalid] : 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=[Wed, 20 Feb 2019 14:02:42 GMT]}] 2019-02-20 02:02:42 DEBUG [ApiV1UsersTeamSignUpPostAnonymousInvalid] : StatusCode [200] 2019-02-20 02:02:42 DEBUG [ApiV1UsersTeamSignUpPostAnonymousInvalid] : Time [206] 2019-02-20 02:02:42 DEBUG [ApiV1UsersTeamSignUpPostAnonymousInvalid] : Size [211] 2019-02-20 02:02:42 ERROR [ApiV1UsersTeamSignUpPostAnonymousInvalid] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed]

--- FX Bot ---

zahedmohammed commented 5 years ago

Project : test2531

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=[Wed, 20 Feb 2019 14:03:42 GMT]}

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

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Ferry, Ferry and Ferry", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "shaniya.keebler@hotmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Legacy Designer", "location" : "V8SO3voA", "modifiedBy" : "", "modifiedDate" : "", "name" : "V8SO3voA", "password" : "V8SO3voA", "privileges" : [ "V8SO3voA" ], "username" : "keagan.armstrong", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-20T14:03:42.774+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Ferry, Ferry and Ferry] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }

Logs :
Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed] --- FX Bot ---

zahedmohammed commented 5 years ago

Message : This issue is manually closed from FX control plane.

Project : test2531

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=[Wed, 20 Feb 2019 14:03:42 GMT]}

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

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Ferry, Ferry and Ferry", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "shaniya.keebler@hotmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Legacy Designer", "location" : "V8SO3voA", "modifiedBy" : "", "modifiedDate" : "", "name" : "V8SO3voA", "password" : "V8SO3voA", "privileges" : [ "V8SO3voA" ], "username" : "keagan.armstrong", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-20T14:03:42.774+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Ferry, Ferry and Ferry] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }

Logs :
Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed] --- FX Bot ---

zahedmohammed commented 5 years ago

Message : This issue is manually closed from FX control plane.

Project : test2531

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=[Wed, 20 Feb 2019 14:02:42 GMT]}

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

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Dietrich-Dietrich", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "maurine.jacobson@gmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "National Facilitator", "location" : "2Q1qNsAa", "modifiedBy" : "", "modifiedDate" : "", "name" : "2Q1qNsAa", "password" : "2Q1qNsAa", "privileges" : [ "2Q1qNsAa" ], "username" : "boris.brekke", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-20T14:02:42.850+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Dietrich-Dietrich] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }

Logs :
Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed] --- FX Bot ---