5.3medium
Jetty Utility Servlets ConcatServlet Double Decoding Information Disclosure Vulnerability
- Severity
- 5.3medium CVSS:3.1 by eclipse
- Exploit likelihood
- 77.7% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- eclipse
- Also known as
- GHSA-gwcr-j4wh-j3cq
Description
For Eclipse Jetty versions <= 9.4.40, <= 10.0.2, <= 11.0.2, it is possible for requests to the ConcatServlet with a doubly encoded path to access protected resources within the WEB-INF directory. For example a request to `/concat?/%2557EB-INF/web.xml` can retrieve the web.xml file. This can reveal sensitive information regarding the implementation of a web application.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| The Eclipse Foundation Eclipse Jetty | from unspecified up to 9.4.40, from unspecified up to 10.0.2, from unspecified up to 11.0.2 | CVE List |
| org.eclipse.jetty:jetty-servlets (Maven) | before 9.4.41, from 10.0.0 before 10.0.3, from 11.0.0 before 11.0.3 | GitHub Advisory Database |
| eclipse jetty | before 9.4.41, from 10.0.0 before 10.0.3, from 11.0.0 before 11.0.3 | NVD |
| debian debian_linux | 9.0, 10.0 | NVD |
| oracle communications_cloud_native_core_policy | 1.14.0 | NVD |
| oracle rest_data_services | before 21.3 | NVD |
| netapp active_iq_unified_manager | Not specified | NVD |
| netapp hci | Not specified | NVD |
| netapp management_services_for_element_software | Not specified | NVD |
| netapp snap_creator_framework | Not specified | NVD |
All scores
| eclipse | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
For Eclipse Jetty versions <= 9.4.40, <= 10.0.2, <= 11.0.2, it is possible for requests to the ConcatServlet with a doubly encoded path to access protected resources within the WEB-INF directory. For example a request to `/concat?/%2557EB-INF/web.xml` can retrieve the web.xml file. This can reveal sensitive information regarding the implementation of a web application.
GitHub Advisory Database
Requests to the ConcatServlet and WelcomeFilter are able to access protected resources within the WEB-INF directory. For example a request to the ConcatServlet with a URI of /concat?/%2557EB-INF/web.xml can retrieve the web.xml file. This can reveal sensitive information regarding the implementation of a web application.
This occurs because both ConcatServlet and WelcomeFilter decode the supplied path to verify it is not within the WEB-INF or META-INF directories. It then uses this decoded path to call RequestDispatcher which will also do decoding of the path. This double decoding allows paths with a doubly encoded WEB-INF to bypass this security check.
Impact
This affects all versions of ConcatServlet and WelcomeFilter in versions before 9.4.41, 10.0.3 and 11.0.3.
Workarounds
If you cannot update to the latest version of Jetty, you can instead deploy your own version of the ConcatServlet and/or the WelcomeFilter by using the code from the latest version of Jetty.
NVD (es)
Para Eclipse Jetty versiones anteriores a 9.4.40 incluyéndola, versiones anteriores a 10.0.2 incluyéndola, versiones anteriores a 11.0.2 incluyéndola, es posible que las peticiónes al ConcatServlet con una ruta doblemente codificada acceder a recursos protegidos dentro del directorio WEB-INF. Por ejemplo, una petición a "/concat?/%2557EB-INF/web.xml" puede recuperar el archivo web.xml. Esto puede revelar información confidencial sobre la implementación de una aplicación web
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-28169 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gwcr-j4wh-j3cq changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-28169 changed 2026-06-17 | Public domain |