Ghostcat: AJP request-attribute injection in Apache Tomcat
A trusted binary connector maps any attribute name it receives onto the request, so a client can set the internal include attributes and make the server serve files it should never expose, such as WEB-INF.
- Product
- Apache Tomcat (AJP Connector)
- Vendor
- Apache Software Foundation
- Affected
- 7.0.0 to 7.0.99, 8.5.0 to 8.5.50, 9.0.0.M1 to 9.0.30
- Fixed in
- 7.0.100, 8.5.51, 9.0.31
- Weakness
- CWE-706
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 24 Feb 2020
Classified as
References
Related CVEs
- CVE-2025-24813critical 9.82025
Apache Tomcat partial PUT path-equivalence RCE
Tomcat derived partial-PUT temporary filenames from the request path by replacing separators with dots, allowing a predictable file collision that can place attacker-controlled serialized bytes where file-backed session persistence later deserializes them.
- CVE-2024-50379critical 9.82024
Apache Tomcat case-folding JSP compilation race
Concurrent resource reads and writes were not serialized, so differently cased paths that resolve to one file on a case-insensitive filesystem could race Tomcat's resource metadata and let content uploaded through the default servlet be compiled as JSP.
- CVE-2023-46604critical 9.82023
Apache ActiveMQ OpenWire reflective class instantiation RCE
The OpenWire protocol marshaller rebuilds an exception by reflectively instantiating an attacker-named class with an attacker-supplied string, so a crafted frame can construct a gadget class and run code on the broker.
- CVE-2022-42889critical 9.82022
Text4Shell: default script lookup in string interpolation
A string-interpolation helper enables every built-in lookup by default, including one that evaluates scripts, so untrusted input containing an interpolation reference runs code.