Vulnerability · Published Nov 13, 2024 · Assigned by GitHub_M
CVE-2024-52299The PDF viewer macro allows accessing any attachment without access right checks
High 7.5
In plain English
A high-severity security flaw in macro-pdfviewer from xwikisas. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities).
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 55.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
macro-pdfviewer is a PDF Viewer Macro for XWiki using Mozilla pdf.js. Any user with view right on XWiki.PDFViewerService can access any attachment stored in the wiki as the "key" that is passed to prevent this is computed incorrectly, calling skip on the digest stream doesn't update the digest. This is fixed in 2.5.6.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwikisas | macro-pdfviewer | >= 1.6.2, < 2.5.6 |
Weakness: CWE-340 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N