jaleelsyed / fx-local

0 stars 0 forks source link

asdfadsf : ExampleV1HotelsPostRoleUserDisallowedRbac #125

Closed jaleelsyed closed 2 years ago

jaleelsyed commented 5 years ago

Project : asdfadsf

Job : rbac

Env : Default

Category : RBAC

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

Severity : Major

Region : local

Result : fail

Status Code : 500

Headers : {}

Endpoint : http://18.144.38.115:8090/example/v1/hotels

Request :
{ "city" : "West Willisfurt", "description" : "ZcKOhHIU", "id" : "", "name" : "ZcKOhHIU", "rating" : "224879680" }

Response :
Invalid mime type "application/xml, application/json": Invalid token character ',' in token "xml, application/json"

Logs :
2019-02-18 04:31:47 DEBUG [ExampleV1HotelsPostRoleUserDisallowedRbac] : URL [http://18.144.38.115:8090/example/v1/hotels] 2019-02-18 04:31:47 DEBUG [ExampleV1HotelsPostRoleUserDisallowedRbac] : Method [POST] 2019-02-18 04:31:47 DEBUG [ExampleV1HotelsPostRoleUserDisallowedRbac] : Request [{ "city" : "West Willisfurt", "description" : "ZcKOhHIU", "id" : "", "name" : "ZcKOhHIU", "rating" : "224879680" }] 2019-02-18 04:31:47 DEBUG [ExampleV1HotelsPostRoleUserDisallowedRbac] : Request-Headers [{Content-Type=[application/xml, application/json], Accept=[application/xml, application/json]}] 2019-02-18 04:31:47 DEBUG [ExampleV1HotelsPostRoleUserDisallowedRbac] : Response [Invalid mime type "application/xml, application/json": Invalid token character ',' in token "xml, application/json"] 2019-02-18 04:31:47 DEBUG [ExampleV1HotelsPostRoleUserDisallowedRbac] : Response-Headers [{}] 2019-02-18 04:31:47 DEBUG [ExampleV1HotelsPostRoleUserDisallowedRbac] : StatusCode [500] 2019-02-18 04:31:47 DEBUG [ExampleV1HotelsPostRoleUserDisallowedRbac] : Time [51] 2019-02-18 04:31:47 DEBUG [ExampleV1HotelsPostRoleUserDisallowedRbac] : Size [115] 2019-02-18 04:31:47 ERROR [ExampleV1HotelsPostRoleUserDisallowedRbac] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [500 == 401 OR 500 == 403] result [Failed]

--- FX Bot ---