Skip to content
OpenAdvisories
Medium · 5.3 Scanner template Public exploit CVE-2021-28164 EUVD-2021-0877GHSA-v7ff-8wcx-gmc5

Authorization Before Parsing and Canonicalization in jetty

Published Apr 1, 2021 · Updated Aug 3, 2024 · Assigned by eclipse

Description

In Eclipse Jetty 9.4.37.v20210219 to 9.4.38.v20210224, the default compliance mode allows requests with URIs that contain %2e or %2e%2e segments to access protected resources within the WEB-INF directory. For example a request to /context/%2e/WEB-INF/web.xml can retrieve the web.xml file. This can reveal sensitive information regarding the implementation of a web application.

Affected products

VendorProductAffectedFixed
The Eclipse Foundation Eclipse Jetty 9.4.37.v20210219 – < unspecified, unspecified – ≤ 9.4.38.v20210224 unspecified

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jetty9 9.4.39-1 —
Debian 13 jetty9 9.4.39-1 —
Debian 12 jetty9 9.4.39-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS equinox-bundles No fix yet —
Ubuntu 20.04 LTS equinox-bundles No fix yet —
Ubuntu 18.04 LTS equinox-bundles No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Devtools 2021 rh-eclipse-jetty +14 9.4.40-1.1.el7_9 RHSA-2021:1509
ReleasePackageFixed inAdvisory
SLES 15 SP3 jetty-minimal 9.4.42-3.9.1 SUSE-SU-2021:2005-1
SLES 15 SP2 jetty-minimal 9.4.42-3.9.1 SUSE-SU-2021:2005-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 jetty-minimal +1 9.4.42-3.9.1 openSUSE-SU-2021:2005-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 1

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.eclipse.jetty:jetty-webapp >= 9.4.37, < 9.4.39 9.4.39 GHSA-v7ff-8wcx-gmc5

Advisories 4

References