Skip to content

CVE-2024-52299 The PDF viewer macro allows accessing any attachment without access right checks

HighCVSS 7.5 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
xwikisas macro-pdfviewer = >= 1.6.2, < 2.5.6 No fix listed
xwikisas macro pdfviewer <= 1.6.2 No fix listed
xwikisas macro pdfviewer < 2.5.6 2.5.6
xwiki pdf viewer macro < 2.5.6 2.5.6

References