Vulnerability Description
macro-pdfviewer is a PDF Viewer Macro for XWiki using Mozilla pdf.js. The PDF Viewer macro allows an attacker to view any attachment using the "Delegate my view right" feature as long as the attacker can view a page whose last author has access to the attachment. For this, the attacker only needs to provide the reference to a PDF file to the macro. To obtain the reference of the desired attachment, the attacker can access the Page Index, Attachments tab. Even if the UI shows N/A, the user can inspect the page and check the HTTP request that fetches the live data entries. The attachment URL is available in the returned JSON for all attachments, including protected ones and allows getting the necessary values. This vulnerability is fixed in version 2.5.6.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Xwiki | Pdf Viewer Macro | < 2.5.6 |
Related Weaknesses (CWE)
References
- https://github.com/xwikisas/macro-pdfviewer/security/advisories/GHSA-hph4-7j37-7ExploitMitigationVendor Advisory
FAQ
What is CVE-2024-52298?
CVE-2024-52298 is a vulnerability with a CVSS score of 7.5 (HIGH). macro-pdfviewer is a PDF Viewer Macro for XWiki using Mozilla pdf.js. The PDF Viewer macro allows an attacker to view any attachment using the "Delegate my view right" feature as long as the attacker ...
How severe is CVE-2024-52298?
CVE-2024-52298 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-52298?
Check the references section above for vendor advisories and patch information. Affected products include: Xwiki Pdf Viewer Macro.