CVE-2024-52298

HIGH

XWiki PDF Viewer Macro < 2.5.6 - Unauthenticated Sensitive Information Exposure via Attachment Reference Inspection

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References
Exploit, Mitigation, Vendor Advisory x_refsource_confirm
https://github.com/xwikisas/macro-pdfviewer/security/advisories/GHSA-hph4-7j37-7c97

Scores

CVSS v3 7.5
EPSS 0.0046
EPSS Percentile 64.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-615
Status published
Products (1)
xwiki/pdf_viewer_macro < 2.5.6
Published Nov 13, 2024
Tracked Since Feb 18, 2026