AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound #146

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=ZDFmZDU5YTMtNTkwNS00MzdlLWFiMGUtMmNmZTllNGRlZTY2; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:48:37 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/issue-trackers/skill-type/

Request :

Response :
{ "timestamp" : "2019-01-23T05:48:37.094+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/issue-trackers/skill-type/" }

Logs :
2019-01-23 05:48:37 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/issue-trackers/skill-type/] 2019-01-23 05:48:37 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 05:48:37 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : Request [] 2019-01-23 05:48:37 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 05:48:37 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T05:48:37.094+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/issue-trackers/skill-type/" }] 2019-01-23 05:48:37 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : 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=ZDFmZDU5YTMtNTkwNS00MzdlLWFiMGUtMmNmZTllNGRlZTY2; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:48:37 GMT]}] 2019-01-23 05:48:37 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 05:48:37 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : Time [367] 2019-01-23 05:48:37 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : Size [161] 2019-01-23 05:48:37 INFO [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [367 < 7000 OR 367 > 10000] result [Passed] 2019-01-23 05:48:37 ERROR [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : 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=NTVkZDVlZjEtZTc3OC00Mjg5LWFmMDAtODM1OWE3MDdkOWJj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:55:45 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/issue-trackers/skill-type/

Request :

Response :
{ "timestamp" : "2019-01-23T05:55:45.463+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/issue-trackers/skill-type/" }

Logs :
Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [1103 < 7000 OR 1103 > 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/issue-trackers/skill-type/

Request :

Response :
I/O error on GET request for "http://localhost:8080/api/v1/api/v1/issue-trackers/skill-type/": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out

Logs :
2019-01-23 06:53:24 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/issue-trackers/skill-type/] 2019-01-23 06:53:24 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 06:53:24 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : Request [] 2019-01-23 06:53:24 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 06:53:24 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : Response [I/O error on GET request for "http://localhost:8080/api/v1/api/v1/issue-trackers/skill-type/": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out] 2019-01-23 06:53:24 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : Response-Headers [{}] 2019-01-23 06:53:24 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : StatusCode [500] 2019-01-23 06:53:24 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : Time [15012] 2019-01-23 06:53:24 DEBUG [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : Size [178] 2019-01-23 06:53:24 INFO [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : Assertion [@StatusCode != 404] resolved-to [500 != 404] result [Passed] 2019-01-23 06:53:24 INFO [ApiV1IssueTrackersSkillTypeTypeGetPathParamTypeMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [15012 < 7000 OR 15012 > 10000] result [Passed]

--- 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=NGI5ZGY3YzgtYzc3NC00OWE4LWIxNjgtNmVjNzQ5N2Q1MmJh; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:57:51 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/issue-trackers/skill-type/

Request :

Response :
{ "timestamp" : "2019-01-23T09:57:51.876+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/issue-trackers/skill-type/" }

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

--- FX Bot ---