CVE-2009-5067 Path traversal in n/a

Medium 4.3 Published Updated

Remote attackers can read arbitrary files via path traversal in html2ps when invoked by a web application or via user-assisted attacks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2009-5067?

CVE-2009-5067 is a medium-severity path traversal vulnerability in n/a, published on 10 Oct 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in html2ps before 1.0b6 allows remote attackers to read arbitrary files via a .. (dot dot) in the "include file" SSI directive. NOTE: this issue only might be a vulnerability in limited scenarios, such as if html2ps is invoked by a web application, or if a user-assisted attacker provides filenames whose contents could cause a denial of service, such as certain devices.

Weakness: CWE-22

Which versions are affected by CVE-2009-5067?

It affects 1 product.

Products include Html2ps Project Html2ps.

How do I fix CVE-2009-5067?

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-2009-5067 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2009-5067, GHSA-q52q-xhwr-p2mr.

Is CVE-2009-5067 in your software?

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

Check your SBOMs for free