Open sohail1024 opened 5 years ago
Project : TestingBanking1
Template : ApiV1PrimaryTransactionPutRoleUserDisallowedRbac
Run Id : 8a80803a696c49460169705d7a5d5bf9
Job : Default
Env : Default
Category : RBAC
Tags : [OWASP - OTG-IDENT-001 , FX Top 10 - API Vulnerability, Endpoint_Access_Control]
Severity : Major
Region : US_WEST_2
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], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 12 Mar 2019 05:26:12 GMT]}
Endpoint : http://54.215.136.217/api/v1/primary-transaction
Request :
{
"amount" : "9644",
"availableBalance" : "518937614",
"createdBy" : "",
"createdDate" : "",
"description" : "gfNSL5VW",
"id" : "",
"inactive" : false,
"modifiedBy" : "",
"modifiedDate" : "",
"status" : "gfNSL5VW",
"type" : "gfNSL5VW",
"user" : {
"createdBy" : "",
"createdDate" : "",
"id" : "",
"inactive" : false,
"modifiedBy" : "",
"modifiedDate" : "",
"name" : "gfNSL5VW",
"version" : ""
},
"version" : ""
}
Response :
{
"requestId" : "None",
"requestTime" : "2019-03-12T05:26:12.313+0000",
"errors" : true,
"messages" : [ {
"type" : "ERROR",
"key" : "",
"value" : null
} ],
"data" : null,
"totalPages" : 0,
"totalElements" : 0
}
Logs :
2019-03-12 05:26:12 DEBUG [ApiV1PrimaryTransactionPutRoleUserDisallowedRbac] : URL [http://54.215.136.217/api/v1/primary-transaction]
2019-03-12 05:26:12 DEBUG [ApiV1PrimaryTransactionPutRoleUserDisallowedRbac] : Method [PUT]
2019-03-12 05:26:12 DEBUG [ApiV1PrimaryTransactionPutRoleUserDisallowedRbac] : Request [{
"amount" : "9644",
"availableBalance" : "518937614",
"createdBy" : "",
"createdDate" : "",
"description" : "gfNSL5VW",
"id" : "",
"inactive" : false,
"modifiedBy" : "",
"modifiedDate" : "",
"status" : "gfNSL5VW",
"type" : "gfNSL5VW",
"user" : {
"createdBy" : "",
"createdDate" : "",
"id" : "",
"inactive" : false,
"modifiedBy" : "",
"modifiedDate" : "",
"name" : "gfNSL5VW",
"version" : ""
},
"version" : ""
}]
2019-03-12 05:26:12 DEBUG [ApiV1PrimaryTransactionPutRoleUserDisallowedRbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}]
2019-03-12 05:26:12 DEBUG [ApiV1PrimaryTransactionPutRoleUserDisallowedRbac] : Response [{
"requestId" : "None",
"requestTime" : "2019-03-12T05:26:12.313+0000",
"errors" : true,
"messages" : [ {
"type" : "ERROR",
"key" : "",
"value" : null
} ],
"data" : null,
"totalPages" : 0,
"totalElements" : 0
}]
2019-03-12 05:26:12 DEBUG [ApiV1PrimaryTransactionPutRoleUserDisallowedRbac] : 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], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 12 Mar 2019 05:26:12 GMT]}]
2019-03-12 05:26:12 DEBUG [ApiV1PrimaryTransactionPutRoleUserDisallowedRbac] : StatusCode [200]
2019-03-12 05:26:12 DEBUG [ApiV1PrimaryTransactionPutRoleUserDisallowedRbac] : Time [87]
2019-03-12 05:26:12 DEBUG [ApiV1PrimaryTransactionPutRoleUserDisallowedRbac] : Size [176]
2019-03-12 05:26:12 ERROR [ApiV1PrimaryTransactionPutRoleUserDisallowedRbac] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed]
--- FX Bot ---
Project : TestingBanking1
Template : ApiV1PrimaryTransactionPutRoleUserDisallowedRbac
Run Id : 8a8080f6695ba6ee01695ccd7a5903e1
Job : Default
Env : Default
Category : null
Tags : null
Severity : null
Region : US_WEST_2
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], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Fri, 08 Mar 2019 10:16:12 GMT]}
Endpoint : http://54.215.136.217/api/v1/primary-transaction
Request :
{ "amount" : "5270", "availableBalance" : "459580827", "createdBy" : "", "createdDate" : "", "description" : "yOb4RYNR", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "status" : "yOb4RYNR", "type" : "yOb4RYNR", "user" : { "createdBy" : "", "createdDate" : "", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "yOb4RYNR", "version" : "" }, "version" : "" }
Response :
{ "requestId" : "None", "requestTime" : "2019-03-08T10:16:12.298+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : null } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }
Logs :
Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed] --- FX Bot ---