Low, CVSS 3.9MavenPublished
Eclipse Jetty XmlParser allows arbitrary DOCTYPE declarations
GHSA-58qw-p7qm-5rvh
- Affected
- Maven org.eclipse.jetty:jetty-xml >= 11.0.0-alpha0, <= 11.0.15; >= 10.0.0-alpha0, <= 10.0.15; >= 12.0.0.alpha0, <= 12.0.0.beta4; <= 9.4.51
- Fixed in
- 10.0.169.4.52.v2023082311.0.1612.0.0· Vendor fix available
- Issue
- From the reporter XmlParser is vulnerable to XML external entity (XXE) vulnerability. XmlParser is being used when parsing Jetty’s xml configuration files. An attacker might exploit this vulnerability in order to achieve SSRF or cause a denial of service. One possible scenario is importing a (remote) malicious WAR into a Jetty’s server, while the WAR includes a malicious web.xml. Impact There are no circumstances in a normally deployed Jetty server where potentially hostile XML is given to the XmlParser class without the attacker already having arbitrary access to the server. I.e. in order to exploit XmlParser the attacker would already have the ability to deploy and execute hostile code. Specifically, Jetty has no protection against malicious web application and potentially hostile web applications should only be run on an isolated virtualisation. Thus this is not considered a vulnerability of the Jetty server itself, as any such usage of the jetty XmlParser is equally vulnerable as…
Recommended action: Upgrade to 12.0.0, 11.0.16, 10.0.16 or 9.4.52.v20230823 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.