CVE-2008-5138 Path traversal in n/a

Medium 6.9 Published Updated

Local attackers can overwrite arbitrary files via symlink attacks on temporary files in libpam-mount, 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-5138?

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

Official description

passwdehd in libpam-mount 0.43 allows local users to overwrite arbitrary files via a symlink attack on a /tmp/passwdehd.##### temporary file.

Weakness: CWE-59

Which versions are affected by CVE-2008-5138?

It affects 1 product.

Products include Bkleineidam Libpam Mount.

How do I fix CVE-2008-5138?

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-2008-5138 being exploited?

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

Sources

Also known as DEBIAN-CVE-2008-5138, GHSA-qxc6-8p8j-4r52, openSUSE-SU-2024:11142-1.

Is CVE-2008-5138 in your software?

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

Check your SBOMs for free