CVE-2008-5377 Path traversal in n/a

Medium 6.9 Published Updated

Local attackers can overwrite arbitrary files via symlink attacks on temporary logs in CUPS, requiring local access.

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

CVE-2008-5377 is a medium-severity path traversal vulnerability in Apple Cups, published on 8 Dec 2008. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

pstopdf in CUPS 1.3.8 allows local users to overwrite arbitrary files via a symlink attack on the /tmp/pstopdf.log temporary file, a different vulnerability than CVE-2001-1333.

Weakness: CWE-59

Which versions are affected by CVE-2008-5377?

It affects 1 product.

Products include Apple Cups.

How do I fix CVE-2008-5377?

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-5377 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-5377 exists.

Public exploit code: 1 Exploit-DB entry.

All Apple Cups vulnerabilities

Sources

Also known as DEBIAN-CVE-2008-5377, GHSA-4fjp-m2ph-c7hw.

Is CVE-2008-5377 in your software?

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

Check your SBOMs for free