CVE-2024-52298

Source
https://cve.org/CVERecord?id=CVE-2024-52298
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-52298.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-52298
Aliases
  • GHSA-hph4-7j37-7c97
Published
2024-11-13T15:42:42.501Z
Modified
2026-02-07T02:51:11.627853Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
macro-pdfviewer's preview in WYSIWYG editor allows accessing any PDF document as the last author
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-615"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52298.json"
}
References

Affected packages

Git / github.com/xwikisas/macro-pdfviewer

Affected ranges

Type
GIT
Repo
https://github.com/xwikisas/macro-pdfviewer
Events

Affected versions

macro-pdfviewer-1.*
macro-pdfviewer-1.7
macro-pdfviewer-1.8
macro-pdfviewer-1.8.1
macro-pdfviewer-1.8.2
macro-pdfviewer-1.8.3
macro-pdfviewer-1.9
macro-pdfviewer-1.9.1
macro-pdfviewer-1.9.2
macro-pdfviewer-1.9.3
macro-pdfviewer-1.9.4
macro-pdfviewer-2.*
macro-pdfviewer-2.0
macro-pdfviewer-2.0.1
macro-pdfviewer-2.0.2
macro-pdfviewer-2.0.3
macro-pdfviewer-2.1
macro-pdfviewer-2.1.1
macro-pdfviewer-2.2
macro-pdfviewer-2.2-RC-1
macro-pdfviewer-2.2.1
macro-pdfviewer-2.3
macro-pdfviewer-2.3.1
macro-pdfviewer-2.3.2
macro-pdfviewer-2.3.3
macro-pdfviewer-2.4
macro-pdfviewer-2.5
macro-pdfviewer-2.5.1
macro-pdfviewer-2.5.2
macro-pdfviewer-2.5.3
macro-pdfviewer-2.5.4
macro-pdfviewer-2.5.5
xwiki-macro-pdfviewer-1.*
xwiki-macro-pdfviewer-1.6.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-52298.json"