Ghostcat
Ghostcat is a file read/inclusion vulnerability in Apache Tomcat's Apache JServ Protocol (AJP) connector affecting versions 9.0.0.M1–9.0.0.30, 8.5.0–8.5.50, and 7.0.0–7.0.99. These releases enabled AJP by default and bound it to all configured IP addresses. Tomcat's elevated trust in AJP connections allows an attacker who can reach the connector to retrieve arbitrary files within a web application or cause web-application files to be processed as JavaServer Pages (JSP). If the attacker can upload or otherwise control file content within the web application, JSP processing can enable remote code execution.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Unauthenticated attackers with AJP access can disclose web-application source code, configuration, credentials, and other sensitive application files. File disclosure is scoped to the web application, rather than unrestricted filesystem access. Where attackers can place controlled content within the application, exploitation can execute arbitrary code with the Tomcat process's privileges, compromising application data and service integrity and availability.
If you can’t patch tonight, do this now.
Disable the AJP connector when unnecessary and use HTTP or HTTPS for proxy-to-application communication instead. If AJP must remain enabled, restrict its bind address and firewall access to trusted proxy hosts and configure a strong shared secret on both the connector and compatible front-end proxies. Update dependent proxy configurations before disabling AJP to avoid service disruption. Do not expose AJP to untrusted networks.
Patch, then assume compromise.
Upgrade to a supported Tomcat release containing the fix. The first fixed releases are 9.0.31, 8.5.51, and 7.0.100. For vendor-packaged or embedded Tomcat and JBoss Web deployments, install the applicable vendor security update, which may backport the fix without adopting these upstream version numbers. Review AJP connector and front-end proxy configuration after updating because hardened defaults may require configuration changes. Restart the affected service as required for the update to take effect.
17 exploits validated by Mallory's analysis. Hidden: 9 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
46 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.