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

Published Nov 13, 2024
·
Updated

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 Software

1 affected component
XWiki PDF viewer macro<2.5.6

Event History

Nov 13, 2024
CVE Published
via MITRE·03:29 PM
Data Sourced
via MITRE·03:29 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-52299?

CVE-2024-52299 has been classified as a high severity vulnerability due to improper access controls in the PDF Viewer Macro.

2

How do I fix CVE-2024-52299?

To mitigate CVE-2024-52299, upgrade the XWiki PDF Viewer Macro to version 2.5.6 or later.

3

What impact does CVE-2024-52299 have on affected systems?

CVE-2024-52299 allows unauthorized users to access any attachment stored in the wiki if they have view rights on the XWiki.PDFViewerService.

4

Who is affected by CVE-2024-52299?

Any instance of XWiki running the PDF Viewer Macro prior to version 2.5.6 is affected by CVE-2024-52299.

5

What version of the PDF Viewer Macro is vulnerable to CVE-2024-52299?

CVE-2024-52299 affects all versions of the PDF Viewer Macro prior to 2.5.6.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203