CVE-2024-52299

The PDF viewer macro allows accessing any attachment without access right checks

Published Nov 13, 2024 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
macro-pdfviewer is a PDF Viewer Macro for XWiki using Mozilla pdf.js. Any user with view right on XWiki.PDFViewerService can access any attachment stored in the wiki as the "key" that is passed to prevent this is computed incorrectly, calling skip on the digest stream doesn't update the digest. This is fixed in 2.5.6.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-45837 macro-pdfviewer is a PDF Viewer Macro for XWiki using Mozilla pdf.js. Any user with view right on XWiki.PDFViewerService can access any attachment stored in the wiki as the "key" that is passed to prevent this is computed incorrectly, calling skip on the digest stream doesn't update the digest. This is fixed in 2.5.6.
History
Type Values Removed Values Added
First Time appeared Xwiki
Xwiki pdf Viewer Macro
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:xwiki:pdf_viewer_macro:*:*:*:*:pro:*:*:*
Vendors & Products Xwiki
Xwiki pdf Viewer Macro
Type Values Removed Values Added
First Time appeared Xwikisas
Xwikisas macro Pdfviewer
CPEs cpe:2.3:a:xwikisas:macro_pdfviewer:*:*:*:*:*:*:*:*
Vendors & Products Xwikisas
Xwikisas macro Pdfviewer
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description macro-pdfviewer is a PDF Viewer Macro for XWiki using Mozilla pdf.js. Any user with view right on XWiki.PDFViewerService can access any attachment stored in the wiki as the "key" that is passed to prevent this is computed incorrectly, calling skip on the digest stream doesn't update the digest. This is fixed in 2.5.6.
Title The PDF viewer macro allows accessing any attachment without access right checks
Weaknesses CWE-340
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 14, 2024, 1:58 PM
Reserved
Nov 6, 2024, 7:00 PM
Status
Analyzed
Published
Nov 13, 2024, 4:15 PM
Modified
Jun 17, 2026, 8:06 AM