1. Archivio CVE
  2. 2025
  3. CVE-2025-64502

CVE-2025-64502

6.9 Gravità media CVSS v4.0 · fonte NVD CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X 6.9 – Media

Descrizione

Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. The MongoDB `explain()` method provides detailed information about query execution plans, including index usage, collection scanning behavior, and performance metrics. Prior to version 8.5.0-alpha.5, Parse Server permits any client to execute explain queries without requiring the master key. This exposes database schema structure and field names, index configurations and query optimization details, query execution statistics and performance metrics, and potential attack vectors for database performance exploitation. In version 8.5.0-alpha.5, a new `databaseOptions.allowPublicExplain` configuration option has been introduced that allows to restrict `explain` queries to the master key. The option defaults to `true` for now to avoid a breaking change in production systems that depends on public `explain` availability. In addition, a security warning is logged when the option is not explicitly set, or set to `true`. In a future major release of Parse Server, the default will change to `false`. As a workaround, implement middleware to block explain queries from non-master-key requests, or monitor and alert on explain query usage in production environments.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
parse-community parse-server < 8.5.0-alpha.5 –
Tutte le 15 vulnerabilità di Parse-community Parse-server

Tipo di vulnerabilità

CWE-201 Informazioni sensibili inserite nei dati inviati

Il prodotto invia dati a un altro soggetto, ma una parte di quei dati contiene informazioni sensibili a cui il destinatario non dovrebbe avere accesso.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere file o cartelle, Leggere la memoria, Leggere i dati dell’applicazione

Come si previene

Requisiti Specify which data in the software should be regarded as sensitive. Consider which types of users should have access to which types of data.
Sviluppo Ensure that any possibly sensitive data specified in the requirements is verified with designers to ensure that it is either a calculated risk or mitigated elsewhere. Any information that is not necessary to the functionality should be removed in order to lower both the overhead and the possibility of security sensitive data being sent.
Configurazione del sistema Setup default error messages so that unexpected errors do not disclose sensitive information.
Architettura e progettazione · Separazione dei privilegi Suddividi il sistema in compartimenti, con aree sicure i cui confini di fiducia siano tracciati senza ambiguità. Non lasciare uscire i dati sensibili da questi confini e presta sempre attenzione quando interagisci con un compartimento esterno all’area sicura. La suddivisione va prevista già in fase di progettazione e deve favorire la separazione dei privilegi; per decidere quando usare i privilegi e quando rinunciarvi, segui il principio del privilegio minimo.

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

Tutte le 519 CVE di tipo CWE-201, con andamento e prevenzione

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