AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound #83

Open AtifaFahmeen opened 5 years ago

AtifaFahmeen commented 5 years ago

Project : FX SQL Test

Job : Default

Env : Default

Category : SQL_Injection

Tags : [OWASP A1, [PCI DSS 3.0] 6.5.1, OWASP - OTG-INPVAL-005, FX Top 10 - API Vulnerability, Intrusive]

Severity : Major

Region : US_WEST_2

Result : fail

Status Code : 404

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=OWIwNWRjZTAtZjJhMS00MjdkLTkxOWUtODQzMTlmZGM2MmM2; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 22 Jan 2019 09:41:25 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/abac?pageSize=

Request :

Response :
{ "timestamp" : "2019-01-22T09:41:25.027+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/abac" }

Logs :
2019-01-22 09:41:25 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/abac?pageSize=] 2019-01-22 09:41:25 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Method [GET] 2019-01-22 09:41:25 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Request [] 2019-01-22 09:41:25 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-22 09:41:25 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-22T09:41:25.027+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/abac" }] 2019-01-22 09:41:25 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : 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=OWIwNWRjZTAtZjJhMS00MjdkLTkxOWUtODQzMTlmZGM2MmM2; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 22 Jan 2019 09:41:25 GMT]}] 2019-01-22 09:41:25 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-22 09:41:25 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Time [1775] 2019-01-22 09:41:25 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Size [139] 2019-01-22 09:41:25 INFO [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [1775 < 7000 OR 1775 > 10000] result [Passed] 2019-01-22 09:41:25 ERROR [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed]

--- FX Bot ---

AtifaFahmeen commented 5 years ago

Project : FX SQL Test

Job : Default

Env : Default

Region : US_WEST_2

Result : pass

Status Code : 404

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=MTkxNWQ0NTMtNDM5Yy00Y2VkLTgwOWEtMmMxNmUxYWM0YTVm; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:49:44 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/abac?pageSize=

Request :

Response :
{ "timestamp" : "2019-01-23T05:49:44.729+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/abac" }

Logs :
2019-01-23 05:49:44 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/abac?pageSize=] 2019-01-23 05:49:44 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 05:49:44 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Request [] 2019-01-23 05:49:44 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 05:49:44 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T05:49:44.729+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/abac" }] 2019-01-23 05:49:44 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : 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=MTkxNWQ0NTMtNDM5Yy00Y2VkLTgwOWEtMmMxNmUxYWM0YTVm; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:49:44 GMT]}] 2019-01-23 05:49:44 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 05:49:44 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Time [2451] 2019-01-23 05:49:44 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Size [139] 2019-01-23 05:49:44 ERROR [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed] 2019-01-23 05:49:44 INFO [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [2451 < 7000 OR 2451 > 10000] result [Passed]

--- FX Bot ---

AtifaFahmeen commented 5 years ago

Project : FX SQL Test

Job : Default

Env : Default

Region : US_WEST_2

Result : fail

Status Code : 404

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=ODM4MjMzYjEtYTVkNS00NmVjLWFlYmQtOTI4MmJjZjlhYjcx; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:57:52 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/abac?pageSize=

Request :

Response :
{ "timestamp" : "2019-01-23T05:57:52.272+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/abac" }

Logs :
2019-01-23 05:57:52 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/abac?pageSize=] 2019-01-23 05:57:52 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 05:57:52 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Request [] 2019-01-23 05:57:52 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 05:57:52 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T05:57:52.272+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/abac" }] 2019-01-23 05:57:52 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : 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=ODM4MjMzYjEtYTVkNS00NmVjLWFlYmQtOTI4MmJjZjlhYjcx; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:57:52 GMT]}] 2019-01-23 05:57:52 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 05:57:52 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Time [748] 2019-01-23 05:57:52 DEBUG [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Size [139] 2019-01-23 05:57:52 INFO [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [748 < 7000 OR 748 > 10000] result [Passed] 2019-01-23 05:57:52 ERROR [ApiV1AbacGetQueryParamPagesizeMysqlSqlInjectionTimebound] : Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed]

--- FX Bot ---

AtifaFahmeen commented 5 years ago

Project : FX SQL Test

Job : Default

Env : Default

Region : US_WEST_2

Result : fail

Status Code : 404

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=MGYzYTAzZDctZWFjMy00ZmM5LWEzZGMtNWYwZjQwZjRmYzY0; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:58:59 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/abac?pageSize=

Request :

Response :
{ "timestamp" : "2019-01-23T09:58:59.886+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/abac" }

Logs :
Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [726 < 7000 OR 726 > 10000] result [Passed]Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed] --- FX Bot ---