Host file disclosure via unrestricted XAR DOCTYPE
Published Mar 7, 2023 · Updated Feb 25, 2025
XXE in XWiki Platform allows remote authenticated users with document edit rights to read host files through a forged XAR import. XarPackage.readDescriptor passes the attacker-controlled package.xml descriptor to a DocumentBuilderFactory that permits DOCTYPE declarations and resolves external file entities. The attacker must attach the archive to an editable document and invoke the import sheet; exploitation discloses readable server files without reported data modification or service interruption.
Summary
What happened
XXE in XWiki Platform allows remote authenticated users with document edit rights to read host files through a forged XAR import. XarPackage.readDescriptor passes the attacker-controlled package.xml descriptor to a DocumentBuilderFactory that permits DOCTYPE declarations and resolves external file entities. The attacker must attach the archive to an editable document and invoke the import sheet; exploitation discloses readable server files without reported data modification or service interruption.
The record
- CVE
- CVE-2023-27480
- Published
- Mar 7, 2023
- Updated
- Feb 25, 2025
- Vendor
- CryptPad
- Product
- XWiki Platform
- Classifications
- CWE-611, T1005
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 7, 2023CVE publishedPublication date reported by the CVE source.
- Feb 25, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 1.1-milestone-3, < 13.10.11
- Affected versionversion=>= 14.0.0, < 14.4.7
- Affected versionversion=>= 14.5.0, < 14.10.0-rc-1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream forged XAR XXE reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo