CVE-2008-5302 Race condition in n/a
Local attackers can exploit a race condition in Perl's File::Path to create setuid binaries, leading to privilege escalation.
- 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-2008-5302?
CVE-2008-5302 is a medium-severity vulnerability in n/a, published on 1 Dec 2008. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Race condition in the rmtree function in File::Path 1.08 and 2.07 (lib/File/Path.pm) in Perl 5.8.8 and 5.10.0 allows local users to create arbitrary setuid binaries via a symlink attack, a different vulnerability than CVE-2005-0448, CVE-2004-0452, and CVE-2008-2827. NOTE: this is a regression error related to CVE-2005-0448. It is different from CVE-2008-5303 due to affected versions.
Weakness: CWE-362
Which versions are affected by CVE-2008-5302?
It affects 1 product.
Products include Perl File\.
How do I fix CVE-2008-5302?
Upgrade to a fixed version.
Is CVE-2008-5302 being exploited?
There is no known exploitation of CVE-2008-5302 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2008-5302, GHSA-8vc4-5x78-9hxf.