Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

Apache Tomcat Affected by Serious ‘Ghostcat’ Vulnerability

A serious vulnerability affecting Apache Tomcat can be exploited to read files from a server and in some cases even to achieve remote code execution.

A serious vulnerability affecting Apache Tomcat can be exploited to read files from a server and in some cases even to achieve remote code execution.

Dubbed Ghostcat and tracked as CVE-2020-1938, the flaw was discovered by researchers at Chinese cybersecurity firm Chaitin Tech, who reported their findings to the Apache Software Foundation on January 3.

The vulnerability affects versions 6, 7, 8 and 9 of the open source Java servlet container. Patches were made available earlier this month with the release of versions 9.0.31, 8.5.51 and 7.0.100. Version 6 is no longer supported, but the fact that it’s impacted shows that the vulnerability has existed for more than a decade.Ghostcat

Chaitin says the vulnerability is related to the Apache JServ Protocol (AJP) protocol, which is designed to improve performance by proxying inbound requests from a web server through to an application server.

The AJP connector used by Tomcat is affected by a weakness that can be exploited by a remote, unauthenticated attacker to access configuration and source code files for web applications deployed on a server. If the system allows users to upload files, an attacker can upload malicious JavaServer Pages (JSP) code to the server and use Ghostcat to execute that code.

Ghostcat affects the default configuration of Tomcat and many servers may be vulnerable to attacks directly from the internet.

Chaitin disclosed its findings last week and several proof-of-concept (PoC) exploits have been publicly released by different researchers. Chaitin has made available both online and offline tools that can be used to determine if a server is affected by Ghostcat.

Advertisement. Scroll to continue reading.

Affected Linux distributions, such as Red Hat and SUSE, have released advisories for their users. An analysis of the vulnerability has also been published by Tenable.

Related: Symantec Warns of Apache Tomcat Server Worm

Related: Code Execution Flaws Patched in Apache Tomcat

Related: Information Disclosure, DoS Flaws Patched in Apache Tomcat

Written By

Eduard Kovacs (@EduardKovacs) is senior managing editor at SecurityWeek. He worked as a high school IT teacher before starting a career in journalism in 2011. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Click to comment

You must be logged in to post a comment Login

Leave a Reply

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

NOW LIVE: CISO Forum 2026 Summit

Join as we bring together CISOs, senior cybersecurity executives, practitioners, industry experts, and other security leaders to share practical experience and examine the issues shaping enterprise cybersecurity strategy.

Register

Join to learn the four levels of architecting security into the agentic SDLC – from securing the code your developers' agents write to running a coordinated system of security agents you've built yourself.

Register

People on the Move

Cohere has appointed Jaya Baloo as CISO.

Jensen Huang has resigned as President and Chief Executive Officer at NVIDIA.

Sean Sweeney has become CIO of the City of Charleston, South Carolina.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.