Open asriz7777 opened 5 years ago
Project : FXABAC TEST
Template : ApiV1AbacProjectProjectidAddAbact3RulesGetUseraCreateArrayabacresourceUserbDisallowAbac
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 : 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], Set-Cookie=[SESSION=OWJjNTUwNmQtZWFhMi00ZWZmLWI2ZTYtNmQ1ZWYxYzljZTI1; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:11:30 GMT]}
Endpoint : http://13.56.210.25/api/v1/abac/project/None/add-abact3-rules
Request :
Response :
{
"requestId" : "None",
"requestTime" : "2019-03-18T08:11:30.693+0000",
"errors" : true,
"messages" : [ {
"type" : "ERROR",
"key" : null,
"value" : "No Resources found."
} ],
"data" : null,
"totalPages" : 0,
"totalElements" : 0
}
Logs :
2019-03-18 08:11:29 DEBUG [ArrayAbacResourceCreateUserAInitAbac] : URL [http://13.56.210.25/api/v1/abac/batch]
2019-03-18 08:11:29 DEBUG [ArrayAbacResourceCreateUserAInitAbac] : Method [POST]
2019-03-18 08:11:29 DEBUG [ArrayAbacResourceCreateUserAInitAbac] : Request [[ {
"createBody" : "Vtq6MRWH",
"createEndpoint" : "Vtq6MRWH",
"createUserAuth" : "Vtq6MRWH",
"createdBy" : "",
"createdDate" : "",
"deleteEndpoint" : "Vtq6MRWH",
"enumValues" : "Vtq6MRWH",
"generatorId" : "Vtq6MRWH",
"id" : "",
"inactive" : false,
"initScriptName" : "Vtq6MRWH",
"lock" : false,
"modifiedBy" : "",
"modifiedDate" : "",
"resourceName" : "Vtq6MRWH",
"scripts" : [ {
"body" : "Vtq6MRWH",
"deleteEndPoint" : "Vtq6MRWH",
"endpoint" : "Vtq6MRWH",
"resourceName" : "Vtq6MRWH",
"scriptName" : "Vtq6MRWH",
"scriptType" : "Vtq6MRWH",
"sequence" : "918916847",
"userAuth" : "Vtq6MRWH",
"validationScript" : false
} ],
"typeThreeCreateEndpoint" : "Vtq6MRWH",
"validations" : [ {
"body" : "Vtq6MRWH",
"endpoint" : "Vtq6MRWH",
"inactive" : false,
"lock" : false,
"path" : "Vtq6MRWH",
"userAuth" : "Vtq6MRWH",
"validationType" : "Vtq6MRWH"
} ],
"version" : ""
} ]]
2019-03-18 08:11:29 DEBUG [ArrayAbacResourceCreateUserAInitAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}]
2019-03-18 08:11:29 DEBUG [ArrayAbacResourceCreateUserAInitAbac] : Response [{
"requestId" : "None",
"requestTime" : "2019-03-18T08:11:29.888+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:29 DEBUG [ArrayAbacResourceCreateUserAInitAbac] : 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=ZmY5ZmZlMmEtMWI1Yi00NDQ5LTkxNzItY2FmMTBmYzcwYmUz; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:11:29 GMT]}]
2019-03-18 08:11:29 DEBUG [ArrayAbacResourceCreateUserAInitAbac] : StatusCode [200]
2019-03-18 08:11:29 DEBUG [ArrayAbacResourceCreateUserAInitAbac] : Time [1020]
2019-03-18 08:11:29 DEBUG [ArrayAbacResourceCreateUserAInitAbac] : Size [210]
2019-03-18 08:11:29 ERROR [null] : Assertion [@StatusCode == 200 AND @Response.errors == false] resolved-to [200 == 200 AND true == false] result [Failed]
2019-03-18 08:11:29 DEBUG [ArrayAbacResourceCreateUserAInitAbac_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=ZmY5ZmZlMmEtMWI1Yi00NDQ5LTkxNzItY2FmMTBmYzcwYmUz; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:11:29 GMT]}]
2019-03-18 08:11:29 DEBUG [ArrayAbacResourceCreateUserAInitAbac_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=ZmY5ZmZlMmEtMWI1Yi00NDQ5LTkxNzItY2FmMTBmYzcwYmUz; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:11:29 GMT]}]
2019-03-18 08:11:29 DEBUG [ArrayAbacResourceCreateUserAInitAbac_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=ZmY5ZmZlMmEtMWI1Yi00NDQ5LTkxNzItY2FmMTBmYzcwYmUz; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:11:29 GMT]}]
2019-03-18 08:11:29 DEBUG [ArrayAbacResourceCreateUserAInitAbac_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=ZmY5ZmZlMmEtMWI1Yi00NDQ5LTkxNzItY2FmMTBmYzcwYmUz; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:11:29 GMT]}]
2019-03-18 08:11:30 DEBUG [ApiV1AbacProjectProjectidAddAbact3RulesGetUseraCreateArrayabacresourceUserbDisallowAbac] : URL [http://13.56.210.25/api/v1/abac/project/None/add-abact3-rules]
2019-03-18 08:11:30 DEBUG [ApiV1AbacProjectProjectidAddAbact3RulesGetUseraCreateArrayabacresourceUserbDisallowAbac] : Method [GET]
2019-03-18 08:11:30 DEBUG [ApiV1AbacProjectProjectidAddAbact3RulesGetUseraCreateArrayabacresourceUserbDisallowAbac] : Request []
2019-03-18 08:11:30 DEBUG [ApiV1AbacProjectProjectidAddAbact3RulesGetUseraCreateArrayabacresourceUserbDisallowAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic T1JHQi8vdXNlckJAdGVzdGxhYnMuaW86b3JnMTIzNCQ=]}]
2019-03-18 08:11:30 DEBUG [ApiV1AbacProjectProjectidAddAbact3RulesGetUseraCreateArrayabacresourceUserbDisallowAbac] : Response [{
"requestId" : "None",
"requestTime" : "2019-03-18T08:11:30.693+0000",
"errors" : true,
"messages" : [ {
"type" : "ERROR",
"key" : null,
"value" : "No Resources found."
} ],
"data" : null,
"totalPages" : 0,
"totalElements" : 0
}]
2019-03-18 08:11:30 DEBUG [ApiV1AbacProjectProjectidAddAbact3RulesGetUseraCreateArrayabacresourceUserbDisallowAbac] : 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=OWJjNTUwNmQtZWFhMi00ZWZmLWI2ZTYtNmQ1ZWYxYzljZTI1; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:11:30 GMT]}]
2019-03-18 08:11:30 DEBUG [ApiV1AbacProjectProjectidAddAbact3RulesGetUseraCreateArrayabacresourceUserbDisallowAbac] : StatusCode [200]
2019-03-18 08:11:30 DEBUG [ApiV1AbacProjectProjectidAddAbact3RulesGetUseraCreateArrayabacresourceUserbDisallowAbac] : Time [802]
2019-03-18 08:11:30 DEBUG [ApiV1AbacProjectProjectidAddAbact3RulesGetUseraCreateArrayabacresourceUserbDisallowAbac] : Size [195]
2019-03-18 08:11:30 INFO [ApiV1AbacProjectProjectidAddAbact3RulesGetUseraCreateArrayabacresourceUserbDisallowAbac] : Assertion [@StatusCode == 401 OR @StatusCode == 403 OR @Response.errors == true] resolved-to [200 == 401 OR 200 == 403 OR true == true] result [Passed]
2019-03-18 08:11:31 DEBUG [ApiV1AbacIdDeleteArrayabacresourceAbstractAbac] : URL [http://13.56.210.25/api/v1/abac/]
2019-03-18 08:11:31 DEBUG [ApiV1AbacIdDeleteArrayabacresourceAbstractAbac] : Method [DELETE]
2019-03-18 08:11:31 DEBUG [ApiV1AbacIdDeleteArrayabacresourceAbstractAbac] : Request [null]
2019-03-18 08:11:31 DEBUG [ApiV1AbacIdDeleteArrayabacresourceAbstractAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}]
2019-03-18 08:11:31 DEBUG [ApiV1AbacIdDeleteArrayabacresourceAbstractAbac] : Response [{
"timestamp" : "2019-03-18T08:11:31.834+0000",
"status" : 405,
"error" : "Method Not Allowed",
"message" : "Request method 'DELETE' not supported",
"path" : "/api/v1/abac/"
}]
2019-03-18 08:11:31 DEBUG [ApiV1AbacIdDeleteArrayabacresourceAbstractAbac] : 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=YmM5YWE4MTktODYyZS00NWRkLWE0MGItNmNmODBmNDgwMzcz; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:11:31 GMT]}]
2019-03-18 08:11:31 DEBUG [ApiV1AbacIdDeleteArrayabacresourceAbstractAbac] : StatusCode [405]
2019-03-18 08:11:31 DEBUG [ApiV1AbacIdDeleteArrayabacresourceAbstractAbac] : Time [1126]
2019-03-18 08:11:31 DEBUG [ApiV1AbacIdDeleteArrayabacresourceAbstractAbac] : Size [159]
2019-03-18 08:11:31 ERROR [null] : Assertion [@StatusCode == 200] resolved-to [405 == 200] result [Failed]
--- FX Bot ---
Project : FXABAC TEST
Template : ApiV1AbacProjectProjectidAddAbact3RulesGetUseraCreateArrayabacresourceUserbDisallowAbac
Run Id : 8a8080f6695ba6ee01695c1932e37290
Job : Default
Env : Default
Category : null
Tags : null
Severity : null
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], Set-Cookie=[SESSION=MTJkMWU4OWItYzczOS00YzgzLThhNjAtYzM3N2M5NTZhZjg4; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Fri, 08 Mar 2019 06:59:19 GMT]}
Endpoint : http://13.56.210.25/api/v1/abac/project/None/add-abact3-rules
Request :
Response :
{ "requestId" : "None", "requestTime" : "2019-03-08T06:59:19.358+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : null, "value" : "No Resources found." } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }
Logs :
Assertion [@StatusCode == 401 OR @StatusCode == 403 OR @Response.errors == true] resolved-to [200 == 401 OR 200 == 403 OR true == true] result [Passed] --- FX Bot ---