Vulnerabilities · 2024 · Xwiki
CVE-2024-52298
Xwiki Pdf Viewer Macro vulnerability
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.
Affected products
Pdf Viewer Macro. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Xwiki Pdf Viewer Macro runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Xwiki products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.