CVE-2007-6358 Path traversal in n/a

Medium 4.9 Published Updated

Local attackers can overwrite arbitrary files via symlink attacks on temporary files in the pdftops filter, 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-2007-6358?

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

Official description

pdftops.pl before 1.20 in alternate pdftops filter allows local users to overwrite arbitrary files via a symlink attack on the pdfin.[PID].tmp temporary file, which is created when pdftops reads a PDF file from stdin, such as when pdftops is invoked by CUPS.

Which versions are affected by CVE-2007-6358?

It affects 1 product.

Products include Glyph and Cog Pdftops.

How do I fix CVE-2007-6358?

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-2007-6358 being exploited?

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

Sources

Also known as DEBIAN-CVE-2007-6358, GHSA-25gm-5rg6-r2ph.

Is CVE-2007-6358 in your software?

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

Check your SBOMs for free