AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1NotificationsGetQueryParamPageMysqlSqlInjectionTimebound #74

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

Endpoint : http://localhost:8080/api/v1/api/v1/notifications?page=

Request :

Response :
{ "timestamp" : "2019-01-22T09:40:45.231+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/notifications" }

Logs :
2019-01-22 09:40:45 DEBUG [ApiV1NotificationsGetQueryParamPageMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/notifications?page=] 2019-01-22 09:40:45 DEBUG [ApiV1NotificationsGetQueryParamPageMysqlSqlInjectionTimebound] : Method [GET] 2019-01-22 09:40:45 DEBUG [ApiV1NotificationsGetQueryParamPageMysqlSqlInjectionTimebound] : Request [] 2019-01-22 09:40:45 DEBUG [ApiV1NotificationsGetQueryParamPageMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-22 09:40:45 DEBUG [ApiV1NotificationsGetQueryParamPageMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-22T09:40:45.231+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/notifications" }] 2019-01-22 09:40:45 DEBUG [ApiV1NotificationsGetQueryParamPageMysqlSqlInjectionTimebound] : 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=YWQyYTRlZTktNWU4Yi00N2MyLWJlNjYtNDUwNDQzNjM4Zjlh; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 22 Jan 2019 09:40:44 GMT]}] 2019-01-22 09:40:45 DEBUG [ApiV1NotificationsGetQueryParamPageMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-22 09:40:45 DEBUG [ApiV1NotificationsGetQueryParamPageMysqlSqlInjectionTimebound] : Time [1925] 2019-01-22 09:40:45 DEBUG [ApiV1NotificationsGetQueryParamPageMysqlSqlInjectionTimebound] : Size [148] 2019-01-22 09:40:45 INFO [ApiV1NotificationsGetQueryParamPageMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [1925 < 7000 OR 1925 > 10000] result [Passed] 2019-01-22 09:40:45 ERROR [ApiV1NotificationsGetQueryParamPageMysqlSqlInjectionTimebound] : 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=Y2FiODRkOGUtMjU5NS00Y2U4LTkwZjAtNjE3MGZjZDYwMTAy; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:49:44 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/notifications?page=

Request :

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

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

Endpoint : http://localhost:8080/api/v1/api/v1/notifications?page=

Request :

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

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

Endpoint : http://localhost:8080/api/v1/api/v1/notifications?page=

Request :

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

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

Endpoint : http://localhost:8080/api/v1/api/v1/notifications?page=

Request :

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

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