Lucene search

K
osvGoogleOSV:GHSA-QXQF-2MFX-X8JW
HistoryMay 20, 2024 - 2:57 p.m.

veraPDF has potential XSLT injection vulnerability when using policy files

2024-05-2014:57:07
Google
osv.dev
8
verapdf
xslt injection
vulnerability
patched
policy checks
schematron
rce
upgrade

CVSS3

8.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

AI Score

7.7

Confidence

Low

EPSS

0

Percentile

15.5%

Impact

Executing policy checks using custom schematron files invokes an XSL transformation that may theoretically lead to a remote code execution (RCE) vulnerability.

Patches

This has been patched and users should upgrade to veraPDF v1.24.2

Workarounds

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.

References

Original issue: <https://github.com/veraPDF/veraPDF-library/issues/1415&gt;

CVSS3

8.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

AI Score

7.7

Confidence

Low

EPSS

0

Percentile

15.5%

Related for OSV:GHSA-QXQF-2MFX-X8JW