zahedmohammed / testingApi

0 stars 0 forks source link

bizpay : AgreementsAgreementIdChargesNowPutAnonymousInvalid #62

Open zahedmohammed opened 5 years ago

zahedmohammed commented 5 years ago

Project : bizpay

Job : Default

Env : Default

Category : Unsecured

Tags : [ OWASP - OTG-AUTHN-002, FX Top 10 - API Vulnerability]

Severity : Major

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 301

Headers : {Server=[nginx], Date=[Mon, 21 Jan 2019 06:16:09 GMT], Content-Type=[text/html], Content-Length=[178], Connection=[keep-alive], Location=[https://api.bizpay.co.uk/v1.25/agreements/499021474/charges/now?actor_id=499021474]}

Endpoint : http://api.bizpay.co.uk/v1.25/agreements/499021474/charges/now?actor_id=499021474

Request :

Response :

301 Moved Permanently

301 Moved Permanently


nginx

Logs :
2019-01-21 06:16:07 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : URL [http://api.bizpay.co.uk/v1.25/agreements/499021474/charges/now?actor_id=499021474] 2019-01-21 06:16:07 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : Method [PUT] 2019-01-21 06:16:07 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : Request [] 2019-01-21 06:16:07 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}] 2019-01-21 06:16:07 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : Response [

301 Moved Permanently

301 Moved Permanently


nginx

] 2019-01-21 06:16:07 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : Response-Headers [{Server=[nginx], Date=[Mon, 21 Jan 2019 06:16:09 GMT], Content-Type=[text/html], Content-Length=[178], Connection=[keep-alive], Location=[https://api.bizpay.co.uk/v1.25/agreements/499021474/charges/now?actor_id=499021474]}] 2019-01-21 06:16:07 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : StatusCode [301] 2019-01-21 06:16:07 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : Time [792] 2019-01-21 06:16:07 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : Size [178] 2019-01-21 06:16:07 ERROR [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [301 == 401 OR 301 == 403] result [Failed]

--- FX Bot ---

zahedmohammed commented 5 years ago

Project : bizpay

Job : Default

Env : Default

Region : Test19

Result : fail

Status Code : 301

Headers : {Server=[nginx], Date=[Mon, 21 Jan 2019 10:38:46 GMT], Content-Type=[text/html], Content-Length=[178], Connection=[keep-alive], Location=[https://api.bizpay.co.uk/v1.25/agreements/684632964/charges/now?actor_id=684632964]}

Endpoint : http://api.bizpay.co.uk/v1.25/agreements/684632964/charges/now?actor_id=684632964

Request :

Response :

301 Moved Permanently

301 Moved Permanently


nginx

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

zahedmohammed commented 5 years ago

Project : bizpay

Job : Default

Env : Default

Region : Test19

Result : fail

Status Code : 301

Headers : {Server=[nginx], Date=[Mon, 21 Jan 2019 11:16:29 GMT], Content-Type=[text/html], Content-Length=[178], Connection=[keep-alive], Location=[https://api.bizpay.co.uk/v1.25/agreements/1521246697/charges/now?actor_id=1521246697]}

Endpoint : http://api.bizpay.co.uk/v1.25/agreements/1521246697/charges/now?actor_id=1521246697

Request :

Response :

301 Moved Permanently

301 Moved Permanently


nginx

Logs :
2019-01-21 11:16:29 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : URL [http://api.bizpay.co.uk/v1.25/agreements/1521246697/charges/now?actor_id=1521246697] 2019-01-21 11:16:29 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : Method [PUT] 2019-01-21 11:16:29 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : Request [] 2019-01-21 11:16:29 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}] 2019-01-21 11:16:29 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : Response [

301 Moved Permanently

301 Moved Permanently


nginx

] 2019-01-21 11:16:29 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : Response-Headers [{Server=[nginx], Date=[Mon, 21 Jan 2019 11:16:29 GMT], Content-Type=[text/html], Content-Length=[178], Connection=[keep-alive], Location=[https://api.bizpay.co.uk/v1.25/agreements/1521246697/charges/now?actor_id=1521246697]}] 2019-01-21 11:16:29 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : StatusCode [301] 2019-01-21 11:16:29 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : Time [313] 2019-01-21 11:16:29 DEBUG [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : Size [178] 2019-01-21 11:16:29 ERROR [AgreementsAgreementIdChargesNowPutAnonymousInvalid] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [301 == 401 OR 301 == 403] result [Failed]

--- FX Bot ---

zahedmohammed commented 5 years ago

Project : bizpay

Job : Default

Env : Default

Region : Test19

Result : fail

Status Code : 301

Headers : {Server=[nginx], Date=[Fri, 25 Jan 2019 12:03:50 GMT], Content-Type=[text/html], Content-Length=[178], Connection=[keep-alive], Location=[https://api.bizpay.co.uk/v1.25/agreements/1675441668/charges/now?actor_id=1675441668]}

Endpoint : http://api.bizpay.co.uk/v1.25/agreements/1675441668/charges/now?actor_id=1675441668

Request :

Response :

301 Moved Permanently

301 Moved Permanently


nginx

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