AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1DashboardCountRunsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound #159

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

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-runs-between?toDate=

Request :

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

Logs :
2019-01-23 05:50:31 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/dashboard/count-runs-between?toDate=] 2019-01-23 05:50:31 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 05:50:31 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Request [] 2019-01-23 05:50:31 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 05:50:31 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T05:50:31.402+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-runs-between" }] 2019-01-23 05:50:31 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : 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=ZDNhMjJjNTctZTEzNi00ZjgyLTkzODItOGY5ODBlNjhmOTQx; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:50:31 GMT]}] 2019-01-23 05:50:31 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 05:50:31 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Time [476] 2019-01-23 05:50:31 DEBUG [ApiV1DashboardCountRunsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Size [163] 2019-01-23 05:50:31 INFO [ApiV1DashboardCountRunsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [476 < 7000 OR 476 > 10000] result [Passed] 2019-01-23 05:50:31 ERROR [ApiV1DashboardCountRunsBetweenGetQueryParamTodateMysqlSqlInjectionTimebound] : 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=OTI0ZDZkNmItYjYzYy00MThmLWIyZmYtMDM0YjZhNDJkMjE4; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:56:39 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-runs-between?toDate=

Request :

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

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

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-runs-between?toDate=

Request :

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

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

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-runs-between?toDate=

Request :

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

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