1. Archivio CVE
  2. 2014
  3. CVE-2014-8161

CVE-2014-8161

4.3 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N 4.3 – Media

Descrizione

PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1 allows remote authenticated users to obtain sensitive column values by triggering constraint violation and then reading the error message.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
debian debian linux 7.0 –
debian debian linux 8.0 –
postgresql postgresql < 9.0.19 –
postgresql postgresql >= 9.1.0 < 9.1.15 –
postgresql postgresql >= 9.2.0 < 9.2.10 –
postgresql postgresql >= 9.3.0 < 9.3.6 –
postgresql postgresql >= 9.4.0 < 9.4.1 –
Tutte le 203 vulnerabilità di Postgresql

Tipo di vulnerabilità

CWE-209 Messaggi di errore che rivelano informazioni sensibili

Il prodotto genera messaggi di errore che contengono informazioni sensibili sul proprio ambiente, sugli utenti o sui dati.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione

Come si previene

Sviluppo Ensure that error messages only contain minimal details that are useful to the intended audience and no one else. The messages need to strike the balance between being too cryptic (which can confuse users) or being too detailed (which may reveal more than intended). The messages should not reveal the methods that were used to determine the error. Attackers can use detailed information to refine or optimize their original attack, thereby increasing their chances of success. If errors must be captured in some detail, record them in log messages, but consider what could occur if the log messages can be viewed by attackers. Highly sensitive information such as passwords should never be saved to log files. Avoid inconsistent messaging that might accidentally tip off an attacker about internal state, such as whether a user account exists or not.
Sviluppo Handle exceptions internally and do not display errors containing potentially sensitive information to a user.
Sviluppo · Riduzione della superficie di attacco Use naming conventions and strong types to make it easier to spot when sensitive data is being used. When creating structures, objects, or other complex entities, separate the sensitive and non-sensitive data as much as possible.
Sviluppo · Build e compilazione · Hardening della compilazione Debugging information should not make its way into a production release.
Sviluppo · Build e compilazione · Hardening dell’ambiente Debugging information should not make its way into a production release.
Configurazione del sistema Where available, configure the environment to use less verbose error messages. For example, in PHP, disable the display_errors setting during configuration, or at runtime using the error_reporting() function.
Configurazione del sistema Create default error pages or messages that do not leak any information.

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

Tutte le 643 CVE di tipo CWE-209, con andamento e prevenzione

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