1. Archivio CVE
  2. 2024
  3. CVE-2024-52298

CVE-2024-52298

7.5 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 7.5 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
xwiki pdf viewer macro < 2.5.6 –

Tipo di vulnerabilità

CWE-615 Inclusion of Sensitive Information in Source Code Comments

The product's source code includes comments that contain sensitive information, such as filenames related to the application, old links or links that were not meant to be browsed by users, old code fragments, etc.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione

Come si previene

Distribuzione Remove comments which have sensitive information about the design/implementation of the application. Some of the comments may be exposed to the user and affect the security posture of the application.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 3 CVE di tipo CWE-615, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org