// For flags

CVE-2017-7547

postgresql: pg_user_mappings view discloses passwords to users lacking server privileges

Severity Score

8.8
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to authorization flaw allowing remote authenticated attackers to retrieve passwords from the user mappings defined by the foreign server owners without actually having the privileges to do so.

PostgreSQL en sus versiones anteriores a 9.2.22, 9.3.18, 9.4.13, 9.5.8 y 9.6.4 es vulnerable a un fallo de autorización que permite que los atacantes remotos autenticados recuperen contraseñas de los mapeos de usuarios definidos por los propietarios del servidor extranjero sin tener privilegios para ello.

An authorization flaw was found in the way PostgreSQL handled access to the pg_user_mappings view on foreign servers. A remote, authenticated attacker could potentially use this flaw to retrieve passwords from the user mappings defined by the foreign server owners without actually having the privileges to do so.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
Single
Confidentiality
Partial
Integrity
None
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2017-04-05 CVE Reserved
  • 2017-08-10 CVE Published
  • 2023-03-07 EPSS Updated
  • 2024-09-16 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-522: Insufficiently Protected Credentials
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2
Search vendor "Postgresql" for product "Postgresql" and version "9.2"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.1
Search vendor "Postgresql" for product "Postgresql" and version "9.2.1"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.2
Search vendor "Postgresql" for product "Postgresql" and version "9.2.2"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.3
Search vendor "Postgresql" for product "Postgresql" and version "9.2.3"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.4
Search vendor "Postgresql" for product "Postgresql" and version "9.2.4"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.5
Search vendor "Postgresql" for product "Postgresql" and version "9.2.5"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.6
Search vendor "Postgresql" for product "Postgresql" and version "9.2.6"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.7
Search vendor "Postgresql" for product "Postgresql" and version "9.2.7"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.8
Search vendor "Postgresql" for product "Postgresql" and version "9.2.8"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.9
Search vendor "Postgresql" for product "Postgresql" and version "9.2.9"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.10
Search vendor "Postgresql" for product "Postgresql" and version "9.2.10"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.11
Search vendor "Postgresql" for product "Postgresql" and version "9.2.11"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.12
Search vendor "Postgresql" for product "Postgresql" and version "9.2.12"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.13
Search vendor "Postgresql" for product "Postgresql" and version "9.2.13"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.14
Search vendor "Postgresql" for product "Postgresql" and version "9.2.14"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.15
Search vendor "Postgresql" for product "Postgresql" and version "9.2.15"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.16
Search vendor "Postgresql" for product "Postgresql" and version "9.2.16"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.17
Search vendor "Postgresql" for product "Postgresql" and version "9.2.17"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.18
Search vendor "Postgresql" for product "Postgresql" and version "9.2.18"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.19
Search vendor "Postgresql" for product "Postgresql" and version "9.2.19"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.20
Search vendor "Postgresql" for product "Postgresql" and version "9.2.20"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.2.21
Search vendor "Postgresql" for product "Postgresql" and version "9.2.21"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3
Search vendor "Postgresql" for product "Postgresql" and version "9.3"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3.1
Search vendor "Postgresql" for product "Postgresql" and version "9.3.1"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3.2
Search vendor "Postgresql" for product "Postgresql" and version "9.3.2"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3.3
Search vendor "Postgresql" for product "Postgresql" and version "9.3.3"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3.4
Search vendor "Postgresql" for product "Postgresql" and version "9.3.4"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3.5
Search vendor "Postgresql" for product "Postgresql" and version "9.3.5"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3.6
Search vendor "Postgresql" for product "Postgresql" and version "9.3.6"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3.7
Search vendor "Postgresql" for product "Postgresql" and version "9.3.7"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3.8
Search vendor "Postgresql" for product "Postgresql" and version "9.3.8"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3.9
Search vendor "Postgresql" for product "Postgresql" and version "9.3.9"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3.10
Search vendor "Postgresql" for product "Postgresql" and version "9.3.10"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3.11
Search vendor "Postgresql" for product "Postgresql" and version "9.3.11"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3.12
Search vendor "Postgresql" for product "Postgresql" and version "9.3.12"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3.13
Search vendor "Postgresql" for product "Postgresql" and version "9.3.13"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3.14
Search vendor "Postgresql" for product "Postgresql" and version "9.3.14"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3.15
Search vendor "Postgresql" for product "Postgresql" and version "9.3.15"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3.16
Search vendor "Postgresql" for product "Postgresql" and version "9.3.16"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.3.17
Search vendor "Postgresql" for product "Postgresql" and version "9.3.17"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.4
Search vendor "Postgresql" for product "Postgresql" and version "9.4"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.4.1
Search vendor "Postgresql" for product "Postgresql" and version "9.4.1"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.4.2
Search vendor "Postgresql" for product "Postgresql" and version "9.4.2"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.4.3
Search vendor "Postgresql" for product "Postgresql" and version "9.4.3"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.4.4
Search vendor "Postgresql" for product "Postgresql" and version "9.4.4"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.4.5
Search vendor "Postgresql" for product "Postgresql" and version "9.4.5"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.4.6
Search vendor "Postgresql" for product "Postgresql" and version "9.4.6"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.4.7
Search vendor "Postgresql" for product "Postgresql" and version "9.4.7"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.4.8
Search vendor "Postgresql" for product "Postgresql" and version "9.4.8"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.4.9
Search vendor "Postgresql" for product "Postgresql" and version "9.4.9"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.4.10
Search vendor "Postgresql" for product "Postgresql" and version "9.4.10"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.4.11
Search vendor "Postgresql" for product "Postgresql" and version "9.4.11"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.4.12
Search vendor "Postgresql" for product "Postgresql" and version "9.4.12"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.5
Search vendor "Postgresql" for product "Postgresql" and version "9.5"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.5.1.
Search vendor "Postgresql" for product "Postgresql" and version "9.5.1."
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.5.2
Search vendor "Postgresql" for product "Postgresql" and version "9.5.2"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.5.3
Search vendor "Postgresql" for product "Postgresql" and version "9.5.3"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.5.4
Search vendor "Postgresql" for product "Postgresql" and version "9.5.4"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.5.5
Search vendor "Postgresql" for product "Postgresql" and version "9.5.5"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.5.6
Search vendor "Postgresql" for product "Postgresql" and version "9.5.6"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.5.7
Search vendor "Postgresql" for product "Postgresql" and version "9.5.7"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.6
Search vendor "Postgresql" for product "Postgresql" and version "9.6"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.6.1
Search vendor "Postgresql" for product "Postgresql" and version "9.6.1"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.6.2
Search vendor "Postgresql" for product "Postgresql" and version "9.6.2"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
9.6.3
Search vendor "Postgresql" for product "Postgresql" and version "9.6.3"
-
Affected