CVE-2016-6185 Path traversal in n/a
Local attackers can execute arbitrary code by placing a malicious library in the current working directory, exploiting improper file location in Perl's XSLoader.
- 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-6185?
CVE-2016-6185 is a high-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 2 Aug 2016. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which might allow local users to execute arbitrary code via a Trojan horse library under the current working directory.
Which versions are affected by CVE-2016-6185?
It affects 5 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Oracle Solaris, Perl Perl.
How do I fix CVE-2016-6185?
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-6185 being exploited?
There is no known exploitation of CVE-2016-6185 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2016-6185, GHSA-6f2m-6xw2-h922, MGASA-2016-0299, UBUNTU-CVE-2016-6185.