AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1ProjectsIdEndpointsGetPathParamIdMysqlSqlInjectionTimebound #97

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

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

Request :

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

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

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

Request :

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

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

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

Request :

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

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

Request :

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

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

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

Request :

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

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

--- FX Bot ---