AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound #91

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

Endpoint : http://localhost:8080/api/v1/api/v1/test-suites/project-id/

Request :

Response :
{ "timestamp" : "2019-01-22T09:41:07.455+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/test-suites/project-id/" }

Logs :
2019-01-22 09:41:07 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/test-suites/project-id/] 2019-01-22 09:41:07 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Method [GET] 2019-01-22 09:41:07 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Request [] 2019-01-22 09:41:07 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-22 09:41:07 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-22T09:41:07.455+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/test-suites/project-id/" }] 2019-01-22 09:41:07 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : 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=Y2FlNTNlNTAtNjFlYi00MzQ0LWIzNWQtNTMxNDc2NjdiNjk1; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 22 Jan 2019 09:41:07 GMT]}] 2019-01-22 09:41:07 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-22 09:41:07 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Time [1411] 2019-01-22 09:41:07 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Size [158] 2019-01-22 09:41:07 INFO [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [1411 < 7000 OR 1411 > 10000] result [Passed] 2019-01-22 09:41:07 ERROR [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : 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=Yzc2MmI4ODItMGIwNi00NGExLWI5NGUtODdkZThjYTczNTg2; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:49:57 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/test-suites/project-id/

Request :

Response :
{ "timestamp" : "2019-01-23T05:49:57.248+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/test-suites/project-id/" }

Logs :
2019-01-23 05:49:57 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/test-suites/project-id/] 2019-01-23 05:49:57 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 05:49:57 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Request [] 2019-01-23 05:49:57 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 05:49:57 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T05:49:57.248+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/test-suites/project-id/" }] 2019-01-23 05:49:57 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : 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=Yzc2MmI4ODItMGIwNi00NGExLWI5NGUtODdkZThjYTczNTg2; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:49:57 GMT]}] 2019-01-23 05:49:57 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 05:49:57 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Time [439] 2019-01-23 05:49:57 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Size [158] 2019-01-23 05:49:57 INFO [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [439 < 7000 OR 439 > 10000] result [Passed] 2019-01-23 05:49:57 ERROR [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : 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=ZjlhYTg0YTAtYjRiNS00MmE2LThjMmMtMDFjODFiMzM5M2Q3; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:56:28 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/test-suites/project-id/

Request :

Response :
{ "timestamp" : "2019-01-23T05:56:28.429+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/test-suites/project-id/" }

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

Endpoint : http://localhost:8080/api/v1/api/v1/test-suites/project-id/

Request :

Response :
{ "timestamp" : "2019-01-23T06:55:22.397+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/test-suites/project-id/" }

Logs :
2019-01-23 06:55:22 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/test-suites/project-id/] 2019-01-23 06:55:22 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 06:55:22 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Request [] 2019-01-23 06:55:22 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 06:55:22 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T06:55:22.397+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/test-suites/project-id/" }] 2019-01-23 06:55:22 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : 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=ZGNiYzRkNjEtNjhkZC00ZWZjLWE4MGEtYzAyNDkyNmVmYjIx; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 06:55:22 GMT]}] 2019-01-23 06:55:22 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 06:55:22 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Time [8435] 2019-01-23 06:55:22 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Size [158] 2019-01-23 06:55:22 ERROR [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [8435 < 7000 OR 8435 > 10000] result [Failed] 2019-01-23 06:55:22 ERROR [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : 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=MDI3NzExODctMTlmYS00NGVkLTg1NGQtZmRiZGI0ZGJiNzg5; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:59:17 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/test-suites/project-id/

Request :

Response :
{ "timestamp" : "2019-01-23T09:59:17.831+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/test-suites/project-id/" }

Logs :
2019-01-23 09:59:17 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/test-suites/project-id/] 2019-01-23 09:59:17 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 09:59:17 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Request [] 2019-01-23 09:59:17 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 09:59:17 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T09:59:17.831+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/test-suites/project-id/" }] 2019-01-23 09:59:17 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : 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=MDI3NzExODctMTlmYS00NGVkLTg1NGQtZmRiZGI0ZGJiNzg5; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:59:17 GMT]}] 2019-01-23 09:59:17 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 09:59:17 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Time [525] 2019-01-23 09:59:17 DEBUG [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Size [158] 2019-01-23 09:59:17 INFO [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [525 < 7000 OR 525 > 10000] result [Passed] 2019-01-23 09:59:17 ERROR [ApiV1TestSuitesProjectIdIdGetPathParamIdMysqlSqlInjectionTimebound] : Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed]

--- FX Bot ---