CVE-2016-9774 Path traversal in n/a
Local attackers with tomcat account access can gain root privileges or read sensitive data via symlink attacks on the Catalina localhost directory.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-9774?
CVE-2016-9774 is a high-severity path traversal vulnerability in Apache Tomcat, published on 23 Mar 2017. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The postinst script in the tomcat6 package before 6.0.45+dfsg-1~deb7u4 on Debian wheezy, before 6.0.35-1ubuntu3.9 on Ubuntu 12.04 LTS and on Ubuntu 14.04 LTS; the tomcat7 package before 7.0.28-4+deb7u8 on Debian wheezy, before 7.0.56-3+deb8u6 on Debian jessie, before 7.0.52-1ubuntu0.8 on Ubuntu 14.04 LTS, and on Ubuntu 12.04 LTS, 16.04 LTS, and 16.10; and the tomcat8 package before 8.0.14-1+deb8u5 on Debian jessie, before 8.0.32-1ubuntu1.3 on Ubuntu 16.04 LTS, before 8.0.37-1ubuntu0.1 on Ubuntu 16.10, and before 8.0.38-2ubuntu1 on Ubuntu 17.04 might allow local users with access to the tomcat account to obtain sensitive information or gain root privileges via a symlink attack on the Catalina localhost directory.
Weakness: CWE-59
Which versions are affected by CVE-2016-9774?
It affects 3 products.
Products include Apache Tomcat, Canonical Ubuntu Linux, Debian Debian Linux.
How do I fix CVE-2016-9774?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2016-9774 being exploited?
There is no known exploitation of CVE-2016-9774 in the wild and no public exploit code.
Other vulnerabilities in Apache Tomcat
Sources
Also known as DLA-746-1, DLA-753-1, GHSA-wfvx-wr33-m97w, UBUNTU-CVE-2016-9774.