shadab3682 / shadabalam

0 stars 0 forks source link

proj11 : ApiV1UsersEnterpriseSignUpPostAnonymousInvalid #5

Open shadab3682 opened 5 years ago

shadab3682 commented 5 years ago

Project : proj11

Job : Default

Env : Default

Category : null

Tags : null

Severity : null

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, 26 Feb 2019 09:43:54 GMT]}

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

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Cormier Inc", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "tierra.orn@yahoo.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "District Construction Agent", "location" : "5IUMEM8e", "modifiedBy" : "", "modifiedDate" : "", "name" : "5IUMEM8e", "password" : "5IUMEM8e", "privileges" : [ "5IUMEM8e" ], "username" : "scot.ortiz", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-26T09:43:55.213+0000", "errors" : false, "messages" : [ { "type" : "INFO", "key" : "", "value" : "Sign-up successful!" } ], "data" : true, "totalPages" : 0, "totalElements" : 0 }

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

shadab3682 commented 5 years ago

Project : proj11

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=[Tue, 05 Mar 2019 07:11:24 GMT]}

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

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Spinka-Spinka", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "gregorio.volkman@hotmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Dynamic Healthcare Engineer", "location" : "AM3GyL12", "modifiedBy" : "", "modifiedDate" : "", "name" : "AM3GyL12", "password" : "AM3GyL12", "privileges" : [ "AM3GyL12" ], "username" : "kristopher.weimann", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-03-05T07:11:24.398+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Spinka-Spinka] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }

Logs :
2019-03-05 07:11:24 DEBUG [ApiV1UsersEnterpriseSignUpPostAnonymousInvalid] : URL [http://54.215.136.217/api/v1/users/enterprise-sign-up] 2019-03-05 07:11:24 DEBUG [ApiV1UsersEnterpriseSignUpPostAnonymousInvalid] : Method [POST] 2019-03-05 07:11:24 DEBUG [ApiV1UsersEnterpriseSignUpPostAnonymousInvalid] : Request [{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Spinka-Spinka", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "gregorio.volkman@hotmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Dynamic Healthcare Engineer", "location" : "AM3GyL12", "modifiedBy" : "", "modifiedDate" : "", "name" : "AM3GyL12", "password" : "AM3GyL12", "privileges" : [ "AM3GyL12" ], "username" : "kristopher.weimann", "version" : "" }] 2019-03-05 07:11:24 DEBUG [ApiV1UsersEnterpriseSignUpPostAnonymousInvalid] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}] 2019-03-05 07:11:24 DEBUG [ApiV1UsersEnterpriseSignUpPostAnonymousInvalid] : Response [{ "requestId" : "None", "requestTime" : "2019-03-05T07:11:24.398+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Spinka-Spinka] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }] 2019-03-05 07:11:24 DEBUG [ApiV1UsersEnterpriseSignUpPostAnonymousInvalid] : 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, 05 Mar 2019 07:11:24 GMT]}] 2019-03-05 07:11:24 DEBUG [ApiV1UsersEnterpriseSignUpPostAnonymousInvalid] : StatusCode [200] 2019-03-05 07:11:24 DEBUG [ApiV1UsersEnterpriseSignUpPostAnonymousInvalid] : Time [363] 2019-03-05 07:11:24 DEBUG [ApiV1UsersEnterpriseSignUpPostAnonymousInvalid] : Size [207] 2019-03-05 07:11:24 ERROR [ApiV1UsersEnterpriseSignUpPostAnonymousInvalid] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed]

--- FX Bot ---

shadab3682 commented 5 years ago

Project : proj11

Template : ApiV1UsersEnterpriseSignUpPostAnonymousInvalid

Run Id : 8a80808f69dd9f210169e266cfa14f84

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, 03 Apr 2019 08:53:14 GMT]}

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

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Smitham Group", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "kristin.hamill@yahoo.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Senior Banking Planner", "location" : "qZsReUiw", "modifiedBy" : "", "modifiedDate" : "", "name" : "qZsReUiw", "password" : "qZsReUiw", "privileges" : [ "qZsReUiw" ], "username" : "marilyne.lowe", "version" : "" }

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

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