High severity · published Nov 13, 2024
CVE-2024-52298
macro-pdfviewer's preview in WYSIWYG editor allows accessing any PDF document as the last author
7.5
CVSS
0.7%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 52% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MA
macro-pdfviewer · xwikisas
>= 1.6.2, < 2.5.6 · source: vendor
PV
Pdf Viewer Macro · Xwiki
before 2.5.6 · source: NVD
MP
Macro Pdfviewer · Xwikisas
through 1.6.2; before 2.5.6 · source: CISA
Affected product
MA
macro-pdfviewer
xwikisas
More from macro-pdfviewer
9.0
CVE-2024-52300
macro-pdfviewer has a XSS through the width parameter
7.7
CVE-2024-30263
The PDF Viewer macro can be used to view PDF attachments with restricted access
7.5
CVE-2024-52299
The PDF viewer macro allows accessing any attachment without access right checks