AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1SystemSettingsIdGetPathParamIdMysqlSqlInjectionTimebound #93

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

Endpoint : http://localhost:8080/api/v1/api/v1/system-settings/

Request :

Response :
{ "timestamp" : "2019-01-22T09:41:20.634+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/system-settings/" }

Logs :
2019-01-22 09:41:20 DEBUG [ApiV1SystemSettingsIdGetPathParamIdMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/system-settings/] 2019-01-22 09:41:20 DEBUG [ApiV1SystemSettingsIdGetPathParamIdMysqlSqlInjectionTimebound] : Method [GET] 2019-01-22 09:41:20 DEBUG [ApiV1SystemSettingsIdGetPathParamIdMysqlSqlInjectionTimebound] : Request [] 2019-01-22 09:41:20 DEBUG [ApiV1SystemSettingsIdGetPathParamIdMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-22 09:41:20 DEBUG [ApiV1SystemSettingsIdGetPathParamIdMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-22T09:41:20.634+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/system-settings/" }] 2019-01-22 09:41:20 DEBUG [ApiV1SystemSettingsIdGetPathParamIdMysqlSqlInjectionTimebound] : 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=NTkxNmE1OTAtMjc0NS00OWZiLWE4YTItOGViZjVmYTE3Zjlj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 22 Jan 2019 09:41:20 GMT]}] 2019-01-22 09:41:20 DEBUG [ApiV1SystemSettingsIdGetPathParamIdMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-22 09:41:20 DEBUG [ApiV1SystemSettingsIdGetPathParamIdMysqlSqlInjectionTimebound] : Time [2303] 2019-01-22 09:41:20 DEBUG [ApiV1SystemSettingsIdGetPathParamIdMysqlSqlInjectionTimebound] : Size [151] 2019-01-22 09:41:20 INFO [ApiV1SystemSettingsIdGetPathParamIdMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [2303 < 7000 OR 2303 > 10000] result [Passed] 2019-01-22 09:41:20 ERROR [ApiV1SystemSettingsIdGetPathParamIdMysqlSqlInjectionTimebound] : 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=ZWYyNWVjYjgtOGIyZS00YTU0LThlOTUtNWUxODMzNzQ0YzMy; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:50:24 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/system-settings/

Request :

Response :
{ "timestamp" : "2019-01-23T05:50:24.864+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/system-settings/" }

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

Endpoint : http://localhost:8080/api/v1/api/v1/system-settings/

Request :

Response :
{ "timestamp" : "2019-01-23T05:56:31.255+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/system-settings/" }

Logs :
Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [399 < 7000 OR 399 > 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=YjBlNDA3YmEtYWJkYy00YzUwLWJjYjQtODdhMTg5ZDU0ODI1; 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/system-settings/

Request :

Response :
{ "timestamp" : "2019-01-23T06:55:41.503+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/system-settings/" }

Logs :
Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [3685 < 7000 OR 3685 > 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=MGRkY2RlY2YtOGE4YS00NTlkLWE1NmMtZTMzNDQxMmQwZmVk; 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/system-settings/

Request :

Response :
{ "timestamp" : "2019-01-23T09:59:35.629+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/system-settings/" }

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