AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1ProjectsNameNameGetPathParamNameMysqlSqlInjectionTimebound #149

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

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

Request :

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

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

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

Request :

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

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

Request :

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

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

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

Request :

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

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