CVE-2008-5135 Path traversal in n/a

Medium 6.2 Published Updated

Local attackers can overwrite arbitrary files via symlink attacks on temporary files in os-prober, 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
None listed

What is CVE-2008-5135?

CVE-2008-5135 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

os-prober in os-prober 1.17 allows local users to overwrite arbitrary files via a symlink attack on the (1) /tmp/mounted-map or (2) /tmp/raided-map temporary file. NOTE: the vendor disputes this issue, stating "the insecure code path should only ever run inside a d-i environment, which has no non-root users.

Weakness: CWE-59

Which versions are affected by CVE-2008-5135?

It affects 1 product.

Products include Debian Os-Prober.

How do I fix CVE-2008-5135?

No fix has been published for CVE-2008-5135 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2008-5135 being exploited?

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

Sources

Also known as BELL-CVE-2008-5135, DEBIAN-CVE-2008-5135, GHSA-6jcp-4mfr-qvpm.

Is CVE-2008-5135 in your software?

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

Check your SBOMs for free