jaleelsyed / fx-local

0 stars 0 forks source link

adsffasd : ExampleV1HotelsPostRoleAdminDisallowedRbac #144

Closed jaleelsyed closed 5 years ago

jaleelsyed commented 5 years ago

Project : adsffasd

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" : "Monahantown", "description" : "oBJGjHxx", "id" : "", "name" : "oBJGjHxx", "rating" : "1090729869" }

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

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

--- FX Bot ---

jaleelsyed commented 5 years ago

Message : This issue is manually closed from FX control plane.

Project : adsffasd

Job : rbac

Env : Default

Region : local

Result : fail

Status Code : 500

Headers : {}

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

Request :
{ "city" : "Monahantown", "description" : "oBJGjHxx", "id" : "", "name" : "oBJGjHxx", "rating" : "1090729869" }

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

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