AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound #38

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

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-bytes-between?fromDate=

Request :

Response :
{ "timestamp" : "2019-01-22T09:38:49.387+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-bytes-between" }

Logs :
2019-01-22 09:38:49 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/dashboard/count-bytes-between?fromDate=] 2019-01-22 09:38:49 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Method [GET] 2019-01-22 09:38:49 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Request [] 2019-01-22 09:38:49 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-22 09:38:49 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-22T09:38:49.387+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-bytes-between" }] 2019-01-22 09:38:49 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : 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=ODA1MzZhZTEtNTY1Zi00ZmU3LWE4OWMtOTA1NWEzOWY0MTM2; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 22 Jan 2019 09:38:49 GMT]}] 2019-01-22 09:38:49 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-22 09:38:49 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Time [1175] 2019-01-22 09:38:49 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Size [164] 2019-01-22 09:38:49 INFO [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [1175 < 7000 OR 1175 > 10000] result [Passed] 2019-01-22 09:38:49 ERROR [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : 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=MWE5ZmQzZmUtNThkNS00YWIzLWExZTYtNzU5ZDE2N2Q2NDIx; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:48:09 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-bytes-between?fromDate=

Request :

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

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

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-bytes-between?fromDate=

Request :

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

Logs :
Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed]Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [563 < 7000 OR 563 > 10000] 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=MzkzNjJjN2MtOTRhOC00YjExLTg2ZTgtMzIwOTc4NjQxMjVh; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 06:52:08 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-bytes-between?fromDate=

Request :

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

Logs :
2019-01-23 06:52:08 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/dashboard/count-bytes-between?fromDate=] 2019-01-23 06:52:08 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 06:52:08 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Request [] 2019-01-23 06:52:08 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 06:52:08 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T06:52:08.453+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-bytes-between" }] 2019-01-23 06:52:08 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : 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=MzkzNjJjN2MtOTRhOC00YjExLTg2ZTgtMzIwOTc4NjQxMjVh; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 06:52:08 GMT]}] 2019-01-23 06:52:08 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 06:52:08 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Time [6888] 2019-01-23 06:52:08 DEBUG [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Size [164] 2019-01-23 06:52:08 INFO [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [6888 < 7000 OR 6888 > 10000] result [Passed] 2019-01-23 06:52:08 ERROR [ApiV1DashboardCountBytesBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : 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=OGNjY2NhMDEtNDJhNS00OGI0LTg4OGMtMmU5NDI0MmVjZGRl; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:57:08 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/count-bytes-between?fromDate=

Request :

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

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