AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1DashboardCountTestsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound #66

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

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

Request :

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

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

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

Request :

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

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

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

Request :

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

Logs :
Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [903 < 7000 OR 903 > 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/dashboard/count-tests-between?fromDate=

Request :

Response :
I/O error on GET request for "http://localhost:8080/api/v1/api/v1/dashboard/count-tests-between": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out

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

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

Request :

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

Logs :
2019-01-23 09:58:39 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/dashboard/count-tests-between?fromDate=] 2019-01-23 09:58:39 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 09:58:39 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Request [] 2019-01-23 09:58:39 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 09:58:39 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T09:58:39.644+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/count-tests-between" }] 2019-01-23 09:58:39 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : 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=NDViMGJlM2EtOGI2OC00Nzc2LWE0M2MtNjJiY2UyM2FkOTJj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:58:39 GMT]}] 2019-01-23 09:58:39 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 09:58:39 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Time [8514] 2019-01-23 09:58:39 DEBUG [ApiV1DashboardCountTestsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Size [164] 2019-01-23 09:58:39 ERROR [ApiV1DashboardCountTestsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed] 2019-01-23 09:58:39 ERROR [ApiV1DashboardCountTestsBetweenGetQueryParamFromdateMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [8514 < 7000 OR 8514 > 10000] result [Failed]

--- FX Bot ---