zahedmohammed / testingApi

0 stars 0 forks source link

ticketlake : UserLoginGetRoleAdminDisallowedRbac #43

Open zahedmohammed opened 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 : 200

Headers : {Date=[Mon, 21 Jan 2019 06:07: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/login&password=1951175477

Request :

Response :
{ "id" : 0, "username" : "string", "firstName" : "string", "lastName" : "string", "email" : "string", "password" : "string", "phone" : "string", "userStatus" : 0 }

Logs :
2019-01-21 06:06:59 DEBUG [UserLoginGetRoleAdminDisallowedRbac] : URL [http://virtserver.swaggerhub.com/T6352/Ticket-Lake/1.0.0/user/login&password=1951175477] 2019-01-21 06:06:59 DEBUG [UserLoginGetRoleAdminDisallowedRbac] : Method [GET] 2019-01-21 06:06:59 DEBUG [UserLoginGetRoleAdminDisallowedRbac] : Request [] 2019-01-21 06:06:59 DEBUG [UserLoginGetRoleAdminDisallowedRbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}] 2019-01-21 06:06:59 DEBUG [UserLoginGetRoleAdminDisallowedRbac] : Response [{ "id" : 0, "username" : "string", "firstName" : "string", "lastName" : "string", "email" : "string", "password" : "string", "phone" : "string", "userStatus" : 0 }] 2019-01-21 06:06:59 DEBUG [UserLoginGetRoleAdminDisallowedRbac] : Response-Headers [{Date=[Mon, 21 Jan 2019 06:07: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-21 06:06:59 DEBUG [UserLoginGetRoleAdminDisallowedRbac] : StatusCode [200] 2019-01-21 06:06:59 DEBUG [UserLoginGetRoleAdminDisallowedRbac] : Time [2294] 2019-01-21 06:06:59 DEBUG [UserLoginGetRoleAdminDisallowedRbac] : Size [179] 2019-01-21 06:06:59 ERROR [UserLoginGetRoleAdminDisallowedRbac] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed]

--- FX Bot ---