shadab3682 / shadabalam

0 stars 0 forks source link

Vulnerability [RBAC] : PUT:/api/v1/primary-transaction #269

Open shadab3682 opened 5 years ago

shadab3682 commented 5 years ago

Project : proj11

Template : ApiV1PrimaryTransactionPutDisallowedRbac

Run Id : 8a80808f69dd9f210169e26a771351d4

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=[Wed, 03 Apr 2019 08:57:03 GMT]}

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

Request :
{ "amount" : "8455", "availableBalance" : "2079319770", "createdBy" : "", "createdDate" : "", "description" : "ux126B3x", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "status" : "ux126B3x", "type" : "ux126B3x", "user" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "ux126B3x", "version" : "" }, "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-04-03T08:57:03.366+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : null } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }

Logs :
com.fxlabs.fxt.bot.assertions.AssertionLogger@498b7a9e --- FX Bot ---

shadab3682 commented 5 years ago

Project : proj11

Template : ApiV1PrimaryTransactionPutDisallowedRbac

Run Id : 8a80808f69dd9f210169e2710f185344

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=[Wed, 03 Apr 2019 09:04:22 GMT]}

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

Request :
{ "amount" : "4556", "availableBalance" : "2008077781", "createdBy" : "", "createdDate" : "", "description" : "QmkGguQV", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "status" : "QmkGguQV", "type" : "QmkGguQV", "user" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "QmkGguQV", "version" : "" }, "version" : "" }

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

Logs :
com.fxlabs.fxt.bot.assertions.AssertionLogger@4c85f0a3 --- FX Bot ---

shadab3682 commented 5 years ago

Project : proj11

Template : ApiV1PrimaryTransactionPutDisallowedRbac

Run Id : 8a80808f69dd9f210169e273065654a6

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=[Wed, 03 Apr 2019 09:06:33 GMT]}

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

Request :
{ "amount" : "8941", "availableBalance" : "2146605474", "createdBy" : "", "createdDate" : "", "description" : "ODFYMad7", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "status" : "ODFYMad7", "type" : "ODFYMad7", "user" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "ODFYMad7", "version" : "" }, "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-04-03T09:06:33.848+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : null } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }

Logs :
com.fxlabs.fxt.bot.assertions.AssertionLogger@43ad5dca --- FX Bot ---

shadab3682 commented 5 years ago

Project : proj11

Template : ApiV1PrimaryTransactionPutDisallowedRbac

Run Id : 8a80808f69dd9f210169e281b21159cc

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=[Wed, 03 Apr 2019 09:22:32 GMT]}

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

Request :
{ "amount" : "3058", "availableBalance" : "1273101112", "createdBy" : "", "createdDate" : "", "description" : "uhDcnyRh", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "status" : "uhDcnyRh", "type" : "uhDcnyRh", "user" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "uhDcnyRh", "version" : "" }, "version" : "" }

Response :
{ "requestId" : "None", "requestTime" : "2019-04-03T09:22:32.199+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : null } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }

Logs :
com.fxlabs.fxt.bot.assertions.AssertionLogger@4ed51572 --- FX Bot ---