Miggo Logo

CVE-2024-28109: veraPDF has potential XSLT injection vulnerability when using policy files

8.1

CVSS Score
3.1

Basic Information

EPSS Score
0.81239%
Published
5/20/2024
Updated
1/17/2025
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.verapdf:coremaven< 1.24.21.24.2
org.verapdf:core-jakartamaven< 1.24.21.24.2
org.verapdf:core-arlingtonmaven< 1.25.1271.25.127
org.verapdf:verapdf-library-arlingtonmaven< 1.25.1271.25.127
org.verapdf:verapdf-librarymaven< 1.24.21.24.2
org.verapdf:verapdf-library-jakartamaven< 1.24.21.24.2

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from insecure XSLT processing configurations in multiple classes. Key indicators:

  1. All affected files used TransformerFactory without FEATURE_SECURE_PROCESSING and ACCESS_EXTERNAL_STYLESHEET restrictions
  2. The patches explicitly add these security features in static initializers
  3. The commit message confirms 'Set secure parameter for xslt transformation'
  4. CWE-91 directly maps to XML/XSLT injection scenarios
  5. The vulnerability manifests when processing user-supplied policy files through these transformation functions High confidence because:
  • The pre-patch code clearly lacks security features shown in the diffs
  • The CVE description explicitly links XSLT processing to RCE
  • Multiple classes with XSLT handling were simultaneously patched

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Imp**t *x**utin* poli*y ****ks usin* *ustom s***m*tron *il*s invok*s *n XSL tr*ns*orm*tion t**t m*y t**or*ti**lly l*** to * r*mot* *o** *x**ution (R**) vuln*r**ility. ### P*t***s T*is **s ***n p*t**** *n* us*rs s*oul* up*r*** to v*r*P** v*.**.

Reasoning

T** vuln*r**ility st*ms *rom ins**ur* XSLT pro**ssin* *on*i*ur*tions in multipl* *l*ss*s. K*y in*i**tors: *. *ll *****t** *il*s us** Tr*ns*orm*r***tory wit*out ***TUR*_S**UR*_PRO**SSIN* *n* ****SS_*XT*RN*L_STYL*S***T r*stri*tions *. T** p*t***s *xpli