Description
The XSL stylesheet implementation in WebKit in Apple Safari before 4.0, iPhone OS 1.0 through 2.2.1, and iPhone OS for iPod touch 1.1 through 2.2.1 does not properly handle XML external entities, which allows remote attackers to read arbitrary files via a crafted DTD, as demonstrated by a file:///etc/passwd URL in an entity declaration, related to an "XXE attack."
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 5.0 | qt4-x11 | 4.4.3-1+lenny1 | DSA-1988-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
- WebKit - XML External Entity Information Disclosure EDB-33034 · remote · May 8, 2009 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-1988-1 qt4-x11 - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://support.apple.com/kb/HT3639
- 43068 third-party-advisory
- ADV-2009-1621 vdb-entry
- 8907 exploit
- ADV-2011-0212 vdb-entry
- http://scary.beasts.org/security/CESA-2009-006.html
- APPLE-SA-2009-06-08-1 vendor-advisory
- 54972 vdb-entry
- 35260 vdb-entry
- ADV-2009-1522 vdb-entry
- APPLE-SA-2009-06-17-1 vendor-advisory
- SUSE-SR:2011:002 vendor-advisory
- 35379 third-party-advisory
- USN-857-1 vendor-advisory
- 35321 vdb-entry
- http://scarybeastsecurity.blogspot.com/2009/06/apples-safari-4-fixes-local-file-theft.html
- http://support.apple.com/kb/HT3613