Open asriz7777 opened 5 years ago
Project : FXABAC TEST
Template : ApiV1DataRecordsPostDatarecorduserbDisallowHijack1
Run Id : 8a808011699a990101699ab3901a2277
Job : Default
Env : Default
Category : Hijack_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=ZTZjODBhODgtZGRjZS00ODdhLTkyYjQtMmFhMDlkMDMwZGNj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:45:13 GMT]}
Endpoint : http://13.56.210.25/api/v1/data-records
Request :
{
"createdBy" : "",
"createdDate" : "",
"dataSet" : "M1xaLvsL",
"id" : "8a808003699a9ebf01699ab477cb06a6",
"inactive" : false,
"modifiedBy" : "",
"modifiedDate" : "",
"record" : "M1xaLvsL",
"version" : ""
}
Response :
{
"requestId" : "None",
"requestTime" : "2019-03-20T10:45:13.614+0000",
"errors" : false,
"messages" : [ ],
"data" : {
"id" : "8a808003699a9ebf01699ab477cb06a6",
"createdBy" : null,
"createdDate" : null,
"modifiedBy" : null,
"modifiedDate" : null,
"version" : null,
"inactive" : false,
"record" : "M1xaLvsL",
"dataSet" : "M1xaLvsL"
},
"totalPages" : 0,
"totalElements" : 0
}
Logs :
2019-03-20 10:45:12 DEBUG [DataRecordCreateUserBInitHijack1] : URL [http://13.56.210.25/api/v1/data-records]
2019-03-20 10:45:12 DEBUG [DataRecordCreateUserBInitHijack1] : Method [POST]
2019-03-20 10:45:12 DEBUG [DataRecordCreateUserBInitHijack1] : Request [{
"createdBy" : "",
"createdDate" : "",
"dataSet" : "R6lXWbKh",
"id" : "",
"inactive" : false,
"modifiedBy" : "",
"modifiedDate" : "",
"record" : "R6lXWbKh",
"version" : ""
}]
2019-03-20 10:45:12 DEBUG [DataRecordCreateUserBInitHijack1] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic T1JHQi8vdXNlckJAdGVzdGxhYnMuaW86b3JnMTIzNCQ=]}]
2019-03-20 10:45:12 DEBUG [DataRecordCreateUserBInitHijack1] : Response [{
"requestId" : "None",
"requestTime" : "2019-03-20T10:45:12.285+0000",
"errors" : false,
"messages" : [ ],
"data" : {
"id" : "8a808003699a9ebf01699ab477cb06a6",
"createdBy" : null,
"createdDate" : null,
"modifiedBy" : null,
"modifiedDate" : null,
"version" : null,
"inactive" : false,
"record" : "R6lXWbKh",
"dataSet" : "R6lXWbKh"
},
"totalPages" : 0,
"totalElements" : 0
}]
2019-03-20 10:45:12 DEBUG [DataRecordCreateUserBInitHijack1] : 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=OGE5ZjhkZTQtYjcyNy00NmVmLWJjYTktZDA2N2RhYjFjMzQ0; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:45:12 GMT]}]
2019-03-20 10:45:12 DEBUG [DataRecordCreateUserBInitHijack1] : StatusCode [200]
2019-03-20 10:45:12 DEBUG [DataRecordCreateUserBInitHijack1] : Time [1642]
2019-03-20 10:45:12 DEBUG [DataRecordCreateUserBInitHijack1] : Size [323]
2019-03-20 10:45:12 INFO [null] : Assertion [@StatusCode == 200 OR @StatusCode == 201] resolved-to [200 == 200 OR 200 == 201] result [Passed]
2019-03-20 10:45:12 DEBUG [DataRecordCreateUserBInitHijack1_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=OGE5ZjhkZTQtYjcyNy00NmVmLWJjYTktZDA2N2RhYjFjMzQ0; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:45:12 GMT]}]
2019-03-20 10:45:12 DEBUG [DataRecordCreateUserBInitHijack1_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=OGE5ZjhkZTQtYjcyNy00NmVmLWJjYTktZDA2N2RhYjFjMzQ0; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:45:12 GMT]}]
2019-03-20 10:45:12 DEBUG [DataRecordCreateUserBInitHijack1_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=OGE5ZjhkZTQtYjcyNy00NmVmLWJjYTktZDA2N2RhYjFjMzQ0; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:45:12 GMT]}]
2019-03-20 10:45:12 DEBUG [DataRecordCreateUserBInitHijack1_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=OGE5ZjhkZTQtYjcyNy00NmVmLWJjYTktZDA2N2RhYjFjMzQ0; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:45:12 GMT]}]
2019-03-20 10:45:13 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : URL [http://13.56.210.25/api/v1/data-records]
2019-03-20 10:45:13 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Method [POST]
2019-03-20 10:45:13 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Request [{
"createdBy" : "",
"createdDate" : "",
"dataSet" : "M1xaLvsL",
"id" : "8a808003699a9ebf01699ab477cb06a6",
"inactive" : false,
"modifiedBy" : "",
"modifiedDate" : "",
"record" : "M1xaLvsL",
"version" : ""
}]
2019-03-20 10:45:13 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic T1JHQi8vdXNlckJAdGVzdGxhYnMuaW86b3JnMTIzNCQ=]}]
2019-03-20 10:45:13 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Response [{
"requestId" : "None",
"requestTime" : "2019-03-20T10:45:13.614+0000",
"errors" : false,
"messages" : [ ],
"data" : {
"id" : "8a808003699a9ebf01699ab477cb06a6",
"createdBy" : null,
"createdDate" : null,
"modifiedBy" : null,
"modifiedDate" : null,
"version" : null,
"inactive" : false,
"record" : "M1xaLvsL",
"dataSet" : "M1xaLvsL"
},
"totalPages" : 0,
"totalElements" : 0
}]
2019-03-20 10:45:13 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : 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=ZTZjODBhODgtZGRjZS00ODdhLTkyYjQtMmFhMDlkMDMwZGNj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:45:13 GMT]}]
2019-03-20 10:45:13 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : StatusCode [200]
2019-03-20 10:45:13 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Time [1261]
2019-03-20 10:45:13 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Size [323]
2019-03-20 10:45:13 ERROR [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed]
2019-03-20 10:45:15 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : URL [http://13.56.210.25/api/v1/data-records/8a808003699a9ebf01699ab477cb06a6/delete-all]
2019-03-20 10:45:15 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Method [DELETE]
2019-03-20 10:45:15 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Request [null]
2019-03-20 10:45:15 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic T1JHQi8vdXNlckJAdGVzdGxhYnMuaW86b3JnMTIzNCQ=]}]
2019-03-20 10:45:15 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Response [{
"requestId" : "None",
"requestTime" : "2019-03-20T10:45:15.499+0000",
"errors" : true,
"messages" : [ {
"type" : "ERROR",
"key" : "",
"value" : null
} ],
"data" : null,
"totalPages" : 0,
"totalElements" : 0
}]
2019-03-20 10:45:15 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : 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=MzdlNjVmZmYtMWYzNS00NzA1LWI4NjQtYzM4MzEyYjNlNzAw; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:45:15 GMT]}]
2019-03-20 10:45:15 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : StatusCode [200]
2019-03-20 10:45:15 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Time [1884]
2019-03-20 10:45:15 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Size [176]
2019-03-20 10:45:15 INFO [null] : Assertion [@StatusCode == 200] resolved-to [200 == 200] result [Passed]
--- FX Bot ---
Project : FXABAC TEST
Template : ApiV1DataRecordsPostDatarecorduserbDisallowHijack1
Run Id : 8a808011699a990101699ab3901a2277
Job : Default
Env : Default
Category : Hijack_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=ZjIyMzg1NzAtZTUwZS00MWUxLWFjZTYtMWZlMzk0MDA1NDk2; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:47:26 GMT]}
Endpoint : http://13.56.210.25/api/v1/data-records
Request :
{
"createdBy" : "",
"createdDate" : "",
"dataSet" : "nAeGZs48",
"id" : "8a808003699a9ebf01699ab6844d06bf",
"inactive" : false,
"modifiedBy" : "",
"modifiedDate" : "",
"record" : "nAeGZs48",
"version" : ""
}
Response :
{
"requestId" : "None",
"requestTime" : "2019-03-20T10:47:27.739+0000",
"errors" : false,
"messages" : [ ],
"data" : {
"id" : "8a808003699a9ebf01699ab6844d06bf",
"createdBy" : null,
"createdDate" : null,
"modifiedBy" : null,
"modifiedDate" : null,
"version" : null,
"inactive" : false,
"record" : "nAeGZs48",
"dataSet" : "nAeGZs48"
},
"totalPages" : 0,
"totalElements" : 0
}
Logs :
2019-03-20 10:47:26 DEBUG [DataRecordCreateUserBInitHijack1] : URL [http://13.56.210.25/api/v1/data-records]
2019-03-20 10:47:26 DEBUG [DataRecordCreateUserBInitHijack1] : Method [POST]
2019-03-20 10:47:26 DEBUG [DataRecordCreateUserBInitHijack1] : Request [{
"createdBy" : "",
"createdDate" : "",
"dataSet" : "e3srrpua",
"id" : "",
"inactive" : false,
"modifiedBy" : "",
"modifiedDate" : "",
"record" : "e3srrpua",
"version" : ""
}]
2019-03-20 10:47:26 DEBUG [DataRecordCreateUserBInitHijack1] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic T1JHQi8vdXNlckJAdGVzdGxhYnMuaW86b3JnMTIzNCQ=]}]
2019-03-20 10:47:26 DEBUG [DataRecordCreateUserBInitHijack1] : Response [{
"requestId" : "None",
"requestTime" : "2019-03-20T10:47:26.549+0000",
"errors" : false,
"messages" : [ ],
"data" : {
"id" : "8a808003699a9ebf01699ab6844d06bf",
"createdBy" : null,
"createdDate" : null,
"modifiedBy" : null,
"modifiedDate" : null,
"version" : null,
"inactive" : false,
"record" : "e3srrpua",
"dataSet" : "e3srrpua"
},
"totalPages" : 0,
"totalElements" : 0
}]
2019-03-20 10:47:26 DEBUG [DataRecordCreateUserBInitHijack1] : 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=ODJjNGY3YTUtOWZiYi00MTU2LWFiZjAtYmIwY2VhYWNhNzRm; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:47:25 GMT]}]
2019-03-20 10:47:26 DEBUG [DataRecordCreateUserBInitHijack1] : StatusCode [200]
2019-03-20 10:47:26 DEBUG [DataRecordCreateUserBInitHijack1] : Time [1451]
2019-03-20 10:47:26 DEBUG [DataRecordCreateUserBInitHijack1] : Size [323]
2019-03-20 10:47:26 INFO [null] : Assertion [@StatusCode == 200 OR @StatusCode == 201] resolved-to [200 == 200 OR 200 == 201] result [Passed]
2019-03-20 10:47:26 DEBUG [DataRecordCreateUserBInitHijack1_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=ODJjNGY3YTUtOWZiYi00MTU2LWFiZjAtYmIwY2VhYWNhNzRm; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:47:25 GMT]}]
2019-03-20 10:47:26 DEBUG [DataRecordCreateUserBInitHijack1_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=ODJjNGY3YTUtOWZiYi00MTU2LWFiZjAtYmIwY2VhYWNhNzRm; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:47:25 GMT]}]
2019-03-20 10:47:26 DEBUG [DataRecordCreateUserBInitHijack1_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=ODJjNGY3YTUtOWZiYi00MTU2LWFiZjAtYmIwY2VhYWNhNzRm; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:47:25 GMT]}]
2019-03-20 10:47:26 DEBUG [DataRecordCreateUserBInitHijack1_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=ODJjNGY3YTUtOWZiYi00MTU2LWFiZjAtYmIwY2VhYWNhNzRm; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:47:25 GMT]}]
2019-03-20 10:47:27 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : URL [http://13.56.210.25/api/v1/data-records]
2019-03-20 10:47:27 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Method [POST]
2019-03-20 10:47:27 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Request [{
"createdBy" : "",
"createdDate" : "",
"dataSet" : "nAeGZs48",
"id" : "8a808003699a9ebf01699ab6844d06bf",
"inactive" : false,
"modifiedBy" : "",
"modifiedDate" : "",
"record" : "nAeGZs48",
"version" : ""
}]
2019-03-20 10:47:27 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic T1JHQi8vdXNlckJAdGVzdGxhYnMuaW86b3JnMTIzNCQ=]}]
2019-03-20 10:47:27 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Response [{
"requestId" : "None",
"requestTime" : "2019-03-20T10:47:27.739+0000",
"errors" : false,
"messages" : [ ],
"data" : {
"id" : "8a808003699a9ebf01699ab6844d06bf",
"createdBy" : null,
"createdDate" : null,
"modifiedBy" : null,
"modifiedDate" : null,
"version" : null,
"inactive" : false,
"record" : "nAeGZs48",
"dataSet" : "nAeGZs48"
},
"totalPages" : 0,
"totalElements" : 0
}]
2019-03-20 10:47:27 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : 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=ZjIyMzg1NzAtZTUwZS00MWUxLWFjZTYtMWZlMzk0MDA1NDk2; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:47:26 GMT]}]
2019-03-20 10:47:27 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : StatusCode [200]
2019-03-20 10:47:27 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Time [1190]
2019-03-20 10:47:27 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Size [323]
2019-03-20 10:47:27 ERROR [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed]
2019-03-20 10:47:29 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : URL [http://13.56.210.25/api/v1/data-records/8a808003699a9ebf01699ab6844d06bf/delete-all]
2019-03-20 10:47:29 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Method [DELETE]
2019-03-20 10:47:29 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Request [null]
2019-03-20 10:47:29 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic T1JHQi8vdXNlckJAdGVzdGxhYnMuaW86b3JnMTIzNCQ=]}]
2019-03-20 10:47:29 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Response [{
"requestId" : "None",
"requestTime" : "2019-03-20T10:47:28.967+0000",
"errors" : true,
"messages" : [ {
"type" : "ERROR",
"key" : "",
"value" : null
} ],
"data" : null,
"totalPages" : 0,
"totalElements" : 0
}]
2019-03-20 10:47:29 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : 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=ZjNhMWE3M2EtMjc4OS00MWFlLWI3ZDQtMTdkMWY0OGUxODAy; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:47:28 GMT]}]
2019-03-20 10:47:29 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : StatusCode [200]
2019-03-20 10:47:29 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Time [1243]
2019-03-20 10:47:29 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Size [176]
2019-03-20 10:47:29 INFO [null] : Assertion [@StatusCode == 200] resolved-to [200 == 200] result [Passed]
--- FX Bot ---
Project : FXABAC TEST
Template : ApiV1DataRecordsPostDatarecorduserbDisallowHijack1
Run Id : 8a808011699a990101699ab0f9761b20
Job : Default
Env : Default
Category : Hijack_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=ZjI4OTBhYTAtMjZhMS00Mjg5LWIxZWEtYzI0Y2VmYjg1Zjk1; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:42:00 GMT]}
Endpoint : http://13.56.210.25/api/v1/data-records
Request :
{ "createdBy" : "", "createdDate" : "", "dataSet" : "Xrlhmsnf", "id" : "8a808003699a9ebf01699ab18b990698", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "record" : "Xrlhmsnf", "version" : "" }
Response :
{ "requestId" : "None", "requestTime" : "2019-03-20T10:42:01.118+0000", "errors" : false, "messages" : [ ], "data" : { "id" : "8a808003699a9ebf01699ab18b990698", "createdBy" : null, "createdDate" : null, "modifiedBy" : null, "modifiedDate" : null, "version" : null, "inactive" : false, "record" : "Xrlhmsnf", "dataSet" : "Xrlhmsnf" }, "totalPages" : 0, "totalElements" : 0 }
Logs :
2019-03-20 10:42:00 DEBUG [DataRecordCreateUserBInitHijack1] : URL [http://13.56.210.25/api/v1/data-records] 2019-03-20 10:42:00 DEBUG [DataRecordCreateUserBInitHijack1] : Method [POST] 2019-03-20 10:42:00 DEBUG [DataRecordCreateUserBInitHijack1] : Request [{ "createdBy" : "", "createdDate" : "", "dataSet" : "levs68li", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "record" : "levs68li", "version" : "" }] 2019-03-20 10:42:00 DEBUG [DataRecordCreateUserBInitHijack1] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic T1JHQi8vdXNlckJAdGVzdGxhYnMuaW86b3JnMTIzNCQ=]}] 2019-03-20 10:42:00 DEBUG [DataRecordCreateUserBInitHijack1] : Response [{ "requestId" : "None", "requestTime" : "2019-03-20T10:42:00.738+0000", "errors" : false, "messages" : [ ], "data" : { "id" : "8a808003699a9ebf01699ab18b990698", "createdBy" : null, "createdDate" : null, "modifiedBy" : null, "modifiedDate" : null, "version" : null, "inactive" : false, "record" : "levs68li", "dataSet" : "levs68li" }, "totalPages" : 0, "totalElements" : 0 }] 2019-03-20 10:42:00 DEBUG [DataRecordCreateUserBInitHijack1] : 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=YzNmYTI0MTAtOWI4Zi00MGYyLWJlODYtYjJhYWMyYjliYTg2; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:42:00 GMT]}] 2019-03-20 10:42:00 DEBUG [DataRecordCreateUserBInitHijack1] : StatusCode [200] 2019-03-20 10:42:00 DEBUG [DataRecordCreateUserBInitHijack1] : Time [421] 2019-03-20 10:42:00 DEBUG [DataRecordCreateUserBInitHijack1] : Size [323] 2019-03-20 10:42:00 INFO [null] : Assertion [@StatusCode == 200 OR @StatusCode == 201] resolved-to [200 == 200 OR 200 == 201] result [Passed] 2019-03-20 10:42:00 DEBUG [DataRecordCreateUserBInitHijack1_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=YzNmYTI0MTAtOWI4Zi00MGYyLWJlODYtYjJhYWMyYjliYTg2; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:42:00 GMT]}] 2019-03-20 10:42:00 DEBUG [DataRecordCreateUserBInitHijack1_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=YzNmYTI0MTAtOWI4Zi00MGYyLWJlODYtYjJhYWMyYjliYTg2; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:42:00 GMT]}] 2019-03-20 10:42:00 DEBUG [DataRecordCreateUserBInitHijack1_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=YzNmYTI0MTAtOWI4Zi00MGYyLWJlODYtYjJhYWMyYjliYTg2; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:42:00 GMT]}] 2019-03-20 10:42:00 DEBUG [DataRecordCreateUserBInitHijack1_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=YzNmYTI0MTAtOWI4Zi00MGYyLWJlODYtYjJhYWMyYjliYTg2; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:42:00 GMT]}] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : URL [http://13.56.210.25/api/v1/data-records] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Method [POST] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Request [{ "createdBy" : "", "createdDate" : "", "dataSet" : "Xrlhmsnf", "id" : "8a808003699a9ebf01699ab18b990698", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "record" : "Xrlhmsnf", "version" : "" }] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic T1JHQi8vdXNlckJAdGVzdGxhYnMuaW86b3JnMTIzNCQ=]}] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Response [{ "requestId" : "None", "requestTime" : "2019-03-20T10:42:01.118+0000", "errors" : false, "messages" : [ ], "data" : { "id" : "8a808003699a9ebf01699ab18b990698", "createdBy" : null, "createdDate" : null, "modifiedBy" : null, "modifiedDate" : null, "version" : null, "inactive" : false, "record" : "Xrlhmsnf", "dataSet" : "Xrlhmsnf" }, "totalPages" : 0, "totalElements" : 0 }] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : 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=ZjI4OTBhYTAtMjZhMS00Mjg5LWIxZWEtYzI0Y2VmYjg1Zjk1; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:42:00 GMT]}] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : StatusCode [200] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Time [364] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Size [323] 2019-03-20 10:42:01 ERROR [ApiV1DataRecordsPostDatarecorduserbDisallowHijack1] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : URL [http://13.56.210.25/api/v1/data-records/8a808003699a9ebf01699ab18b990698/delete-all] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Method [DELETE] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Request [null] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic T1JHQi8vdXNlckJAdGVzdGxhYnMuaW86b3JnMTIzNCQ=]}] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Response [{ "requestId" : "None", "requestTime" : "2019-03-20T10:42:01.502+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : null } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : 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=ZmU3ZGQ2YmItYWU5NS00NmEyLTk5MjYtOWUyOTAyNjQ5ZTE5; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 20 Mar 2019 10:42:00 GMT]}] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : StatusCode [200] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Time [389] 2019-03-20 10:42:01 DEBUG [ApiV1DataRecordsIdDeleteAllDeleteDatarecordhijack1] : Size [176] 2019-03-20 10:42:01 INFO [null] : Assertion [@StatusCode == 200] resolved-to [200 == 200] result [Passed]
--- FX Bot ---