AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound #156

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

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/bots//savings

Request :

Response :
{ "timestamp" : "2019-01-23T05:49:48.253+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/bots/savings" }

Logs :
2019-01-23 05:49:48 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/dashboard/bots//savings] 2019-01-23 05:49:48 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 05:49:48 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : Request [] 2019-01-23 05:49:48 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 05:49:48 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T05:49:48.253+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/bots/savings" }] 2019-01-23 05:49:48 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : 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=NTFmZTQwM2UtMjM4Yy00MDJiLTljMTctYjRkYzdhNzdlMjYz; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:49:47 GMT]}] 2019-01-23 05:49:48 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 05:49:48 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : Time [365] 2019-01-23 05:49:48 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : Size [157] 2019-01-23 05:49:48 INFO [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [365 < 7000 OR 365 > 10000] result [Passed] 2019-01-23 05:49:48 ERROR [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : 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=ODg0Mjc0ZWItMTA3MC00Y2MyLTgyMTItYzkxN2NjZWMzY2Jj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:57:49 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/bots//savings

Request :

Response :
{ "timestamp" : "2019-01-23T05:57:49.392+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/bots/savings" }

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

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/bots//savings

Request :

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

Logs :
2019-01-23 06:55:41 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/dashboard/bots//savings] 2019-01-23 06:55:41 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 06:55:41 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : Request [] 2019-01-23 06:55:41 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 06:55:41 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T06:55:41.579+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/dashboard/bots/savings" }] 2019-01-23 06:55:41 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : 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=MGY4OGYwZDEtODY2ZS00YzkwLWE4NGEtOGY1ZDIxNjFiODY1; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 06:55:41 GMT]}] 2019-01-23 06:55:41 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 06:55:41 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : Time [2413] 2019-01-23 06:55:41 DEBUG [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : Size [157] 2019-01-23 06:55:41 INFO [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [2413 < 7000 OR 2413 > 10000] result [Passed] 2019-01-23 06:55:41 ERROR [ApiV1DashboardBotsIdSavingsGetPathParamIdMysqlSqlInjectionTimebound] : 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=ZDVhNmNlYjItNmRjMy00ZjQ0LWI3YTAtMTMzYTllNzU5ZmNj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:59:10 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/dashboard/bots//savings

Request :

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

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