CVE-2009-5067

html2ps < 1.0b6 - Path Traversal via SSI Include File Directive

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2009-5067. PoCs published by epiphant.

AI-analyzed exploit summary This exploit demonstrates an arbitrary file disclosure vulnerability in html2ps <= 1.0 beta5 by leveraging the SSI (Server Side Include) directive to traverse directories and include sensitive files like /etc/passwd. The exploit generates an HTML file with a malicious SSI directive and processes it using html2ps to disclose the file contents.

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by epiphant · pythonwebappsmultiple
https://www.exploit-db.com/exploits/10012

This exploit demonstrates an arbitrary file disclosure vulnerability in html2ps <= 1.0 beta5 by leveraging the SSI (Server Side Include) directive to traverse directories and include sensitive files like /etc/passwd. The exploit generates an HTML file with a malicious SSI directive and processes it using html2ps to disclose the file contents.

Classification
Working Poc 100%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: html2ps <= 1.0 beta5
No auth needed
Prerequisites: SSI support enabled in html2ps (default setting) · Ability to execute html2ps on the target system
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (8)

Core 8
Core References
Vendor Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2012:161
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/10/05/5
Issue Tracking x_refsource_misc
https://bugzilla.redhat.com/show_bug.cgi?id=526513
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/10/05/1
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/36524

Scores

EPSS 0.0763
EPSS Percentile 93.8%

Details

CWE
CWE-22
Status published
Products (2)
html2ps_project/html2ps 1.0 b1 (4 CPE variants)
html2ps_project/html2ps < 1.0
Published Oct 10, 2012
Tracked Since Feb 18, 2026