AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound #79

Closed AtifaFahmeen closed 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=OWFiYjIwNTctMjQyNy00NzRhLWIwMDMtNDc3MTVjN2JiNTgx; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 22 Jan 2019 09:40:45 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/envs//envrating

Request :

Response :
{ "timestamp" : "2019-01-22T09:40:45.830+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/envs/envrating" }

Logs :
2019-01-22 09:40:45 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/envs//envrating] 2019-01-22 09:40:45 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : Method [GET] 2019-01-22 09:40:45 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : Request [] 2019-01-22 09:40:45 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-22 09:40:45 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-22T09:40:45.830+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/envs/envrating" }] 2019-01-22 09:40:45 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : 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=OWFiYjIwNTctMjQyNy00NzRhLWIwMDMtNDc3MTVjN2JiNTgx; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 22 Jan 2019 09:40:45 GMT]}] 2019-01-22 09:40:45 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-22 09:40:45 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : Time [1374] 2019-01-22 09:40:45 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : Size [149] 2019-01-22 09:40:45 INFO [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [1374 < 7000 OR 1374 > 10000] result [Passed] 2019-01-22 09:40:45 ERROR [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : 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=MGQ2N2EyYWUtOWQ3Ny00ZjZhLThhZDMtNzU5ODU5MzQ1ZTJm; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:49:20 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/envs//envrating

Request :

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

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

Endpoint : http://localhost:8080/api/v1/api/v1/envs//envrating

Request :

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

Logs :
Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [764 < 7000 OR 764 > 10000] result [Passed]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=MDA4ODFiNmEtNmQ0NS00ODA5LTg2NTItNzYwNjA3Y2NkNzVh; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 06:55:07 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/envs//envrating

Request :

Response :
{ "timestamp" : "2019-01-23T06:55:07.914+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/envs/envrating" }

Logs :
Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [7105 < 7000 OR 7105 > 10000] result [Failed]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=ZjYyMmQ2YTUtNjBlZS00ZDVmLWJkODYtOGFjNWRlYjU2ZDNk; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:58:47 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/envs//envrating

Request :

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

Logs :
2019-01-23 09:58:46 ERROR [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : No module found with the name [FXLabs/Common/MySQL-TimeBound-SQL_Injection_Strings] defined in Fxfile.yaml 2019-01-23 09:58:47 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/envs//envrating] 2019-01-23 09:58:47 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 09:58:47 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : Request [] 2019-01-23 09:58:47 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 09:58:47 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T09:58:47.167+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/envs/envrating" }] 2019-01-23 09:58:47 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : 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=ZjYyMmQ2YTUtNjBlZS00ZDVmLWJkODYtOGFjNWRlYjU2ZDNk; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:58:47 GMT]}] 2019-01-23 09:58:47 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 09:58:47 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : Time [425] 2019-01-23 09:58:47 DEBUG [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : Size [149] 2019-01-23 09:58:47 INFO [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [425 < 7000 OR 425 > 10000] result [Passed] 2019-01-23 09:58:47 ERROR [ApiV1EnvsIdEnvratingGetPathParamIdMysqlSqlInjectionTimebound] : Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed]

--- FX Bot ---