jaleelsyed / fx-local

0 stars 0 forks source link

adsfasdf : ExampleV1HotelsIdPutRoleAdminDisallowedRbac #160

Closed jaleelsyed closed 5 years ago

jaleelsyed commented 5 years ago

Project : adsfasdf

Job : adsf

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/FRsi4xNf

Request :
{ "city" : "Lake Cristobal", "description" : "sstr9tgd", "id" : "", "name" : "sstr9tgd", "rating" : "1388248270" }

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

Logs :
2019-02-18 04:57:07 DEBUG [ExampleV1HotelsIdPutRoleAdminDisallowedRbac] : URL [http://18.144.38.115:8090/example/v1/hotels/FRsi4xNf] 2019-02-18 04:57:07 DEBUG [ExampleV1HotelsIdPutRoleAdminDisallowedRbac] : Method [PUT] 2019-02-18 04:57:07 DEBUG [ExampleV1HotelsIdPutRoleAdminDisallowedRbac] : Request [{ "city" : "Lake Cristobal", "description" : "sstr9tgd", "id" : "", "name" : "sstr9tgd", "rating" : "1388248270" }] 2019-02-18 04:57:07 DEBUG [ExampleV1HotelsIdPutRoleAdminDisallowedRbac] : Request-Headers [{Content-Type=[application/xml, application/json], Accept=[application/xml, application/json]}] 2019-02-18 04:57:07 DEBUG [ExampleV1HotelsIdPutRoleAdminDisallowedRbac] : Response [Invalid mime type "application/xml, application/json": Invalid token character ',' in token "xml, application/json"] 2019-02-18 04:57:07 DEBUG [ExampleV1HotelsIdPutRoleAdminDisallowedRbac] : Response-Headers [{}] 2019-02-18 04:57:07 DEBUG [ExampleV1HotelsIdPutRoleAdminDisallowedRbac] : StatusCode [500] 2019-02-18 04:57:07 DEBUG [ExampleV1HotelsIdPutRoleAdminDisallowedRbac] : Time [13] 2019-02-18 04:57:07 DEBUG [ExampleV1HotelsIdPutRoleAdminDisallowedRbac] : Size [115] 2019-02-18 04:57:07 ERROR [ExampleV1HotelsIdPutRoleAdminDisallowedRbac] : 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 : adsfasdf

Job : adsf

Env : Default

Region : local

Result : fail

Status Code : 500

Headers : {}

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

Request :
{ "city" : "Lake Cristobal", "description" : "sstr9tgd", "id" : "", "name" : "sstr9tgd", "rating" : "1388248270" }

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 ---