asriz7777 / FXSCRIPTS-TEST-AUTOMATION

0 stars 1 forks source link

Vulnerability [ABAC_Level1] : GET:/api/v1/primary-account/primary-account/{id} #384

Open asriz7777 opened 5 years ago

asriz7777 commented 5 years ago

Project : asad

Template : ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUserbDisallowAbac

Run Id : 8a80816d6995990601699685c86f1701

Job : Default

Env : Default

Category : ABAC_Level1

Tags : [FX Top 10 - API Vulnerability, Data_Access_Control]

Severity : Major

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 401

Headers : {WWW-Authenticate=[Basic realm="Realm", Basic realm="Realm"], 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-Length=[0], Date=[Tue, 19 Mar 2019 15:15:52 GMT]}

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

Request :

Response :

Logs :
2019-03-19 03:15:52 DEBUG [PrimaryAccountCreateUserAInitAbac] : URL [http://54.215.136.217/api/v1/primary-account/primary-account] 2019-03-19 03:15:52 DEBUG [PrimaryAccountCreateUserAInitAbac] : Method [POST] 2019-03-19 03:15:52 DEBUG [PrimaryAccountCreateUserAInitAbac] : Request [{ "accountBalance" : "1554488629", "accountNumber" : "1554488629", "accountType" : "SAVING", "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "version" : "" }] 2019-03-19 03:15:52 DEBUG [PrimaryAccountCreateUserAInitAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic dXNlckFAZnhsYWJzLmlvOnVzZXJB]}] 2019-03-19 03:15:52 DEBUG [PrimaryAccountCreateUserAInitAbac] : Response [] 2019-03-19 03:15:52 DEBUG [PrimaryAccountCreateUserAInitAbac] : Response-Headers [{WWW-Authenticate=[Basic realm="Realm", Basic realm="Realm"], 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-Length=[0], Date=[Tue, 19 Mar 2019 15:15:51 GMT]}] 2019-03-19 03:15:52 DEBUG [PrimaryAccountCreateUserAInitAbac] : StatusCode [401] 2019-03-19 03:15:52 DEBUG [PrimaryAccountCreateUserAInitAbac] : Time [651] 2019-03-19 03:15:52 DEBUG [PrimaryAccountCreateUserAInitAbac] : Size [0] 2019-03-19 03:15:52 ERROR [null] : Assertion [@StatusCode == 200 AND @Response.errors == false] resolved-to [401 == 200 AND == false] result [Failed] 2019-03-19 03:15:52 DEBUG [PrimaryAccountCreateUserAInitAbac_Headers] : Headers [{WWW-Authenticate=[Basic realm="Realm", Basic realm="Realm"], 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-Length=[0], Date=[Tue, 19 Mar 2019 15:15:51 GMT]}] 2019-03-19 03:15:52 DEBUG [PrimaryAccountCreateUserAInitAbac_Headers] : Headers [{WWW-Authenticate=[Basic realm="Realm", Basic realm="Realm"], 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-Length=[0], Date=[Tue, 19 Mar 2019 15:15:51 GMT]}] 2019-03-19 03:15:52 DEBUG [PrimaryAccountCreateUserAInitAbac_Headers[2]] : Headers [{WWW-Authenticate=[Basic realm="Realm", Basic realm="Realm"], 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-Length=[0], Date=[Tue, 19 Mar 2019 15:15:51 GMT]}] 2019-03-19 03:15:52 DEBUG [PrimaryAccountCreateUserAInitAbac_Headers[2]] : Headers [{WWW-Authenticate=[Basic realm="Realm", Basic realm="Realm"], 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-Length=[0], Date=[Tue, 19 Mar 2019 15:15:51 GMT]}] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUserbDisallowAbac] : URL [http://54.215.136.217/api/v1/primary-account/primary-account/] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUserbDisallowAbac] : Method [GET] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUserbDisallowAbac] : Request [] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUserbDisallowAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic dXNlckJAZnhsYWJzLmlvOnVzZXJC]}] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUserbDisallowAbac] : Response [] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUserbDisallowAbac] : Response-Headers [{WWW-Authenticate=[Basic realm="Realm", Basic realm="Realm"], 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-Length=[0], Date=[Tue, 19 Mar 2019 15:15:52 GMT]}] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUserbDisallowAbac] : StatusCode [401] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUserbDisallowAbac] : Time [598] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUserbDisallowAbac] : Size [0] 2019-03-19 03:15:53 INFO [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUserbDisallowAbac] : Assertion [@StatusCode == 401 OR @StatusCode == 403 OR @Response.errors == true] resolved-to [401 == 401 OR 401 == 403 OR == true] result [Passed] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdDeletePrimaryaccountAbstractAbac] : URL [http://54.215.136.217/api/v1/primary-account/primary-account/] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdDeletePrimaryaccountAbstractAbac] : Method [DELETE] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdDeletePrimaryaccountAbstractAbac] : Request [null] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdDeletePrimaryaccountAbstractAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic dXNlckFAZnhsYWJzLmlvOnVzZXJB]}] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdDeletePrimaryaccountAbstractAbac] : Response [] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdDeletePrimaryaccountAbstractAbac] : Response-Headers [{WWW-Authenticate=[Basic realm="Realm", Basic realm="Realm"], 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-Length=[0], Date=[Tue, 19 Mar 2019 15:15:53 GMT]}] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdDeletePrimaryaccountAbstractAbac] : StatusCode [401] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdDeletePrimaryaccountAbstractAbac] : Time [504] 2019-03-19 03:15:53 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdDeletePrimaryaccountAbstractAbac] : Size [0] 2019-03-19 03:15:53 ERROR [null] : Assertion [@StatusCode == 200] resolved-to [401 == 200] result [Failed]

--- FX Bot ---