AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1DashboardCountBytesGetQueryParamPagesizeMysqlSqlInjectionTimebound #51

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

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

Request :

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

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

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

Request :

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

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

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

Request :

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

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

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

Request :

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

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

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

Request :

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

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

--- FX Bot ---