AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound #96

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

Endpoint : http://localhost:8080/api/v1/api/v1/projects/

Request :

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

Logs :
2019-01-22 09:41:59 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/projects/] 2019-01-22 09:41:59 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : Method [GET] 2019-01-22 09:41:59 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : Request [] 2019-01-22 09:41:59 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-22 09:41:59 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-22T09:41:59.684+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/projects/" }] 2019-01-22 09:41:59 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : 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=Nzk1NzcxMTUtZTJjYi00ZmNjLWE1MjEtODY3NDFhYzBhYzFk; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 22 Jan 2019 09:41:59 GMT]}] 2019-01-22 09:41:59 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-22 09:41:59 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : Time [1483] 2019-01-22 09:41:59 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : Size [144] 2019-01-22 09:41:59 INFO [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [1483 < 7000 OR 1483 > 10000] result [Passed] 2019-01-22 09:41:59 ERROR [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : 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=MTg0OWZlYmMtY2U2NS00ZmJmLWJlZjctY2I2Mjg1NzFjZTky; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:50:28 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/projects/

Request :

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

Logs :
2019-01-23 05:50:29 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/projects/] 2019-01-23 05:50:29 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 05:50:29 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : Request [] 2019-01-23 05:50:29 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 05:50:29 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T05:50:29.182+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/projects/" }] 2019-01-23 05:50:29 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : 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=MTg0OWZlYmMtY2U2NS00ZmJmLWJlZjctY2I2Mjg1NzFjZTky; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:50:28 GMT]}] 2019-01-23 05:50:29 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 05:50:29 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : Time [596] 2019-01-23 05:50:29 DEBUG [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : Size [144] 2019-01-23 05:50:29 INFO [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [596 < 7000 OR 596 > 10000] result [Passed] 2019-01-23 05:50:29 ERROR [ApiV1ProjectsIdGetPathParamIdMysqlSqlInjectionTimebound] : 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=M2JjMTVkN2MtN2FhNy00NGVkLTgwM2EtM2U3ZDg4OWFiMTY1; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:58:19 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/projects/

Request :

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

Logs :
Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [694 < 7000 OR 694 > 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 : pass

Status Code : 500

Headers : {}

Endpoint : http://localhost:8080/api/v1/api/v1/projects/

Request :

Response :
I/O error on GET request for "http://localhost:8080/api/v1/api/v1/projects/": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out

Logs :
Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [15017 < 7000 OR 15017 > 10000] result [Passed]Assertion [@StatusCode != 404] resolved-to [500 != 404] result [Passed] --- 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=NWQzYWMwNWMtMTUwZS00ZjYxLTg4ODYtZThjNzEyYTI3ZDM0; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:59:56 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/projects/

Request :

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

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