asriz7777 / FXSCRIPTS-TEST-AUTOMATION

0 stars 1 forks source link

Vulnerability [null] : DELETE:/api/v1/abac/{id} #78

Open asriz7777 opened 5 years ago

asriz7777 commented 5 years ago

Project : FXABAC TEST

Template : ApiV1AbacIdDeleteUseraCreateAbacresourceUsercDisallowAbac

Run Id : 8a8080f6695ba6ee01695c1932e37290

Job : Default

Env : Default

Category : null

Tags : null

Severity : null

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 405

Headers : {Allow=[GET, PUT, POST], 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], Set-Cookie=[SESSION=ODJjNGU1NDEtOTYzMy00ZjA0LThkOGMtYjY4NGQ1YTNmNjI1; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Fri, 08 Mar 2019 06:59:13 GMT]}

Endpoint : http://13.56.210.25/api/v1/abac/

Request :

Response :
{ "timestamp" : "2019-03-08T06:59:14.141+0000", "status" : 405, "error" : "Method Not Allowed", "message" : "Request method 'DELETE' not supported", "path" : "/api/v1/abac/" }

Logs :
Assertion [@StatusCode == 401 OR @StatusCode == 403 OR @Response.errors == true] resolved-to [405 == 401 OR 405 == 403 OR == true] result [Failed] --- FX Bot ---

asriz7777 commented 5 years ago

Project : FXABAC TEST

Template : ApiV1AbacIdDeleteUseraCreateAbacresourceUsercDisallowAbac

Run Id : 8a80808d698f0d6701698fd9c69b23cb

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 : 405

Headers : {Allow=[GET, PUT, POST], 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], Set-Cookie=[SESSION=YmM1M2I4YTMtMDc1MC00NGQ0LTk2ZGMtYTA4MzI0ZDUxOTM1; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:11:34 GMT]}

Endpoint : http://13.56.210.25/api/v1/abac/

Request :

Response :
{ "timestamp" : "2019-03-18T08:11:34.348+0000", "status" : 405, "error" : "Method Not Allowed", "message" : "Request method 'DELETE' not supported", "path" : "/api/v1/abac/" }

Logs :
2019-03-18 08:11:33 DEBUG [AbacResourceCreateUserAInitAbac] : URL [http://13.56.210.25/api/v1/abac] 2019-03-18 08:11:33 DEBUG [AbacResourceCreateUserAInitAbac] : Method [POST] 2019-03-18 08:11:33 DEBUG [AbacResourceCreateUserAInitAbac] : Request [{ "createBody" : "JJEHeSjC", "createEndpoint" : "JJEHeSjC", "createUserAuth" : "JJEHeSjC", "createdBy" : "", "createdDate" : "", "deleteEndpoint" : "JJEHeSjC", "enumValues" : "JJEHeSjC", "generatorId" : "JJEHeSjC", "id" : "", "inactive" : false, "initScriptName" : "JJEHeSjC", "lock" : false, "modifiedBy" : "", "modifiedDate" : "", "resourceName" : "JJEHeSjC", "scripts" : [ { "body" : "JJEHeSjC", "deleteEndPoint" : "JJEHeSjC", "endpoint" : "JJEHeSjC", "resourceName" : "JJEHeSjC", "scriptName" : "JJEHeSjC", "scriptType" : "JJEHeSjC", "sequence" : "384586253", "userAuth" : "JJEHeSjC", "validationScript" : false } ], "typeThreeCreateEndpoint" : "JJEHeSjC", "validations" : [ { "body" : "JJEHeSjC", "endpoint" : "JJEHeSjC", "inactive" : false, "lock" : false, "path" : "JJEHeSjC", "userAuth" : "JJEHeSjC", "validationType" : "JJEHeSjC" } ], "version" : "" }] 2019-03-18 08:11:33 DEBUG [AbacResourceCreateUserAInitAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-03-18 08:11:33 DEBUG [AbacResourceCreateUserAInitAbac] : Response [{ "requestId" : "None", "requestTime" : "2019-03-18T08:11:33.227+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Resource name or key already exists." } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }] 2019-03-18 08:11:33 DEBUG [AbacResourceCreateUserAInitAbac] : 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], Set-Cookie=[SESSION=ZmVmNjQzZGMtM2U4ZS00YTUxLWJhOTctODM5ODMyYmUxNTM0; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:11:33 GMT]}] 2019-03-18 08:11:33 DEBUG [AbacResourceCreateUserAInitAbac] : StatusCode [200] 2019-03-18 08:11:33 DEBUG [AbacResourceCreateUserAInitAbac] : Time [1401] 2019-03-18 08:11:33 DEBUG [AbacResourceCreateUserAInitAbac] : Size [210] 2019-03-18 08:11:33 ERROR [null] : Assertion [@StatusCode == 200 AND @Response.errors == false] resolved-to [200 == 200 AND true == false] result [Failed] 2019-03-18 08:11:33 DEBUG [AbacResourceCreateUserAInitAbac_Headers] : 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], Set-Cookie=[SESSION=ZmVmNjQzZGMtM2U4ZS00YTUxLWJhOTctODM5ODMyYmUxNTM0; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:11:33 GMT]}] 2019-03-18 08:11:33 DEBUG [AbacResourceCreateUserAInitAbac_Headers] : 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], Set-Cookie=[SESSION=ZmVmNjQzZGMtM2U4ZS00YTUxLWJhOTctODM5ODMyYmUxNTM0; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:11:33 GMT]}] 2019-03-18 08:11:33 DEBUG [AbacResourceCreateUserAInitAbac_Headers[2]] : 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], Set-Cookie=[SESSION=ZmVmNjQzZGMtM2U4ZS00YTUxLWJhOTctODM5ODMyYmUxNTM0; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:11:33 GMT]}] 2019-03-18 08:11:33 DEBUG [AbacResourceCreateUserAInitAbac_Headers[2]] : 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], Set-Cookie=[SESSION=ZmVmNjQzZGMtM2U4ZS00YTUxLWJhOTctODM5ODMyYmUxNTM0; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:11:33 GMT]}] 2019-03-18 08:11:34 DEBUG [ApiV1AbacIdDeleteUseraCreateAbacresourceUsercDisallowAbac] : URL [http://13.56.210.25/api/v1/abac/] 2019-03-18 08:11:34 DEBUG [ApiV1AbacIdDeleteUseraCreateAbacresourceUsercDisallowAbac] : Method [DELETE] 2019-03-18 08:11:34 DEBUG [ApiV1AbacIdDeleteUseraCreateAbacresourceUsercDisallowAbac] : Request [] 2019-03-18 08:11:34 DEBUG [ApiV1AbacIdDeleteUseraCreateAbacresourceUsercDisallowAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic T1JHQy8vdXNlckNAbWV0bGFicy5pbzpvcmcxMjM0JA==]}] 2019-03-18 08:11:34 DEBUG [ApiV1AbacIdDeleteUseraCreateAbacresourceUsercDisallowAbac] : Response [{ "timestamp" : "2019-03-18T08:11:34.348+0000", "status" : 405, "error" : "Method Not Allowed", "message" : "Request method 'DELETE' not supported", "path" : "/api/v1/abac/" }] 2019-03-18 08:11:34 DEBUG [ApiV1AbacIdDeleteUseraCreateAbacresourceUsercDisallowAbac] : Response-Headers [{Allow=[GET, PUT, POST], 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], Set-Cookie=[SESSION=YmM1M2I4YTMtMDc1MC00NGQ0LTk2ZGMtYTA4MzI0ZDUxOTM1; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:11:34 GMT]}] 2019-03-18 08:11:34 DEBUG [ApiV1AbacIdDeleteUseraCreateAbacresourceUsercDisallowAbac] : StatusCode [405] 2019-03-18 08:11:34 DEBUG [ApiV1AbacIdDeleteUseraCreateAbacresourceUsercDisallowAbac] : Time [1108] 2019-03-18 08:11:34 DEBUG [ApiV1AbacIdDeleteUseraCreateAbacresourceUsercDisallowAbac] : Size [159] 2019-03-18 08:11:34 ERROR [ApiV1AbacIdDeleteUseraCreateAbacresourceUsercDisallowAbac] : Assertion [@StatusCode == 401 OR @StatusCode == 403 OR @Response.errors == true] resolved-to [405 == 401 OR 405 == 403 OR == true] result [Failed] 2019-03-18 08:11:35 DEBUG [ApiV1AbacIdDeleteAbacresourceAbstractAbac] : URL [http://13.56.210.25/api/v1/abac/] 2019-03-18 08:11:35 DEBUG [ApiV1AbacIdDeleteAbacresourceAbstractAbac] : Method [DELETE] 2019-03-18 08:11:35 DEBUG [ApiV1AbacIdDeleteAbacresourceAbstractAbac] : Request [null] 2019-03-18 08:11:35 DEBUG [ApiV1AbacIdDeleteAbacresourceAbstractAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-03-18 08:11:35 DEBUG [ApiV1AbacIdDeleteAbacresourceAbstractAbac] : Response [{ "timestamp" : "2019-03-18T08:11:35.585+0000", "status" : 405, "error" : "Method Not Allowed", "message" : "Request method 'DELETE' not supported", "path" : "/api/v1/abac/" }] 2019-03-18 08:11:35 DEBUG [ApiV1AbacIdDeleteAbacresourceAbstractAbac] : Response-Headers [{Allow=[GET, PUT, POST], 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], Set-Cookie=[SESSION=MzBhYjU3ZGUtOWU4My00NGVjLTg4YWYtMmUzOWYyM2U1OTYy; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:11:35 GMT]}] 2019-03-18 08:11:35 DEBUG [ApiV1AbacIdDeleteAbacresourceAbstractAbac] : StatusCode [405] 2019-03-18 08:11:35 DEBUG [ApiV1AbacIdDeleteAbacresourceAbstractAbac] : Time [1234] 2019-03-18 08:11:35 DEBUG [ApiV1AbacIdDeleteAbacresourceAbstractAbac] : Size [159] 2019-03-18 08:11:35 ERROR [null] : Assertion [@StatusCode == 200] resolved-to [405 == 200] result [Failed]

--- FX Bot ---