AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1OrgsGetQueryParamPageMysqlSqlInjectionTimebound #95

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

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

Request :

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

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

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

Request :

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

Logs :
Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed]Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [1173 < 7000 OR 1173 > 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=ZDIzNDM3YmYtODliNC00NDM0LWIzYzktYmZhOTUwMDk0NDQ5; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:58:00 GMT]}

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

Request :

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

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

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

Request :

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

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

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

Request :

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

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

--- FX Bot ---