AtifaFahmeen / FXT-Testing

0 stars 0 forks source link

FX SQL Test : ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound #12

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

Endpoint : http://localhost:8080/api/v1/api/v1/abac/generator/

Request :

Response :
{ "timestamp" : "2019-01-22T09:38:11.129+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/abac/generator/" }

Logs :
2019-01-22 09:38:06 ERROR [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : No module found with the name [FXLabs/Common/MySQL-TimeBound-SQL_Injection_Strings] defined in Fxfile.yaml 2019-01-22 09:38:11 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/abac/generator/] 2019-01-22 09:38:11 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Method [GET] 2019-01-22 09:38:11 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Request [] 2019-01-22 09:38:11 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-22 09:38:11 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-22T09:38:11.129+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/abac/generator/" }] 2019-01-22 09:38:11 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : 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=NGE1NmNmYWYtNTUwNC00NDM1LTliNjItZmI4NTIyZTMxYjFj; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 22 Jan 2019 09:38:10 GMT]}] 2019-01-22 09:38:11 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-22 09:38:11 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Time [4725] 2019-01-22 09:38:11 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Size [150] 2019-01-22 09:38:11 INFO [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [4725 < 7000 OR 4725 > 10000] result [Passed] 2019-01-22 09:38:11 ERROR [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : 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=Y2ZmN2YwNzAtNTRiNy00NGNmLTkyMmMtZDAzZTg2OThhNTM3; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:47:17 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/abac/generator/

Request :

Response :
{ "timestamp" : "2019-01-23T05:47:18.216+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/abac/generator/" }

Logs :
2019-01-23 05:47:16 ERROR [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : No module found with the name [FXLabs/Common/MySQL-TimeBound-SQL_Injection_Strings] defined in Fxfile.yaml 2019-01-23 05:47:18 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/abac/generator/] 2019-01-23 05:47:18 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 05:47:18 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Request [] 2019-01-23 05:47:18 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 05:47:18 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T05:47:18.216+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/abac/generator/" }] 2019-01-23 05:47:18 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : 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=Y2ZmN2YwNzAtNTRiNy00NGNmLTkyMmMtZDAzZTg2OThhNTM3; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:47:17 GMT]}] 2019-01-23 05:47:18 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 05:47:18 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Time [1462] 2019-01-23 05:47:18 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Size [150] 2019-01-23 05:47:18 ERROR [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Assertion [@StatusCode != 404] resolved-to [404 != 404] result [Failed] 2019-01-23 05:47:18 INFO [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [1462 < 7000 OR 1462 > 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=ZjlmYzNiNDEtMDAyNS00YzUwLWJmNjItMDI3NjE1MmZlYzM4; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:54:27 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/abac/generator/

Request :

Response :
{ "timestamp" : "2019-01-23T05:54:27.524+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/abac/generator/" }

Logs :
2019-01-23 05:54:26 ERROR [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : No module found with the name [FXLabs/Common/MySQL-TimeBound-SQL_Injection_Strings] defined in Fxfile.yaml 2019-01-23 05:54:27 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/abac/generator/] 2019-01-23 05:54:27 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 05:54:27 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Request [] 2019-01-23 05:54:27 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 05:54:27 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Response [{ "timestamp" : "2019-01-23T05:54:27.524+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/abac/generator/" }] 2019-01-23 05:54:27 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : 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=ZjlmYzNiNDEtMDAyNS00YzUwLWJmNjItMDI3NjE1MmZlYzM4; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 05:54:27 GMT]}] 2019-01-23 05:54:27 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : StatusCode [404] 2019-01-23 05:54:27 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Time [1135] 2019-01-23 05:54:27 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Size [150] 2019-01-23 05:54:27 INFO [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [1135 < 7000 OR 1135 > 10000] result [Passed] 2019-01-23 05:54:27 ERROR [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : 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/abac/generator/

Request :

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

Logs :
2019-01-23 06:50:36 ERROR [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : No module found with the name [FXLabs/Common/MySQL-TimeBound-SQL_Injection_Strings] defined in Fxfile.yaml 2019-01-23 06:50:51 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : URL [http://localhost:8080/api/v1/api/v1/abac/generator/] 2019-01-23 06:50:51 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Method [GET] 2019-01-23 06:50:51 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Request [] 2019-01-23 06:50:51 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic RlhMYWJzLy9hZG1pbkBmeGxhYnMuaW86YWRtaW4xMjMk]}] 2019-01-23 06:50:51 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Response [I/O error on GET request for "http://localhost:8080/api/v1/api/v1/abac/generator/": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out] 2019-01-23 06:50:51 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Response-Headers [{}] 2019-01-23 06:50:51 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : StatusCode [500] 2019-01-23 06:50:51 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Time [15227] 2019-01-23 06:50:51 DEBUG [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Size [167] 2019-01-23 06:50:51 INFO [ApiV1AbacGeneratorGeneratoridGetPathParamGeneratoridMysqlSqlInjectionTimebound] : Assertion [@ResponseTime < 7000 OR @ResponseTime > 10000] resolved-to [15227 < 7000 OR 15227 > 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=MTA4ZmNiNDMtYzBlOS00N2JiLWE1YTItOGY2NzZiZTZiNGJm; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Wed, 23 Jan 2019 09:56:11 GMT]}

Endpoint : http://localhost:8080/api/v1/api/v1/abac/generator/

Request :

Response :
{ "timestamp" : "2019-01-23T09:56:11.336+0000", "status" : 404, "error" : "Not Found", "message" : "No message available", "path" : "/api/v1/api/v1/abac/generator/" }

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