Input validation error in Jetty - CVE-2021-28164

 

Input validation error in Jetty - CVE-2021-28164

Published: April 1, 2021 / Updated: November 25, 2021


Vulnerability identifier: #VU51877
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:A/U:Green
CVE-ID: CVE-2021-28164
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Eclipse
Affected software:
Jetty

Detailed vulnerability description

The vulnerability allows a remote attacker to gain access to sensitive informatoin.

The vulnerability exists due to insufficient validation of user-supplied input when processing special characters, passed via URI. A remote attacker can use %2e or %2e%2e segments to access protected resources within the WEB-INF directory.

Example:

http://[host]/context/%2e/WEB-INF/web.xml


How to mitigate CVE-2021-28164

Install updates from vendor's website.

Sources