CVE-2024-52298

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductXwiki Pdf Viewer Macro
PublishedNov 13, 2024
First seenNov 13, 2024
Weakness typeCWE-615CWE-615

How to fix

Update
  • xwiki pdf_viewer_macro2.5.6 or later

Affected products

ProductAffected versionsFixed in
xwiki pdf_viewer_macrov < 2.5.62.5.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-52298 · Xwiki Pdf Viewer Macro · Dark Radar