shadab3682 / shadabalam

0 stars 0 forks source link

proj11 : ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac #22

Open shadab3682 opened 5 years ago

shadab3682 commented 5 years ago

Project : proj11

Job : Default

Env : Default

Category : RBAC

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

Severity : Major

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 200

Headers : {X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 26 Feb 2019 09:57:12 GMT]}

Endpoint : http://54.215.136.217/api/v1/primary-transaction/6bwmcdsj

Request :

Response :
{ "requestId" : "None", "requestTime" : "2019-02-26T09:57:12.523+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "java.lang.String cannot be cast to com.fxlabs.issues.rest.base.FxUserPrinciple" } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }

Logs :
2019-02-26 09:57:12 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : URL [http://54.215.136.217/api/v1/primary-transaction/6bwmcdsj] 2019-02-26 09:57:12 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : Method [DELETE] 2019-02-26 09:57:12 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : Request [] 2019-02-26 09:57:12 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}] 2019-02-26 09:57:12 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : Response [{ "requestId" : "None", "requestTime" : "2019-02-26T09:57:12.523+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "java.lang.String cannot be cast to com.fxlabs.issues.rest.base.FxUserPrinciple" } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }] 2019-02-26 09:57:12 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : Response-Headers [{X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 26 Feb 2019 09:57:12 GMT]}] 2019-02-26 09:57:12 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : StatusCode [200] 2019-02-26 09:57:12 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : Time [189] 2019-02-26 09:57:12 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : Size [252] 2019-02-26 09:57:12 ERROR [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed]

--- FX Bot ---

shadab3682 commented 5 years ago

Project : proj11

Job : Default

Env : Default

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 200

Headers : {X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 26 Feb 2019 09:59:12 GMT]}

Endpoint : http://54.215.136.217/api/v1/primary-transaction/XpW46AtF

Request :

Response :
{ "requestId" : "None", "requestTime" : "2019-02-26T09:59:12.465+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "java.lang.String cannot be cast to com.fxlabs.issues.rest.base.FxUserPrinciple" } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }

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

shadab3682 commented 5 years ago

Project : proj11

Job : Default

Env : Default

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 200

Headers : {X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Fri, 01 Mar 2019 05:29:24 GMT]}

Endpoint : http://54.215.136.217/api/v1/primary-transaction/f6ZiBgjZ

Request :

Response :
{ "requestId" : "None", "requestTime" : "2019-03-01T05:29:25.155+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : null } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }

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

shadab3682 commented 5 years ago

Project : proj11

Job : Default

Env : Default

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 200

Headers : {X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Fri, 01 Mar 2019 05:32:25 GMT]}

Endpoint : http://54.215.136.217/api/v1/primary-transaction/YNNzF0GI

Request :

Response :
{ "requestId" : "None", "requestTime" : "2019-03-01T05:32:25.518+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : null } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }

Logs :
2019-03-01 05:32:25 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : URL [http://54.215.136.217/api/v1/primary-transaction/YNNzF0GI] 2019-03-01 05:32:25 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : Method [DELETE] 2019-03-01 05:32:25 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : Request [] 2019-03-01 05:32:25 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}] 2019-03-01 05:32:25 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : Response [{ "requestId" : "None", "requestTime" : "2019-03-01T05:32:25.518+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : null } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }] 2019-03-01 05:32:25 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : Response-Headers [{X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Fri, 01 Mar 2019 05:32:25 GMT]}] 2019-03-01 05:32:25 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : StatusCode [200] 2019-03-01 05:32:25 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : Time [101] 2019-03-01 05:32:25 DEBUG [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : Size [176] 2019-03-01 05:32:25 ERROR [ApiV1PrimaryTransactionIdDeleteRoleUserDisallowedRbac] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed]

--- FX Bot ---