CVE-2008-4982 Path traversal in n/a

Medium 6.9 Published Updated

Local attackers can overwrite arbitrary files via symlink attacks on temporary files, potentially compromising system integrity.

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

CVE-2008-4982 is a medium-severity path traversal vulnerability in n/a, published on 6 Nov 2008. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

rkhunter in rkhunter 1.3.2 allows local users to overwrite arbitrary files via a symlink attack on the /tmp/rkhunter-debug temporary file. NOTE: this is probably a different vulnerability than CVE-2005-1270.

Weakness: CWE-59

Which versions are affected by CVE-2008-4982?

It affects 1 product.

Linux distribution packages (1)
rkhunter openSUSE:TumbleweedAll versions1.4.6-5.6

Products include John Horne Rkhunter.

How do I fix CVE-2008-4982?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2008-4982 being exploited?

There is no known exploitation of CVE-2008-4982 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2008-4982, GHSA-hcm4-3mhf-gmfh, openSUSE-SU-2024:11301-1.

Is CVE-2008-4982 in your software?

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

Check your SBOMs for free