CVE-2016-5425 Privilege escalation in n/a

High 7.8 Published Updated

Local users in the tomcat group can gain root privileges due to weak file permissions on the Tomcat tmpfiles configuration.

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-5425?

CVE-2016-5425 is a high-severity vulnerability in Apache Tomcat, published on 13 Oct 2016. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The Tomcat package on Red Hat Enterprise Linux (RHEL) 7, Fedora, CentOS, Oracle Linux, and possibly other Linux distributions uses weak permissions for /usr/lib/tmpfiles.d/tomcat.conf, which allows local users to gain root privileges by leveraging membership in the tomcat group.

Weakness: CWE-276

Which versions are affected by CVE-2016-5425?

It affects 1 product.

Products include Apache Tomcat.

How do I fix CVE-2016-5425?

Apply the vendor's patch.

Is CVE-2016-5425 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-5425 exists.

Public exploit code: 1 Metasploit module and 1 Exploit-DB entry.

All Apache Tomcat vulnerabilities

Sources

Also known as GHSA-c7fc-mp9g-99j3, MINI-6q24-jvh2-3jpg, MINI-9jqx-pp7p-8523, MINI-w336-mpmj-v3fh.

Is CVE-2016-5425 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free