veraPDF RCE via Custom Schematron XSLT in CLI
CVE-2024-52800 Published on November 29, 2024
Potential XXE (XML External Entity Injection) vulnerability in veraPDF CLI
veraPDF is an open source PDF/A validation library. Executing policy checks using custom schematron files via the CLI invokes an XSL transformation that may theoretically lead to a remote code execution (RCE) vulnerability. This doesn't affect the standard validation and policy checks functionality, veraPDF's common use cases. Most veraPDF users don't insert any custom XSLT code into policy profiles, which are based on Schematron syntax rather than direct XSL transforms. For users who do, only load custom policy files from sources you trust. This issue has not yet been patched. Users are advised to be cautious of XSLT code until a patch is available.
Weakness Type
What is a XXE Vulnerability?
The software processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.
CVE-2024-52800 has been classified to as a XXE vulnerability or weakness.
Affected Versions
veraPDF-library Version <= 1.26.1 is affected by CVE-2024-52800Vulnerable Packages
The following package name and versions may be associated with CVE-2024-52800
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| maven | org.verapdf:core | <= 1.26.1 | |
| maven | org.verapdf:core-jakarta | <= 1.26.1 | |
| maven | org.verapdf:core-arlington | <= 1.26.1 | |
| maven | org.verapdf:verapdf.library | <= 1.26.1 | |
| maven | org.verapdf:verapdf-library-jakarta | <= 1.26.1 | |
| maven | org.verapdf:verapdf-library-arlington | <= 1.26.1 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.