shadab3682 / test2

0 stars 0 forks source link

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

Open shadab3682 opened 5 years ago

shadab3682 commented 5 years ago

Project : testing111

Template : ApiV1UsersEnterpriseSignUpPostDisallowedRbac

Run Id : 8a8080a169e2c7fa0169e2c936120059

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 10:40:34 GMT]}

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

Request :
{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Abshire and Sons", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "icie.green@hotmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Senior Marketing Designer", "location" : "Fk0pWnWk", "modifiedBy" : "", "modifiedDate" : "", "name" : "Fk0pWnWk", "password" : "Fk0pWnWk", "privileges" : [ "Fk0pWnWk" ], "username" : "guido.torp", "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-04-03T10:40:34.667+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Abshire and Sons] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }

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