zahedmohammed / testingApi

0 stars 0 forks source link

Test335 : ApiV1PrimaryTransactionPutAnonymousInvalid #112

Open zahedmohammed opened 5 years ago

zahedmohammed commented 5 years ago

Project : Test335

Job : Default

Env : Default

Category : Unsecured

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

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, 19 Feb 2019 10:02:32 GMT]}

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

Request :
{ "amount" : "6939", "availableBalance" : "1288793071", "createdBy" : "", "createdDate" : "", "description" : "Bly21Ln8", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "status" : "Bly21Ln8", "type" : "Bly21Ln8", "user" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "Bly21Ln8", "version" : "" }, "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-19T10:02:32.180+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : null } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }

Logs :
2019-02-19 10:02:32 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : URL [http://54.215.136.217/api/v1/primary-transaction] 2019-02-19 10:02:32 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Method [PUT] 2019-02-19 10:02:32 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Request [{ "amount" : "6939", "availableBalance" : "1288793071", "createdBy" : "", "createdDate" : "", "description" : "Bly21Ln8", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "status" : "Bly21Ln8", "type" : "Bly21Ln8", "user" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "Bly21Ln8", "version" : "" }, "version" : "" }] 2019-02-19 10:02:32 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}] 2019-02-19 10:02:32 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Response [{ "requestId" : "None", "requestTime" : "2019-02-19T10:02:32.180+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : null } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }] 2019-02-19 10:02:32 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : 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, 19 Feb 2019 10:02:32 GMT]}] 2019-02-19 10:02:32 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : StatusCode [200] 2019-02-19 10:02:32 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Time [22] 2019-02-19 10:02:32 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Size [176] 2019-02-19 10:02:32 ERROR [ApiV1PrimaryTransactionPutAnonymousInvalid] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed]

--- FX Bot ---

zahedmohammed commented 5 years ago

Project : Test335

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, 19 Feb 2019 10:17:12 GMT]}

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

Request :
{ "amount" : "7644", "availableBalance" : "1632506993", "createdBy" : "", "createdDate" : "", "description" : "5ek3AVZU", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "status" : "5ek3AVZU", "type" : "5ek3AVZU", "user" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "5ek3AVZU", "version" : "" }, "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-19T10:17:12.236+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : null } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }

Logs :
2019-02-19 10:17:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : URL [http://54.215.136.217/api/v1/primary-transaction] 2019-02-19 10:17:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Method [PUT] 2019-02-19 10:17:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Request [{ "amount" : "7644", "availableBalance" : "1632506993", "createdBy" : "", "createdDate" : "", "description" : "5ek3AVZU", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "status" : "5ek3AVZU", "type" : "5ek3AVZU", "user" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "5ek3AVZU", "version" : "" }, "version" : "" }] 2019-02-19 10:17:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}] 2019-02-19 10:17:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Response [{ "requestId" : "None", "requestTime" : "2019-02-19T10:17:12.236+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : null } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }] 2019-02-19 10:17:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : 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, 19 Feb 2019 10:17:12 GMT]}] 2019-02-19 10:17:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : StatusCode [200] 2019-02-19 10:17:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Time [37] 2019-02-19 10:17:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Size [176] 2019-02-19 10:17:12 ERROR [ApiV1PrimaryTransactionPutAnonymousInvalid] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed]

--- FX Bot ---

zahedmohammed commented 5 years ago

Project : Test335

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, 19 Feb 2019 10:32:42 GMT]}

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

Request :
{ "amount" : "8198", "availableBalance" : "1275798862", "createdBy" : "", "createdDate" : "", "description" : "W5usM35L", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "status" : "W5usM35L", "type" : "W5usM35L", "user" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "W5usM35L", "version" : "" }, "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-19T10:32:42.380+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 ---

zahedmohammed commented 5 years ago

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

Project : Test335

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, 19 Feb 2019 10:32:42 GMT]}

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

Request :
{ "amount" : "8198", "availableBalance" : "1275798862", "createdBy" : "", "createdDate" : "", "description" : "W5usM35L", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "status" : "W5usM35L", "type" : "W5usM35L", "user" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "W5usM35L", "version" : "" }, "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-19T10:32:42.380+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 ---

zahedmohammed commented 5 years ago

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

Project : Test335

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, 19 Feb 2019 10:17:12 GMT]}

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

Request :
{ "amount" : "7644", "availableBalance" : "1632506993", "createdBy" : "", "createdDate" : "", "description" : "5ek3AVZU", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "status" : "5ek3AVZU", "type" : "5ek3AVZU", "user" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "5ek3AVZU", "version" : "" }, "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-19T10:17:12.236+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 ---

zahedmohammed commented 5 years ago

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

Project : Test335

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, 19 Feb 2019 10:02:32 GMT]}

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

Request :
{ "amount" : "6939", "availableBalance" : "1288793071", "createdBy" : "", "createdDate" : "", "description" : "Bly21Ln8", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "status" : "Bly21Ln8", "type" : "Bly21Ln8", "user" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "Bly21Ln8", "version" : "" }, "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-19T10:02:32.180+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 ---

zahedmohammed commented 5 years ago

Project : Test335

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, 19 Feb 2019 11:06:12 GMT]}

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

Request :
{ "amount" : "2582", "availableBalance" : "1152067344", "createdBy" : "", "createdDate" : "", "description" : "LaxFKfoj", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "status" : "LaxFKfoj", "type" : "LaxFKfoj", "user" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "LaxFKfoj", "version" : "" }, "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-02-19T11:06:12.294+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : null } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }

Logs :
2019-02-19 11:06:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : URL [http://54.215.136.217/api/v1/primary-transaction] 2019-02-19 11:06:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Method [PUT] 2019-02-19 11:06:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Request [{ "amount" : "2582", "availableBalance" : "1152067344", "createdBy" : "", "createdDate" : "", "description" : "LaxFKfoj", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "status" : "LaxFKfoj", "type" : "LaxFKfoj", "user" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "LaxFKfoj", "version" : "" }, "version" : "" }] 2019-02-19 11:06:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}] 2019-02-19 11:06:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Response [{ "requestId" : "None", "requestTime" : "2019-02-19T11:06:12.294+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : null } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }] 2019-02-19 11:06:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : 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, 19 Feb 2019 11:06:12 GMT]}] 2019-02-19 11:06:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : StatusCode [200] 2019-02-19 11:06:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Time [20] 2019-02-19 11:06:12 DEBUG [ApiV1PrimaryTransactionPutAnonymousInvalid] : Size [176] 2019-02-19 11:06:12 ERROR [ApiV1PrimaryTransactionPutAnonymousInvalid] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed]

--- FX Bot ---