zahedmohammed / testingApi

0 stars 0 forks source link

Test124512 : ApiV1UsersPersonalSignUpPostAnonymousInvalid #122

Open zahedmohammed opened 5 years ago

zahedmohammed commented 5 years ago

Project : Test124512

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=[Tue, 19 Feb 2019 10:08:35 GMT]}

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

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Jacobson, Jacobson and Jacobson", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "oran.little@hotmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Regional Sales Analyst", "location" : "EH7UMWhO", "modifiedBy" : "", "modifiedDate" : "", "name" : "EH7UMWhO", "password" : "EH7UMWhO", "privileges" : [ "EH7UMWhO" ], "username" : "gisselle.brekke", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-19T10:08:36.674+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Jacobson, Jacobson and Jacobson] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }

Logs :
2019-02-19 10:08:36 DEBUG [ApiV1UsersPersonalSignUpPostAnonymousInvalid] : URL [http://54.215.136.217/api/v1/users/personal-sign-up] 2019-02-19 10:08:36 DEBUG [ApiV1UsersPersonalSignUpPostAnonymousInvalid] : Method [POST] 2019-02-19 10:08:36 DEBUG [ApiV1UsersPersonalSignUpPostAnonymousInvalid] : Request [{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Jacobson, Jacobson and Jacobson", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "oran.little@hotmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Regional Sales Analyst", "location" : "EH7UMWhO", "modifiedBy" : "", "modifiedDate" : "", "name" : "EH7UMWhO", "password" : "EH7UMWhO", "privileges" : [ "EH7UMWhO" ], "username" : "gisselle.brekke", "version" : "" }] 2019-02-19 10:08:36 DEBUG [ApiV1UsersPersonalSignUpPostAnonymousInvalid] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}] 2019-02-19 10:08:36 DEBUG [ApiV1UsersPersonalSignUpPostAnonymousInvalid] : Response [{ "requestId" : "None", "requestTime" : "2019-02-19T10:08:36.674+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Jacobson, Jacobson and Jacobson] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }] 2019-02-19 10:08:36 DEBUG [ApiV1UsersPersonalSignUpPostAnonymousInvalid] : 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=[Tue, 19 Feb 2019 10:08:35 GMT]}] 2019-02-19 10:08:36 DEBUG [ApiV1UsersPersonalSignUpPostAnonymousInvalid] : StatusCode [200] 2019-02-19 10:08:36 DEBUG [ApiV1UsersPersonalSignUpPostAnonymousInvalid] : Time [720] 2019-02-19 10:08:36 DEBUG [ApiV1UsersPersonalSignUpPostAnonymousInvalid] : Size [225] 2019-02-19 10:08:36 ERROR [ApiV1UsersPersonalSignUpPostAnonymousInvalid] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed]

--- FX Bot ---