Open asriz7777 opened 5 years ago
Project : FXABAC TEST
Template : ApiV1AbacProjectProjectidAddAbac2positiveRulesGetUseraCreateAbacresourceUserbDisallowAbac
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=OGQ2MDQ5N2YtMmVhYS00ODA3LTlhNDAtMzNjZDEyYzczYzFk; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:10:43 GMT]}
Endpoint : http://13.56.210.25/api/v1/abac/project/None/add-abac2positive-rules
Request :
Response :
{
"requestId" : "None",
"requestTime" : "2019-03-18T08:10:43.910+0000",
"errors" : true,
"messages" : [ {
"type" : "ERROR",
"key" : null,
"value" : "No Resources found."
} ],
"data" : null,
"totalPages" : 0,
"totalElements" : 0
}
Logs :
2019-03-18 08:10:43 DEBUG [AbacResourceCreateUserAInitAbac] : URL [http://13.56.210.25/api/v1/abac]
2019-03-18 08:10:43 DEBUG [AbacResourceCreateUserAInitAbac] : Method [POST]
2019-03-18 08:10:43 DEBUG [AbacResourceCreateUserAInitAbac] : Request [{
"createBody" : "EBiIfvgf",
"createEndpoint" : "EBiIfvgf",
"createUserAuth" : "EBiIfvgf",
"createdBy" : "",
"createdDate" : "",
"deleteEndpoint" : "EBiIfvgf",
"enumValues" : "EBiIfvgf",
"generatorId" : "EBiIfvgf",
"id" : "",
"inactive" : false,
"initScriptName" : "EBiIfvgf",
"lock" : false,
"modifiedBy" : "",
"modifiedDate" : "",
"resourceName" : "EBiIfvgf",
"scripts" : [ {
"body" : "EBiIfvgf",
"deleteEndPoint" : "EBiIfvgf",
"endpoint" : "EBiIfvgf",
"resourceName" : "EBiIfvgf",
"scriptName" : "EBiIfvgf",
"scriptType" : "EBiIfvgf",
"sequence" : "305723499",
"userAuth" : "EBiIfvgf",
"validationScript" : false
} ],
"typeThreeCreateEndpoint" : "EBiIfvgf",
"validations" : [ {
"body" : "EBiIfvgf",
"endpoint" : "EBiIfvgf",
"inactive" : false,
"lock" : false,
"path" : "EBiIfvgf",
"userAuth" : "EBiIfvgf",
"validationType" : "EBiIfvgf"
} ],
"version" : ""
}]
2019-03-18 08:10:43 DEBUG [AbacResourceCreateUserAInitAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}]
2019-03-18 08:10:43 DEBUG [AbacResourceCreateUserAInitAbac] : Response [{
"requestId" : "None",
"requestTime" : "2019-03-18T08:10:43.239+0000",
"errors" : true,
"messages" : [ {
"type" : "ERROR",
"key" : "",
"value" : "Resource name or key already exists."
} ],
"data" : null,
"totalPages" : 0,
"totalElements" : 0
}]
2019-03-18 08:10:43 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=OWJiNDNhZWItZmM2MC00N2Q3LTg4MmMtZjE3MjA1ZTJmNjFh; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:10:42 GMT]}]
2019-03-18 08:10:43 DEBUG [AbacResourceCreateUserAInitAbac] : StatusCode [200]
2019-03-18 08:10:43 DEBUG [AbacResourceCreateUserAInitAbac] : Time [949]
2019-03-18 08:10:43 DEBUG [AbacResourceCreateUserAInitAbac] : Size [210]
2019-03-18 08:10:43 ERROR [null] : Assertion [@StatusCode == 200 AND @Response.errors == false] resolved-to [200 == 200 AND true == false] result [Failed]
2019-03-18 08:10:43 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=OWJiNDNhZWItZmM2MC00N2Q3LTg4MmMtZjE3MjA1ZTJmNjFh; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:10:42 GMT]}]
2019-03-18 08:10:43 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=OWJiNDNhZWItZmM2MC00N2Q3LTg4MmMtZjE3MjA1ZTJmNjFh; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:10:42 GMT]}]
2019-03-18 08:10:43 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=OWJiNDNhZWItZmM2MC00N2Q3LTg4MmMtZjE3MjA1ZTJmNjFh; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:10:42 GMT]}]
2019-03-18 08:10:43 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=OWJiNDNhZWItZmM2MC00N2Q3LTg4MmMtZjE3MjA1ZTJmNjFh; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:10:42 GMT]}]
2019-03-18 08:10:43 DEBUG [ApiV1AbacProjectProjectidAddAbac2positiveRulesGetUseraCreateAbacresourceUserbDisallowAbac] : URL [http://13.56.210.25/api/v1/abac/project/None/add-abac2positive-rules]
2019-03-18 08:10:43 DEBUG [ApiV1AbacProjectProjectidAddAbac2positiveRulesGetUseraCreateAbacresourceUserbDisallowAbac] : Method [GET]
2019-03-18 08:10:43 DEBUG [ApiV1AbacProjectProjectidAddAbac2positiveRulesGetUseraCreateAbacresourceUserbDisallowAbac] : Request []
2019-03-18 08:10:43 DEBUG [ApiV1AbacProjectProjectidAddAbac2positiveRulesGetUseraCreateAbacresourceUserbDisallowAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic T1JHQi8vdXNlckJAdGVzdGxhYnMuaW86b3JnMTIzNCQ=]}]
2019-03-18 08:10:43 DEBUG [ApiV1AbacProjectProjectidAddAbac2positiveRulesGetUseraCreateAbacresourceUserbDisallowAbac] : Response [{
"requestId" : "None",
"requestTime" : "2019-03-18T08:10:43.910+0000",
"errors" : true,
"messages" : [ {
"type" : "ERROR",
"key" : null,
"value" : "No Resources found."
} ],
"data" : null,
"totalPages" : 0,
"totalElements" : 0
}]
2019-03-18 08:10:43 DEBUG [ApiV1AbacProjectProjectidAddAbac2positiveRulesGetUseraCreateAbacresourceUserbDisallowAbac] : 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=OGQ2MDQ5N2YtMmVhYS00ODA3LTlhNDAtMzNjZDEyYzczYzFk; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:10:43 GMT]}]
2019-03-18 08:10:43 DEBUG [ApiV1AbacProjectProjectidAddAbac2positiveRulesGetUseraCreateAbacresourceUserbDisallowAbac] : StatusCode [200]
2019-03-18 08:10:43 DEBUG [ApiV1AbacProjectProjectidAddAbac2positiveRulesGetUseraCreateAbacresourceUserbDisallowAbac] : Time [666]
2019-03-18 08:10:43 DEBUG [ApiV1AbacProjectProjectidAddAbac2positiveRulesGetUseraCreateAbacresourceUserbDisallowAbac] : Size [195]
2019-03-18 08:10:43 INFO [ApiV1AbacProjectProjectidAddAbac2positiveRulesGetUseraCreateAbacresourceUserbDisallowAbac] : 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:10:44 DEBUG [ApiV1AbacIdDeleteAbacresourceAbstractAbac] : URL [http://13.56.210.25/api/v1/abac/]
2019-03-18 08:10:44 DEBUG [ApiV1AbacIdDeleteAbacresourceAbstractAbac] : Method [DELETE]
2019-03-18 08:10:44 DEBUG [ApiV1AbacIdDeleteAbacresourceAbstractAbac] : Request [null]
2019-03-18 08:10:44 DEBUG [ApiV1AbacIdDeleteAbacresourceAbstractAbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}]
2019-03-18 08:10:44 DEBUG [ApiV1AbacIdDeleteAbacresourceAbstractAbac] : Response [{
"timestamp" : "2019-03-18T08:10:44.913+0000",
"status" : 405,
"error" : "Method Not Allowed",
"message" : "Request method 'DELETE' not supported",
"path" : "/api/v1/abac/"
}]
2019-03-18 08:10:44 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=MWUyY2VhMTEtYTk5MC00MzAwLWI0YzktNWExMjQ5ODcwZTcx; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:10:44 GMT]}]
2019-03-18 08:10:44 DEBUG [ApiV1AbacIdDeleteAbacresourceAbstractAbac] : StatusCode [405]
2019-03-18 08:10:44 DEBUG [ApiV1AbacIdDeleteAbacresourceAbstractAbac] : Time [992]
2019-03-18 08:10:44 DEBUG [ApiV1AbacIdDeleteAbacresourceAbstractAbac] : Size [159]
2019-03-18 08:10:44 ERROR [null] : Assertion [@StatusCode == 200] resolved-to [405 == 200] result [Failed]
--- FX Bot ---
Project : FXABAC TEST
Template : ApiV1AbacProjectProjectidAddAbac2positiveRulesGetUseraCreateAbacresourceUserbDisallowAbac
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=NTA5ZDA2ZDQtOWEyNC00N2I3LWI2MzMtYjUzZWMyNThlZTVk; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Fri, 08 Mar 2019 06:59:23 GMT]}
Endpoint : http://13.56.210.25/api/v1/abac/project/None/add-abac2positive-rules
Request :
Response :
{ "requestId" : "None", "requestTime" : "2019-03-08T06:59:24.530+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 ---