CVE-2021-28169 in eclipse jetty
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
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 software: eclipse jetty, oracle communications cloud native core policy, oracle rest data services, netapp active iq unified manager, netapp hci, netapp management services for element software, netapp snap creator framework, debian linux
Scores
- CVSS: 5.3 (medium)
- EPSS: 77.69% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2021-06-09
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Upgrade Eclipse Jetty to 9.4.41, 10.0.3 or 11.0.3 or later
Patch or upgrade. Jetty ConcatServlet and WelcomeFilter decode a double-encoded path after the WEB-INF check and serve protected files. The fixed releases check the decoded path.
Applies to: Eclipse Jetty 9.4.40 and earlier, 10.0.0 to 10.0.2, 11.0.0 to 11.0.2, and products that bundle them.
- Find the Jetty version in use (jetty-server jar name, or the Server header in a test request).
- Upgrade Jetty to 9.4.41, 10.0.3, 11.0.3 or a later release of the same line, or upgrade the product that bundles it.
- If the ConcatServlet is not needed, remove it from web.xml.
- Restart the service and confirm that /concat?/%2557EB-INF/web.xml no longer returns web.xml.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.