Description
The XML parsers in iText before 5.5.12 and 7.x before 7.0.3 do not disable external entities, which might allow remote attackers to conduct XML external entity (XXE) attacks via a crafted PDF.
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.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
GitHub 1 repository
-
jakabakos/CVE-2017-9096-iText-XXE ★ 13 · May 18, 2022
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | com.itextpdf:itextpdf | < 5.5.12 | 5.5.12 | GHSA-86p9-x5pw-94qx |
| Maven | com.itextpdf:itextpdf | >= 7.0.0, < 7.0.3 | 7.0.3 | GHSA-86p9-x5pw-94qx |
| Maven | com.lowagie:itext | <= 4.2.2 | — | GHSA-86p9-x5pw-94qx |
Advisories 1
- WID-SEC-2023-1048 Oracle Construction and Engineering: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 4, 2024
References
- 20171106 CVE-2017-9096 iText XML External Entity Vulnerability mailing-list
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03902en_us
- https://www.compass-security.com/fileadmin/Datein/Research/Advisories/CSNC-2017-017_itext_xml_external_entity_attack.txt