sohail1024 / testing1

0 stars 0 forks source link

Vulnerability [ABAC_Level1] : GET:/api/v1/orgs/{id} #150

Open intesar opened 5 years ago

intesar commented 5 years ago

Project : TestingBanking1

Template : ApiV1OrgsIdGetUseraCreateOrgUsercDisallowAbac

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:48 GMT]}

Endpoint : http://54.215.136.217/api/v1/orgs/

Request :

Response :

Logs :
2019-03-22 07:04:48 DEBUG [ OrgCreateUserAInitAbac] : URL [http://54.215.136.217/api/v1/orgs] 2019-03-22 07:04:48 DEBUG [ OrgCreateUserAInitAbac] : Method [POST] 2019-03-22 07:04:48 DEBUG [ OrgCreateUserAInitAbac] : Request [{ "billingEmail" : "jennings.mosciski@yahoo.com", "company" : "Schroeder-Schroeder", "createdBy" : "", "createdDate" : "", "description" : "OyiwkgNY", "id" : "", "inactive" : false, "location" : "OyiwkgNY", "modifiedBy" : "", "modifiedDate" : "", "name" : "OyiwkgNY", "orgPlan" : "TEAM", "orgType" : "ENTERPRISE", "version" : "" }] 2019-03-22 07:04:48 DEBUG [ OrgCreateUserAInitAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic dXNlckFAZnhsYWJzLmlvOnVzZXJB]}] 2019-03-22 07:04:48 DEBUG [ OrgCreateUserAInitAbac] : Response [] 2019-03-22 07:04:48 DEBUG [ OrgCreateUserAInitAbac] : 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:47 GMT]}] 2019-03-22 07:04:48 DEBUG [ OrgCreateUserAInitAbac] : StatusCode [401] 2019-03-22 07:04:48 DEBUG [ OrgCreateUserAInitAbac] : Time [984] 2019-03-22 07:04:48 DEBUG [ OrgCreateUserAInitAbac] : Size [0] 2019-03-22 07:04:48 ERROR [null] : Assertion [@StatusCode == 200 AND @Response.errors == false] resolved-to [401 == 200 AND == false] result [Failed] 2019-03-22 07:04:48 DEBUG [OrgCreateUserAInitAbac_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:47 GMT]}] 2019-03-22 07:04:48 DEBUG [OrgCreateUserAInitAbac_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:47 GMT]}] 2019-03-22 07:04:48 DEBUG [OrgCreateUserAInitAbac_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:47 GMT]}] 2019-03-22 07:04:48 DEBUG [OrgCreateUserAInitAbac_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:47 GMT]}] 2019-03-22 07:04:49 DEBUG [ApiV1OrgsIdGetUseraCreateOrgUsercDisallowAbac] : URL [http://54.215.136.217/api/v1/orgs/] 2019-03-22 07:04:49 DEBUG [ApiV1OrgsIdGetUseraCreateOrgUsercDisallowAbac] : Method [GET] 2019-03-22 07:04:49 DEBUG [ApiV1OrgsIdGetUseraCreateOrgUsercDisallowAbac] : Request [] 2019-03-22 07:04:49 DEBUG [ApiV1OrgsIdGetUseraCreateOrgUsercDisallowAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic dXNlckNAZnhsYWJzLmlvOnVzZXJD]}] 2019-03-22 07:04:49 DEBUG [ApiV1OrgsIdGetUseraCreateOrgUsercDisallowAbac] : Response [] 2019-03-22 07:04:49 DEBUG [ApiV1OrgsIdGetUseraCreateOrgUsercDisallowAbac] : 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 [ApiV1OrgsIdGetUseraCreateOrgUsercDisallowAbac] : StatusCode [401] 2019-03-22 07:04:49 DEBUG [ApiV1OrgsIdGetUseraCreateOrgUsercDisallowAbac] : Time [941] 2019-03-22 07:04:49 DEBUG [ApiV1OrgsIdGetUseraCreateOrgUsercDisallowAbac] : Size [0] 2019-03-22 07:04:49 INFO [ApiV1OrgsIdGetUseraCreateOrgUsercDisallowAbac] : 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:49 DEBUG [ApiV1OrgsIdDeleteOrgAbstractAbac] : URL [http://54.215.136.217/api/v1/orgs/] 2019-03-22 07:04:49 DEBUG [ApiV1OrgsIdDeleteOrgAbstractAbac] : Method [DELETE] 2019-03-22 07:04:49 DEBUG [ApiV1OrgsIdDeleteOrgAbstractAbac] : Request [null] 2019-03-22 07:04:49 DEBUG [ApiV1OrgsIdDeleteOrgAbstractAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic dXNlckFAZnhsYWJzLmlvOnVzZXJB]}] 2019-03-22 07:04:49 DEBUG [ApiV1OrgsIdDeleteOrgAbstractAbac] : Response [] 2019-03-22 07:04:49 DEBUG [ApiV1OrgsIdDeleteOrgAbstractAbac] : 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 [ApiV1OrgsIdDeleteOrgAbstractAbac] : StatusCode [401] 2019-03-22 07:04:49 DEBUG [ApiV1OrgsIdDeleteOrgAbstractAbac] : Time [911] 2019-03-22 07:04:49 DEBUG [ApiV1OrgsIdDeleteOrgAbstractAbac] : Size [0] 2019-03-22 07:04:49 ERROR [null] : Assertion [@StatusCode == 200] resolved-to [401 == 200] result [Failed]

--- FX Bot ---