1. Archivio CVE
  2. 2017
  3. CVE-2017-12172

CVE-2017-12172

6.7 Gravità media CVSS v3.0 · fonte NVD CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H 6.7 – Media

Descrizione

PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, 9.3.x before 9.3.20, and 9.2.x before 9.2.24 runs under a non-root operating system account, and database superusers have effective ability to run arbitrary code under that system account. PostgreSQL provides a script for starting the database server during system boot. Packages of PostgreSQL for many operating systems provide their own, packager-authored startup implementations. Several implementations use a log file name that the database superuser can replace with a symbolic link. As root, they open(), chmod() and/or chown() this log file name. This often suffices for the database superuser to escalate to root privileges when root starts the server.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
postgresql postgresql 9.2 –
postgresql postgresql 9.2.1 –
postgresql postgresql 9.2.2 –
postgresql postgresql 9.2.3 –
postgresql postgresql 9.2.4 –
postgresql postgresql 9.2.5 –
postgresql postgresql 9.2.6 –
postgresql postgresql 9.2.7 –
postgresql postgresql 9.2.8 –
postgresql postgresql 9.2.9 –
postgresql postgresql 9.2.10 –
postgresql postgresql 9.2.11 –
postgresql postgresql 9.2.12 –
postgresql postgresql 9.2.13 –
postgresql postgresql 9.2.14 –
postgresql postgresql 9.2.15 –
postgresql postgresql 9.2.16 –
postgresql postgresql 9.2.17 –
postgresql postgresql 9.2.18 –
postgresql postgresql 9.2.19 –
postgresql postgresql 9.2.20 –
postgresql postgresql 9.2.21 –
postgresql postgresql 9.2.22 –
postgresql postgresql 9.2.23 –
postgresql postgresql 9.3 –
postgresql postgresql 9.3.1 –
postgresql postgresql 9.3.2 –
postgresql postgresql 9.3.3 –
postgresql postgresql 9.3.4 –
postgresql postgresql 9.3.5 –
postgresql postgresql 9.3.6 –
postgresql postgresql 9.3.7 –
postgresql postgresql 9.3.8 –
postgresql postgresql 9.3.9 –
postgresql postgresql 9.3.10 –
postgresql postgresql 9.3.11 –
postgresql postgresql 9.3.12 –
postgresql postgresql 9.3.13 –
postgresql postgresql 9.3.14 –
postgresql postgresql 9.3.15 –
postgresql postgresql 9.3.16 –
postgresql postgresql 9.3.17 –
postgresql postgresql 9.3.18 –
postgresql postgresql 9.3.19 –
postgresql postgresql 9.4 –
postgresql postgresql 9.4.1 –
postgresql postgresql 9.4.2 –
postgresql postgresql 9.4.3 –
postgresql postgresql 9.4.4 –
postgresql postgresql 9.4.5 –
postgresql postgresql 9.4.6 –
postgresql postgresql 9.4.7 –
postgresql postgresql 9.4.8 –
postgresql postgresql 9.4.9 –
postgresql postgresql 9.4.10 –
postgresql postgresql 9.4.11 –
postgresql postgresql 9.4.12 –
postgresql postgresql 9.4.13 –
postgresql postgresql 9.4.14 –
postgresql postgresql 9.5 –
postgresql postgresql 9.5.1 –
postgresql postgresql 9.5.2 –
postgresql postgresql 9.5.3 –
postgresql postgresql 9.5.4 –
postgresql postgresql 9.5.5 –
postgresql postgresql 9.5.6 –
postgresql postgresql 9.5.7 –
postgresql postgresql 9.5.8 –
postgresql postgresql 9.5.9 –
postgresql postgresql 9.6 –
postgresql postgresql 9.6.1 –
postgresql postgresql 9.6.2 –
postgresql postgresql 9.6.3 –
postgresql postgresql 9.6.4 –
postgresql postgresql 9.6.5 –
postgresql postgresql 10 –
Tutte le 203 vulnerabilità di Postgresql

Tipo di vulnerabilità

CWE-59 Risoluzione impropria dei collegamenti prima dell’accesso a un file (link following)

Il prodotto accede a un file in base al nome, ma non impedisce che quel nome sia un collegamento (link o scorciatoia) verso una risorsa diversa da quella prevista.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Controllo degli accessi Leggere file o cartelle, Modificare file o cartelle, Aggirare i meccanismi di protezione
Altro Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione · Separazione dei privilegi Follow the principle of least privilege when assigning access rights to entities in a software system. Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

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

Tutte le 1.868 CVE di tipo CWE-59, con andamento e prevenzione

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