AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound #143

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

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-tests?page=

Request :

Response :
{ "timestamp" : "2019-01-23T05:48:24.551+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-tests" }

Logs :
2019-01-23 05:48:24 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/dashboard/count-tests?page=] 2019-01-23 05:48:24 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 05:48:24 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Request [] 2019-01-23 05:48:24 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 05:48:24 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T05:48:24.551+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-tests" }] 2019-01-23 05:48:24 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : 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=YjkzZWFkYjAtMjIzNy00ZDkzLTk2ZmEtMzA2NmVhZjk1ZWNk; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:48:23 GMT]}] 2019-01-23 05:48:24 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 05:48:24 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Time [1039] 2019-01-23 05:48:24 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Size [156] 2019-01-23 05:48:24 INFO [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [1039 < 7000 OR 1039 > 10000] result [Passed] 2019-01-23 05:48:24 ERROR [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : 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=MDc2YzU2NDctMWY5ZC00MGFiLTgzMWItOTUzYjUyYjM2MThl; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:56:57 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-tests?page=

Request :

Response :
{ "timestamp" : "2019-01-23T05:56:58.554+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-tests" }

Logs :
2019-01-23 05:56:58 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/dashboard/count-tests?page=] 2019-01-23 05:56:58 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 05:56:58 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Request [] 2019-01-23 05:56:58 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 05:56:58 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T05:56:58.554+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-tests" }] 2019-01-23 05:56:58 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : 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=MDc2YzU2NDctMWY5ZC00MGFiLTgzMWItOTUzYjUyYjM2MThl; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:56:57 GMT]}] 2019-01-23 05:56:58 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 05:56:58 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Time [453] 2019-01-23 05:56:58 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Size [156] 2019-01-23 05:56:58 INFO [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [453 < 7000 OR 453 > 10000] result [Passed] 2019-01-23 05:56:58 ERROR [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : 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=YzFjMzMzM2ItZmNjNC00ZDJjLWExYTEtNGVmZTE2MWI1Mzk5; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 06:53:55 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-tests?page=

Request :

Response :
{ "timestamp" : "2019-01-23T06:53:56.397+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-tests" }

Logs :
2019-01-23 06:53:56 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/dashboard/count-tests?page=] 2019-01-23 06:53:56 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 06:53:56 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Request [] 2019-01-23 06:53:56 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 06:53:56 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T06:53:56.397+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-tests" }] 2019-01-23 06:53:56 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : 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=YzFjMzMzM2ItZmNjNC00ZDJjLWExYTEtNGVmZTE2MWI1Mzk5; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 06:53:55 GMT]}] 2019-01-23 06:53:56 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 06:53:56 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Time [5700] 2019-01-23 06:53:56 DEBUG [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Size [156] 2019-01-23 06:53:56 INFO [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [5700 < 7000 OR 5700 > 10000] result [Passed] 2019-01-23 06:53:56 ERROR [ApiV1DashboardCountTestsGetQueryParamPageMysqlSqlInjectionTimebound] : 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=ZmM0NTM4NjYtZGU3My00ZGI1LTk5OWQtN2ExMTAyNWY5MjNh; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:57:51 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-tests?page=

Request :

Response :
{ "timestamp" : "2019-01-23T09:57:52.447+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-tests" }

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