zahedmohammed / testingApi

0 stars 0 forks source link

ticketlake : UserCreatewithlistPostRoleUserDisallowedRbac #35

Closed zahedmohammed closed 5 years ago

zahedmohammed commented 5 years ago

Project : ticketlake

Job : Default

Env : Default

Category : RBAC

Tags : [OWASP - OTG-IDENT-001 , FX Top 10 - API Vulnerability]

Severity : Major

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 201

Headers : {Date=[Thu, 17 Jan 2019 10:51:00 GMT], Content-Type=[application/json], Connection=[keep-alive], Access-Control-Allow-Headers=[X-Requested-With,Content-Type,Accept,Origin], Access-Control-Allow-Origin=[], Access-Control-Allow-Methods=[], Access-Control-Allow-Credentials=[true]}

Endpoint : http://virtserver.swaggerhub.com/T6352/Ticket-Lake/1.0.0/user/createWithList

Request :

Response :
null

Logs :
2019-01-17 10:50:59 DEBUG [UserCreatewithlistPostRoleUserDisallowedRbac] : URL [http://virtserver.swaggerhub.com/T6352/Ticket-Lake/1.0.0/user/createWithList] 2019-01-17 10:50:59 DEBUG [UserCreatewithlistPostRoleUserDisallowedRbac] : Method [POST] 2019-01-17 10:50:59 DEBUG [UserCreatewithlistPostRoleUserDisallowedRbac] : Request [] 2019-01-17 10:50:59 DEBUG [UserCreatewithlistPostRoleUserDisallowedRbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}] 2019-01-17 10:50:59 DEBUG [UserCreatewithlistPostRoleUserDisallowedRbac] : Response [null] 2019-01-17 10:50:59 DEBUG [UserCreatewithlistPostRoleUserDisallowedRbac] : Response-Headers [{Date=[Thu, 17 Jan 2019 10:51:00 GMT], Content-Type=[application/json], Connection=[keep-alive], Access-Control-Allow-Headers=[X-Requested-With,Content-Type,Accept,Origin], Access-Control-Allow-Origin=[], Access-Control-Allow-Methods=[], Access-Control-Allow-Credentials=[true]}] 2019-01-17 10:50:59 DEBUG [UserCreatewithlistPostRoleUserDisallowedRbac] : StatusCode [201] 2019-01-17 10:50:59 DEBUG [UserCreatewithlistPostRoleUserDisallowedRbac] : Time [453] 2019-01-17 10:50:59 DEBUG [UserCreatewithlistPostRoleUserDisallowedRbac] : Size [0] 2019-01-17 10:50:59 ERROR [UserCreatewithlistPostRoleUserDisallowedRbac] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [201 == 401 OR 201 == 403] result [Failed]

--- FX Bot ---

zahedmohammed commented 5 years ago

Project : ticketlake

Job : Default

Env : Default

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 201

Headers : {Date=[Mon, 21 Jan 2019 06:07:04 GMT], Content-Type=[application/json], Connection=[keep-alive], Access-Control-Allow-Headers=[X-Requested-With,Content-Type,Accept,Origin], Access-Control-Allow-Origin=[], Access-Control-Allow-Methods=[], Access-Control-Allow-Credentials=[true]}

Endpoint : http://virtserver.swaggerhub.com/T6352/Ticket-Lake/1.0.0/user/createWithList

Request :

Response :
null

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