CVE-2021-28169
JSON

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 packageVersionsReported by
The Eclipse Foundation Eclipse Jettyfrom unspecified up to 9.4.40, from unspecified up to 10.0.2, from unspecified up to 11.0.2CVE 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.3GitHub Advisory Database
eclipse jettybefore 9.4.41, from 10.0.0 before 10.0.3, from 11.0.0 before 11.0.3NVD
debian debian_linux9.0, 10.0NVD
oracle communications_cloud_native_core_policy1.14.0NVD
oracle rest_data_servicesbefore 21.3NVD
netapp active_iq_unified_managerNot specifiedNVD
netapp hciNot specifiedNVD
netapp management_services_for_element_softwareNot specifiedNVD
netapp snap_creator_frameworkNot specifiedNVD

All scores

eclipse5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD5.0medium CVSS:2.0AV: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.&#xa0;Por ejemplo, una petición a "/concat?/%2557EB-INF/web.xml" puede recuperar el archivo web.xml.&#xa0;Esto puede revelar información confidencial sobre la implementación de una aplicación web

References

https://github.com/eclipse/jetty.project/security/advisories/GHSA-gwcr-j4wh-j3cqthird-party-advisory, web
https://lists.apache.org/thread.html/r2721aba31a8562639c4b937150897e24f78f747cdbda8641c0f659fe%40%3Cusers.kafka.apache.org%3Emailing-list
https://lists.debian.org/debian-lts-announce/2021/06/msg00017.htmlmailing-list, third-party-advisory, web
https://lists.apache.org/thread.html/ref1c161a1621504e673f9197b49e6efe5a33ce3f0e6d8f1f804fc695%40%3Cjira.kafka.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r29678972c3f8164b151fd7a5802785d402e530c09870a82ffc7681a4%40%3Cdev.kafka.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r04a4b4553a23aff26f42635a6ae388c3b162aab30a88d12e59d05168%40%3Cjira.kafka.apache.org%3Emailing-list
https://lists.apache.org/thread.html/rd5b52362f5edf98e0dcab6541a381f571cccc05ad9188e793af688f3%40%3Cjira.kafka.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r284de9c5399486dfff12ab9e7323ca720dd7019a9a3e11c8510a7140%40%3Cjira.kafka.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r234f6452297065636356f43654cdacef565b8f9ceb0e0c07ffb8c73b%40%3Cdev.kafka.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r91e34ff61aff8fd25a3f2a21539597c6ef7589a31c199b0a9546477c%40%3Cjira.kafka.apache.org%3Emailing-list
https://lists.apache.org/thread.html/rb1292d30462b9baedea7c5d9594fc75990d9aa0ec223b48054ca9c25%40%3Cjira.kafka.apache.org%3Emailing-list
https://www.debian.org/security/2021/dsa-4949third-party-advisory, vendor-advisory, web

Sources

SourceRecordLicence
CVE ListCVE-2021-28169 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-gwcr-j4wh-j3cq changed 2026-09-10CC-BY-4.0
NVDCVE-2021-28169 changed 2026-06-17Public domain