zahedmohammed / testingApi

0 stars 0 forks source link

bizpay : AgreementsIdGetUserbDisallowAbac #91

Open zahedmohammed opened 5 years ago

zahedmohammed commented 5 years ago

Project : bizpay

Job : Default

Env : Default

Category : ABAC_Level1

Tags : [FX Top 10 - API Vulnerability]

Severity : Major

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 500

Headers : {}

Endpoint : http://api.bizpay.co.uk/v1.25/agreements/

Request :

Response :
I/O error on GET request for "http://api.bizpay.co.uk/v1.25/agreements/": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out

Logs :
2019-01-21 06:16:23 DEBUG [null] : URL [http://api.bizpay.co.uk/v1.25/agreements] 2019-01-21 06:16:23 DEBUG [null] : Method [POST] 2019-01-21 06:16:23 DEBUG [null] : Request [{ "customer" : [ { } ], "seller" : [ { } ], "agreement" : [ { } ], "notifications" : [ { } ] }] 2019-01-21 06:16:23 DEBUG [null] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic dXNlckFAYml6cGF5LmNvLnVrOnVzZXJB]}] 2019-01-21 06:16:23 DEBUG [null] : Response [

301 Moved Permanently

301 Moved Permanently


nginx

] 2019-01-21 06:16:23 DEBUG [null] : Response-Headers [{Server=[nginx], Date=[Mon, 21 Jan 2019 06:16:25 GMT], Content-Type=[text/html], Content-Length=[178], Connection=[keep-alive], Location=[https://api.bizpay.co.uk/v1.25/agreements]}] 2019-01-21 06:16:23 DEBUG [null] : StatusCode [301] 2019-01-21 06:16:23 DEBUG [null] : Time [580] 2019-01-21 06:16:23 DEBUG [null] : Size [178] 2019-01-21 06:16:23 ERROR [null] : Assertion [@StatusCode == 200 OR @StatusCode == 201] resolved-to [301 == 200 OR 301 == 201] result [Failed] 2019-01-21 06:16:23 DEBUG [PostAgreementCreateUserAInitAbac_Headers] : Headers [{Server=[nginx], Date=[Mon, 21 Jan 2019 06:16:25 GMT], Content-Type=[text/html], Content-Length=[178], Connection=[keep-alive], Location=[https://api.bizpay.co.uk/v1.25/agreements]}] 2019-01-21 06:16:23 DEBUG [PostAgreementCreateUserAInitAbac_Headers] : Headers [{Server=[nginx], Date=[Mon, 21 Jan 2019 06:16:25 GMT], Content-Type=[text/html], Content-Length=[178], Connection=[keep-alive], Location=[https://api.bizpay.co.uk/v1.25/agreements]}] 2019-01-21 06:16:23 DEBUG [PostAgreementCreateUserAInitAbac_Headers[2]] : Headers [{Server=[nginx], Date=[Mon, 21 Jan 2019 06:16:25 GMT], Content-Type=[text/html], Content-Length=[178], Connection=[keep-alive], Location=[https://api.bizpay.co.uk/v1.25/agreements]}] 2019-01-21 06:16:23 DEBUG [PostAgreementCreateUserAInitAbac_Headers[2]] : Headers [{Server=[nginx], Date=[Mon, 21 Jan 2019 06:16:25 GMT], Content-Type=[text/html], Content-Length=[178], Connection=[keep-alive], Location=[https://api.bizpay.co.uk/v1.25/agreements]}] 2019-01-21 06:16:40 DEBUG [AgreementsIdGetUserbDisallowAbac] : URL [http://api.bizpay.co.uk/v1.25/agreements/] 2019-01-21 06:16:40 DEBUG [AgreementsIdGetUserbDisallowAbac] : Method [GET] 2019-01-21 06:16:40 DEBUG [AgreementsIdGetUserbDisallowAbac] : Request [] 2019-01-21 06:16:40 DEBUG [AgreementsIdGetUserbDisallowAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic dXNlckJAYml6cGF5LmNvLnVrOnVzZXJC]}] 2019-01-21 06:16:40 DEBUG [AgreementsIdGetUserbDisallowAbac] : Response [I/O error on GET request for "http://api.bizpay.co.uk/v1.25/agreements/": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out] 2019-01-21 06:16:40 DEBUG [AgreementsIdGetUserbDisallowAbac] : Response-Headers [{}] 2019-01-21 06:16:40 DEBUG [AgreementsIdGetUserbDisallowAbac] : StatusCode [500] 2019-01-21 06:16:40 DEBUG [AgreementsIdGetUserbDisallowAbac] : Time [16298] 2019-01-21 06:16:40 DEBUG [AgreementsIdGetUserbDisallowAbac] : Size [157] 2019-01-21 06:16:40 ERROR [AgreementsIdGetUserbDisallowAbac] : Assertion [@StatusCode == 401 OR @StatusCode == 403 OR @Response.errors == true] resolved-to [500 == 401 OR 500 == 403 OR == true] result [Failed]

--- FX Bot ---