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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | html2ps | 1.0b7-1 | — |
| Debian 13 | html2ps | 1.0b7-1 | — |
| Debian 12 | html2ps | 1.0b7-1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- html2ps - 'include file' Server-Side Include Directive Directory Traversal EDB-10012 · webapps · Sep 25, 2009 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://packetstormsecurity.org/files/81614/html2ps-1.0-beta5-File-Disclosure.html
- [oss-security] 20121005 Re: CVE Request: html2ps mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=526513
- [oss-security] 20121005 CVE Request: html2ps mailing-list
- 36524 vdb-entry
- MDVSA-2012:161 vendor-advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548633
- http://user.it.uu.se/~jan/html2ps-1.0b7.tar.gz