CVE-2009-5067
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
html2ps - 'include file' Server-Side Include Directive Directory Traversal
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1.0b7-1 |
| sid | Fixed | 1.0b7-1 |
| forky | Fixed | 1.0b7-1 |
| bullseye | Fixed | 1.0b7-1 |
| bookworm | Fixed | 1.0b7-1 |
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548633
- http://packetstormsecurity.org/files/81614/html2ps-1.0-beta5-File-Disclosure.html
- http://user.it.uu.se/~jan/html2ps-1.0b7.tar.gz
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:161
- http://www.openwall.com/lists/oss-security/2012/10/05/1
- http://www.openwall.com/lists/oss-security/2012/10/05/5
- http://www.securityfocus.com/bid/36524
- https://bugzilla.redhat.com/show_bug.cgi?id=526513
- https://security-tracker.debian.org/tracker/CVE-2009-5067
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.