asriz7777 / FXSCRIPTS-TEST-AUTOMATION

0 stars 1 forks source link

Vulnerability [ABAC_Level3] : GET:/api/v1/orgs/requestId #304

Open asriz7777 opened 5 years ago

asriz7777 commented 5 years ago

Project : FXABAC TEST

Template : ApiV1OrgsRequestidGetMemberuserbDisallowAbact3

Run Id : 8a80808d698f0d6701698fd9c69b23cb

Job : Default

Env : Default

Category : ABAC_Level3

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=Y2NkZjg2ZGItYmE3Yi00ZDY2LTllODgtYzgxNDFlNjIwZDc4; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:12:05 GMT]}

Endpoint : http://13.56.210.25/api/v1/orgs/None

Request :

Response :
{ "requestId" : "None", "requestTime" : "2019-03-18T08:12:06.049+0000", "errors" : true, "messages" : [ ], "data" : null, "totalPages" : 0, "totalElements" : 0 }

Logs :
2019-03-18 08:12:04 DEBUG [MemberCreateUserAInitAbact3] : URL [http://13.56.210.25/api/v1/orgs/users/addMemberToOrg] 2019-03-18 08:12:04 DEBUG [MemberCreateUserAInitAbact3] : Method [POST] 2019-03-18 08:12:04 DEBUG [MemberCreateUserAInitAbact3] : Request [{ "confirmPassword" : "SeurMvZx", "createdBy" : "", "createdDate" : "", "email" : "perry.buckridge@hotmail.com", "id" : "", "inactive" : false, "modifiedBy" : "", "modifiedDate" : "", "name" : "SeurMvZx", "orgId" : "SeurMvZx", "orgRole" : "READ", "password" : "SeurMvZx", "username" : "deshawn.hauck", "version" : "" }] 2019-03-18 08:12:04 DEBUG [MemberCreateUserAInitAbact3] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-03-18 08:12:04 DEBUG [MemberCreateUserAInitAbact3] : Response [{ "requestId" : "None", "requestTime" : "2019-03-18T08:12:04.871+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Invalid request" } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }] 2019-03-18 08:12:04 DEBUG [MemberCreateUserAInitAbact3] : 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=NmM5ZDJjMzYtNjljMS00NGU2LTk3ZGUtZTE1NmFlZDU1ZjZj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:12:04 GMT]}] 2019-03-18 08:12:04 DEBUG [MemberCreateUserAInitAbact3] : StatusCode [200] 2019-03-18 08:12:04 DEBUG [MemberCreateUserAInitAbact3] : Time [1262] 2019-03-18 08:12:04 DEBUG [MemberCreateUserAInitAbact3] : Size [190] 2019-03-18 08:12:04 INFO [null] : Assertion [@StatusCode == 200 OR @StatusCode == 201] resolved-to [200 == 200 OR 200 == 201] result [Passed] 2019-03-18 08:12:04 DEBUG [MemberCreateUserAInitAbact3_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=NmM5ZDJjMzYtNjljMS00NGU2LTk3ZGUtZTE1NmFlZDU1ZjZj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:12:04 GMT]}] 2019-03-18 08:12:04 DEBUG [MemberCreateUserAInitAbact3_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=NmM5ZDJjMzYtNjljMS00NGU2LTk3ZGUtZTE1NmFlZDU1ZjZj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:12:04 GMT]}] 2019-03-18 08:12:04 DEBUG [MemberCreateUserAInitAbact3_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=NmM5ZDJjMzYtNjljMS00NGU2LTk3ZGUtZTE1NmFlZDU1ZjZj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:12:04 GMT]}] 2019-03-18 08:12:04 DEBUG [MemberCreateUserAInitAbact3_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=NmM5ZDJjMzYtNjljMS00NGU2LTk3ZGUtZTE1NmFlZDU1ZjZj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:12:04 GMT]}] 2019-03-18 08:12:06 DEBUG [ApiV1OrgsRequestidGetMemberuserbDisallowAbact3] : URL [http://13.56.210.25/api/v1/orgs/None] 2019-03-18 08:12:06 DEBUG [ApiV1OrgsRequestidGetMemberuserbDisallowAbact3] : Method [GET] 2019-03-18 08:12:06 DEBUG [ApiV1OrgsRequestidGetMemberuserbDisallowAbact3] : Request [] 2019-03-18 08:12:06 DEBUG [ApiV1OrgsRequestidGetMemberuserbDisallowAbact3] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic T1JHQi8vdXNlckJAdGVzdGxhYnMuaW86b3JnMTIzNCQ=]}] 2019-03-18 08:12:06 DEBUG [ApiV1OrgsRequestidGetMemberuserbDisallowAbact3] : Response [{ "requestId" : "None", "requestTime" : "2019-03-18T08:12:06.049+0000", "errors" : true, "messages" : [ ], "data" : null, "totalPages" : 0, "totalElements" : 0 }] 2019-03-18 08:12:06 DEBUG [ApiV1OrgsRequestidGetMemberuserbDisallowAbact3] : 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=Y2NkZjg2ZGItYmE3Yi00ZDY2LTllODgtYzgxNDFlNjIwZDc4; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:12:05 GMT]}] 2019-03-18 08:12:06 DEBUG [ApiV1OrgsRequestidGetMemberuserbDisallowAbact3] : StatusCode [200] 2019-03-18 08:12:06 DEBUG [ApiV1OrgsRequestidGetMemberuserbDisallowAbact3] : Time [1128] 2019-03-18 08:12:06 DEBUG [ApiV1OrgsRequestidGetMemberuserbDisallowAbact3] : Size [138] 2019-03-18 08:12:06 ERROR [ApiV1OrgsRequestidGetMemberuserbDisallowAbact3] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [200 == 401 OR 200 == 403] result [Failed] 2019-03-18 08:12:07 DEBUG [ApiV1OrgsRequestidDeleteMemberabact3] : URL [http://13.56.210.25/api/v1/orgs/None] 2019-03-18 08:12:07 DEBUG [ApiV1OrgsRequestidDeleteMemberabact3] : Method [DELETE] 2019-03-18 08:12:07 DEBUG [ApiV1OrgsRequestidDeleteMemberabact3] : Request [null] 2019-03-18 08:12:07 DEBUG [ApiV1OrgsRequestidDeleteMemberabact3] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-03-18 08:12:07 DEBUG [ApiV1OrgsRequestidDeleteMemberabact3] : Response [{ "requestId" : "None", "requestTime" : "2019-03-18T08:12:07.146+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "No class com.fxlabs.fxt.dao.entity.users.Org entity with id None exists!" } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }] 2019-03-18 08:12:07 DEBUG [ApiV1OrgsRequestidDeleteMemberabact3] : 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=MDk4YzYxMjAtOWI0ZS00MGUwLWEyOTAtOTk5M2YwZmY2M2Iw; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 18 Mar 2019 08:12:06 GMT]}] 2019-03-18 08:12:07 DEBUG [ApiV1OrgsRequestidDeleteMemberabact3] : StatusCode [200] 2019-03-18 08:12:07 DEBUG [ApiV1OrgsRequestidDeleteMemberabact3] : Time [1136] 2019-03-18 08:12:07 DEBUG [ApiV1OrgsRequestidDeleteMemberabact3] : Size [246] 2019-03-18 08:12:07 INFO [null] : Assertion [@StatusCode == 200] resolved-to [200 == 200] result [Passed]

--- FX Bot ---