Explore our new Cybersecurity Terms Glossary, explained by our experts.

View the Glossary View the Glossary
Home / Blog / Newsletter / Cybersecurity Bulletin #45: Ghostcat Affects Every Apache Tomcat Version
5 March 2020

Cybersecurity Bulletin #45: Ghostcat Affects Every Apache Tomcat Version

Cybersecurity Bulletin #45: Ghostcat Affects Every Apache Tomcat Version

Originally published on 5 March 2020. The products, versions, and fixes named below were current at that date.

Chaitin Tech security researchers have identified a critical vulnerability affecting every version of Apache Tomcat released in the past 13 years. The flaw, named Ghostcat and tracked as CVE-2020-1938, allows attackers to read files in the webapps directory without authenticating and, where the server allows file uploads, to execute code remotely.

The vulnerability stems from AJP (the Apache JServ Protocol), which allows Tomcat to communicate with the Apache server. The AJP protocol uses port 8009/TCP by default and binds to the IP address 0.0.0.0. If the AJP connector is enabled and the AJP connector port can be reached from outside, attackers can exploit Ghostcat.

Ghostcat was fixed with the release of Apache Tomcat 9.0.31, 8.5.51, and 7.0.100. Apache Tomcat should be updated as soon as possible. Where it cannot be updated immediately, access to the AJP port can be closed or the AJP listening address changed to localhost so that attackers cannot exploit the flaw.

A Ten-Year-Old Critical Vulnerability Found in Facebook

A security researcher has discovered a ten-year-old critical vulnerability in Facebook. It stems from the way applications connected to Facebook communicate with it. Attackers exploiting it can take over users’ Facebook accounts.

Users can sign in to third-party applications connected to Facebook with the Login with Facebook feature. When that feature is used, Facebook and the third-party application exchange tokens through the OAuth 2.0 protocol and authentication takes place. Attackers exploiting this vulnerability can hijack the OAuth flow while Facebook and the third-party application communicate, and obtain the token of a user account. That gives attackers access to users’ Instagram, Oculus, Netflix, Tinder, Spotify, and similar accounts.

The researcher who reported the flaw to Facebook was rewarded with $55,000. The Facebook team fixed it.

Let’s Encrypt Is Revoking TLS Certificates

Let’s Encrypt, one of the most popular free certificate signing authorities, stated that more than 3 million TLS certificates would be revoked within 24 hours. The fault, which Let’s Encrypt confirmed on 29 February and corrected two hours after it was identified, was in the mechanism that checks domain ownership before issuing new TLS certificates. It caused certificates to be issued without sufficient validation of the domain names.

Certification Authority Authorization (CAA), an internet security policy, lets domain owners tell certificate authorities whether they are authorised to issue a digital certificate for a particular domain name. Let’s Encrypt treats domain validation results as valid for 30 days from the date of validation and then rechecks the CAA record authorising the domain name before issuing the certificate.

The fault in the code of Boulder, the certificate signing software used by Let’s Encrypt, meant that when a certificate request contained “N” domain names whose CAA had to be rechecked, one of the domains in the certificate was selected and that single domain was checked N times. When a certificate was requested for 5 domain names, for example, each of the 5 should have been checked, but only 1 of the 5 was selected and checked.

Let’s Encrypt published a list of the affected certificates so that site owners could check whether the certificate in use had to be replaced.

Nvidia Has Released a Security Patch

Nvidia has released patches for vulnerabilities in its graphics driver that lead to remote code execution, denial of service, and local privilege escalation. The flaws in Nvidia’s graphics driver make gamers a target and affect the display drivers used on GeForce, Quadro, and Tesla GPUs on Windows.

The most critical of the identified flaws was found in the control panel of the graphics driver. It allows an attacker to carry out a denial of service attack and to escalate privileges locally. The vulnerability, tracked as CVE-2020-5957, was rated 8.4 out of 10.0 under CVSS. The flaw tracked as CVE-2020-5958 allows an attacker to execute code remotely, cause a denial of service, and expose sensitive information by loading a malicious DLL into the control panel. The affected and updated versions for CVE-2020-5957 and CVE-2020-5958 are listed in Nvidia’s advisory.

Vulnerabilities were also identified in Virtual GPU (vGPU) Manager, which allows several virtual machines on virtualised operating systems to reach a single physical GPU directly and at the same time. According to Nvidia, the flaw in the Virtual GPU plugin tracked as CVE-2020-5959 causes a denial of service through incorrect validation of an input value. It was rated 7.8 out of 10.0 under CVSS. Users are advised to apply the latest updates.

You May Be Interested In These