sohail1024 / testing1

0 stars 0 forks source link

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

Open intesar opened 5 years ago

intesar commented 5 years ago

Project : TestingBanking1

Template : ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUsercDisallowAbac

Run Id : 8a80806469a378f00169a43743d474b4

Job : Default

Env : Default

Category : ABAC_Level1

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

Severity : Major

Region : US_EAST_2

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=[Fri, 22 Mar 2019 07:04:50 GMT]}

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

Request :

Response :

Logs :
2019-03-22 07:04:49 DEBUG [PrimaryAccountCreateUserAInitAbac] : URL [http://54.215.136.217/api/v1/primary-account/primary-account] 2019-03-22 07:04:49 DEBUG [PrimaryAccountCreateUserAInitAbac] : Method [POST] 2019-03-22 07:04:49 DEBUG [PrimaryAccountCreateUserAInitAbac] : Request [{ "accountBalance" : "1555452362", "accountNumber" : "1555452362", "accountType" : "CREDIT", "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "version" : "" }] 2019-03-22 07:04:49 DEBUG [PrimaryAccountCreateUserAInitAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic dXNlckFAZnhsYWJzLmlvOnVzZXJB]}] 2019-03-22 07:04:49 DEBUG [PrimaryAccountCreateUserAInitAbac] : Response [] 2019-03-22 07:04:49 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=[Fri, 22 Mar 2019 07:04:48 GMT]}] 2019-03-22 07:04:49 DEBUG [PrimaryAccountCreateUserAInitAbac] : StatusCode [401] 2019-03-22 07:04:49 DEBUG [PrimaryAccountCreateUserAInitAbac] : Time [901] 2019-03-22 07:04:49 DEBUG [PrimaryAccountCreateUserAInitAbac] : Size [0] 2019-03-22 07:04:49 ERROR [null] : Assertion [@StatusCode == 200 AND @Response.errors == false] resolved-to [401 == 200 AND == false] result [Failed] 2019-03-22 07:04:49 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=[Fri, 22 Mar 2019 07:04:48 GMT]}] 2019-03-22 07:04:49 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=[Fri, 22 Mar 2019 07:04:48 GMT]}] 2019-03-22 07:04:49 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=[Fri, 22 Mar 2019 07:04:48 GMT]}] 2019-03-22 07:04:49 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=[Fri, 22 Mar 2019 07:04:48 GMT]}] 2019-03-22 07:04:50 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUsercDisallowAbac] : URL [http://54.215.136.217/api/v1/primary-account/primary-account/] 2019-03-22 07:04:50 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUsercDisallowAbac] : Method [GET] 2019-03-22 07:04:50 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUsercDisallowAbac] : Request [] 2019-03-22 07:04:50 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUsercDisallowAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic dXNlckNAZnhsYWJzLmlvOnVzZXJD]}] 2019-03-22 07:04:50 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUsercDisallowAbac] : Response [] 2019-03-22 07:04:50 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUsercDisallowAbac] : 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=[Fri, 22 Mar 2019 07:04:50 GMT]}] 2019-03-22 07:04:50 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUsercDisallowAbac] : StatusCode [401] 2019-03-22 07:04:50 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUsercDisallowAbac] : Time [846] 2019-03-22 07:04:50 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUsercDisallowAbac] : Size [0] 2019-03-22 07:04:50 INFO [ApiV1PrimaryAccountPrimaryAccountIdGetUseraCreatePrimaryaccountUsercDisallowAbac] : Assertion [@StatusCode == 401 OR @StatusCode == 403 OR @Response.errors == true] resolved-to [401 == 401 OR 401 == 403 OR == true] result [Passed] 2019-03-22 07:04:51 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdDeletePrimaryaccountAbstractAbac] : URL [http://54.215.136.217/api/v1/primary-account/primary-account/] 2019-03-22 07:04:51 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdDeletePrimaryaccountAbstractAbac] : Method [DELETE] 2019-03-22 07:04:51 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdDeletePrimaryaccountAbstractAbac] : Request [null] 2019-03-22 07:04:51 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdDeletePrimaryaccountAbstractAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic dXNlckFAZnhsYWJzLmlvOnVzZXJB]}] 2019-03-22 07:04:51 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdDeletePrimaryaccountAbstractAbac] : Response [] 2019-03-22 07:04:51 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=[Fri, 22 Mar 2019 07:04:51 GMT]}] 2019-03-22 07:04:51 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdDeletePrimaryaccountAbstractAbac] : StatusCode [401] 2019-03-22 07:04:51 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdDeletePrimaryaccountAbstractAbac] : Time [658] 2019-03-22 07:04:51 DEBUG [ApiV1PrimaryAccountPrimaryAccountIdDeletePrimaryaccountAbstractAbac] : Size [0] 2019-03-22 07:04:51 ERROR [null] : Assertion [@StatusCode == 200] resolved-to [401 == 200] result [Failed]

--- FX Bot ---