AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1IssueTrackersGetQueryParamPageMysqlSqlInjectionTimebound #148

Open AtifaFahmeen opened 5 years ago

AtifaFahmeen commented 5 years ago

Project : FX SQL Test

Job : Default

Env : Default

Category : null

Tags : null

Severity : null

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

Endpoint : http://localhost:8080/api/v1/api/v1/issue-trackers?page=

Request :

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

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

Endpoint : http://localhost:8080/api/v1/api/v1/issue-trackers?page=

Request :

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

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

Request :

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

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

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

Endpoint : http://localhost:8080/api/v1/api/v1/issue-trackers?page=

Request :

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

Logs :
2019-01-23 09:58:54 ERROR [ApiV1IssueTrackersGetQueryParamPageMysqlSqlInjectionTimebound] : No module found with the name [FXLabs/Common/MySQL-TimeBound-SQL_Injection_Strings] defined in Fxfile.yaml 2019-01-23 09:58:55 DEBUG [ApiV1IssueTrackersGetQueryParamPageMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/issue-trackers?page=] 2019-01-23 09:58:55 DEBUG [ApiV1IssueTrackersGetQueryParamPageMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 09:58:55 DEBUG [ApiV1IssueTrackersGetQueryParamPageMysqlSqlInjectionTimebound] : Request [] 2019-01-23 09:58:55 DEBUG [ApiV1IssueTrackersGetQueryParamPageMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 09:58:55 DEBUG [ApiV1IssueTrackersGetQueryParamPageMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T09:58:55.993+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/issue-trackers" }] 2019-01-23 09:58:55 DEBUG [ApiV1IssueTrackersGetQueryParamPageMysqlSqlInjectionTimebound] : 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=MmI3NTk0MDktNzFkMi00NTgwLTkzMzItNjE2NjY4MDJhZDJh; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:58:55 GMT]}] 2019-01-23 09:58:55 DEBUG [ApiV1IssueTrackersGetQueryParamPageMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 09:58:55 DEBUG [ApiV1IssueTrackersGetQueryParamPageMysqlSqlInjectionTimebound] : Time [1030] 2019-01-23 09:58:55 DEBUG [ApiV1IssueTrackersGetQueryParamPageMysqlSqlInjectionTimebound] : Size [149] 2019-01-23 09:58:55 INFO [ApiV1IssueTrackersGetQueryParamPageMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [1030 < 7000 OR 1030 > 10000] result [Passed] 2019-01-23 09:58:55 ERROR [ApiV1IssueTrackersGetQueryParamPageMysqlSqlInjectionTimebound] : Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed]

--- FX Bot ---