Security Experts:

Connect with us

Hi, what are you looking for?



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.

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 a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

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.

Join this webinar to learn best practices that organizations can use to improve both their resilience to new threats and their response times to incidents.


Join this live webinar as we explore the potential security threats that can arise when third parties are granted access to a sensitive data or systems.


Expert Insights

Related Content


Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...


Apple has released updates for macOS, iOS and Safari and they all include a WebKit patch for a zero-day vulnerability tracked as CVE-2023-23529.

Application Security

Drupal released updates that resolve four vulnerabilities in Drupal core and three plugins.

Cloud Security

VMware vRealize Log Insight vulnerability allows an unauthenticated attacker to take full control of a target system.

IoT Security

Lexmark warns of a remote code execution (RCE) vulnerability impacting over 120 printer models, for which PoC code has been published.

Application Security

A CSRF vulnerability in the source control management (SCM) service Kudu could be exploited to achieve remote code execution in multiple Azure services.


GoAnywhere MFT users warned about a zero-day remote code injection exploit that can be targeted directly from the internet