jaleelsyed / test1

0 stars 0 forks source link

Vulnerability [InvalidAuth] : POST:/api/v1/runs/job/{id} #659

Open jaleelsyed opened 5 years ago

jaleelsyed commented 5 years ago

Project : Vul

Template : ApiV1RunsJobIdPostAuthInvalid

Run Id : 8a80cb8169b9892c0169b98a91240000

Job : Default

Env : Default

Category : InvalidAuth

Tags : [OWASP A2, OWASP A5, OWASP A6, OWASP A7, [PCI DSS 3.0] 6.5.8, [PCI DSS 3.0] 6.5.10, OTG-AUTHN-004, FX Top 10 - API Vulnerability, Non-Intrusive]

Severity : Major

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 401

Headers : {WWW-Authenticate=[Basic realm="Realm", Basic realm="Realm"], 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], Content-Length=[0], Date=[Tue, 26 Mar 2019 10:27:56 GMT]}

Endpoint : http://localhost:8080/api/v1/runs/job/iKMDgvGJ

Request :

Response :

Logs :
2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : URL [http://localhost:8080/api/v1/runs/job/iKMDgvGJ] 2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : Method [POST] 2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : Request [] 2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic aW52YWxpZHVzZXJAZnhsYWJzLmlvOlRoaXNJc0ludmFsaWRQYXNzd29yZA==]}] 2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : Response [] 2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : Response-Headers [{WWW-Authenticate=[Basic realm="Realm", Basic realm="Realm"], 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], Content-Length=[0], Date=[Tue, 26 Mar 2019 10:27:56 GMT]}] 2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : StatusCode [401] 2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : Time [4370] 2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : Size [0] 2019-03-26 10:27:59 ERROR [ApiV1RunsJobIdPostAuthInvalid] : Assertion [@StatusCode == 401 AND @StatusCode == 403] resolved-to [401 == 401 AND 401 == 403] result [Failed]

--- FX Bot ---

jaleelsyed commented 5 years ago

Message : This issue is manually closed from FX control plane.

Project : Vul

Template : ApiV1RunsJobIdPostAuthInvalid

Run Id : 8a80cb8169b9892c0169b98a91240000

Job : Default

Env : Default

Category : InvalidAuth

Tags : null

Severity : Major

Region : FXLabs/US_WEST_1

Result : fail

Status Code : 401

Headers : {WWW-Authenticate=[Basic realm="Realm", Basic realm="Realm"], 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], Content-Length=[0], Date=[Tue, 26 Mar 2019 10:27:56 GMT]}

Endpoint : http://localhost:8080/api/v1/runs/job/iKMDgvGJ

Request :

Response :

Logs :
2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : URL [http://localhost:8080/api/v1/runs/job/iKMDgvGJ] 2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : Method [POST] 2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : Request [] 2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : Request-Headers [{Content-Type=[application/json], Accept=[application/json], Authorization=[Basic aW52YWxpZHVzZXJAZnhsYWJzLmlvOlRoaXNJc0ludmFsaWRQYXNzd29yZA==]}] 2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : Response [] 2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : Response-Headers [{WWW-Authenticate=[Basic realm="Realm", Basic realm="Realm"], 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], Content-Length=[0], Date=[Tue, 26 Mar 2019 10:27:56 GMT]}] 2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : StatusCode [401] 2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : Time [4370] 2019-03-26 10:27:59 DEBUG [ApiV1RunsJobIdPostAuthInvalid] : Size [0] 2019-03-26 10:27:59 ERROR [ApiV1RunsJobIdPostAuthInvalid] : Assertion [@StatusCode == 401 AND @StatusCode == 403] resolved-to [401 == 401 AND 401 == 403] result [Failed]

--- FX Bot ---