Access Control Vulnerability in PDF Viewer Macro for XWiki
CVE-2024-52298
Key facts
CVE-2024-52298 is a high severity (CVSS 7.5) vulnerability in Xwiki PDF Viewer Macro. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.0%, the estimated probability of exploitation in the next 30 days.
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit code yet
- No: No attacks seen yet
- No: Not on CISA's exploited list
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory ↗2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach PDF Viewer Macro. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- It can be exploited remotely without credentials.
- Its CVSS severity is high (7.5).
What is CVE-2024-52298?
The macro-pdfviewer for XWiki, which utilizes the Mozilla pdf.js library, contains a vulnerability that allows unauthorized access to protected PDF attachments through its 'Delegate my view right' feature. Attackers can exploit this flaw by providing a reference to a PDF file within the macro. If the attacker can access a page authored by a user who has permission to view the attachment, they can retrieve the URL of the protected file. Even pages that indicate 'N/A' may reveal sensitive information upon inspection of network requests, thereby exposing attachment URLs stored in JSON responses. This vulnerability compromises expected access controls and has been addressed in version 2.5.6 of the product.