CVE Vulnerabilities

CVE-2017-7486

Exposure of Sensitive Information to an Unauthorized Actor

Published: May 12, 2017 | Modified: Jan 05, 2018
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
6.3 MODERATE
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Ubuntu
LOW

PostgreSQL versions 8.4 - 9.6 are vulnerable to information leak in pg_user_mappings view which discloses foreign server passwords to any user having USAGE privilege on the associated foreign server.

Weakness

The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

Affected Software

Name Vendor Start Version End Version
Postgresql Postgresql 8.4 (including) 8.4 (including)
Postgresql Postgresql 8.4.1 (including) 8.4.1 (including)
Postgresql Postgresql 8.4.2 (including) 8.4.2 (including)
Postgresql Postgresql 8.4.3 (including) 8.4.3 (including)
Postgresql Postgresql 8.4.4 (including) 8.4.4 (including)
Postgresql Postgresql 8.4.5 (including) 8.4.5 (including)
Postgresql Postgresql 8.4.6 (including) 8.4.6 (including)
Postgresql Postgresql 8.4.7 (including) 8.4.7 (including)
Postgresql Postgresql 8.4.8 (including) 8.4.8 (including)
Postgresql Postgresql 8.4.9 (including) 8.4.9 (including)
Postgresql Postgresql 8.4.10 (including) 8.4.10 (including)
Postgresql Postgresql 8.4.11 (including) 8.4.11 (including)
Postgresql Postgresql 8.4.12 (including) 8.4.12 (including)
Postgresql Postgresql 8.4.13 (including) 8.4.13 (including)
Postgresql Postgresql 8.4.14 (including) 8.4.14 (including)
Postgresql Postgresql 8.4.15 (including) 8.4.15 (including)
Postgresql Postgresql 8.4.16 (including) 8.4.16 (including)
Postgresql Postgresql 8.4.17 (including) 8.4.17 (including)
Postgresql Postgresql 8.4.18 (including) 8.4.18 (including)
Postgresql Postgresql 8.4.19 (including) 8.4.19 (including)
Postgresql Postgresql 8.4.20 (including) 8.4.20 (including)
Postgresql Postgresql 8.4.21 (including) 8.4.21 (including)
Postgresql Postgresql 8.4.22 (including) 8.4.22 (including)
Postgresql Postgresql 9.0 (including) 9.0 (including)
Postgresql Postgresql 9.0.1 (including) 9.0.1 (including)
Postgresql Postgresql 9.0.2 (including) 9.0.2 (including)
Postgresql Postgresql 9.0.3 (including) 9.0.3 (including)
Postgresql Postgresql 9.0.4 (including) 9.0.4 (including)
Postgresql Postgresql 9.0.5 (including) 9.0.5 (including)
Postgresql Postgresql 9.0.6 (including) 9.0.6 (including)
Postgresql Postgresql 9.0.7 (including) 9.0.7 (including)
Postgresql Postgresql 9.0.8 (including) 9.0.8 (including)
Postgresql Postgresql 9.0.9 (including) 9.0.9 (including)
Postgresql Postgresql 9.0.10 (including) 9.0.10 (including)
Postgresql Postgresql 9.0.11 (including) 9.0.11 (including)
Postgresql Postgresql 9.0.12 (including) 9.0.12 (including)
Postgresql Postgresql 9.0.13 (including) 9.0.13 (including)
Postgresql Postgresql 9.0.14 (including) 9.0.14 (including)
Postgresql Postgresql 9.0.15 (including) 9.0.15 (including)
Postgresql Postgresql 9.0.16 (including) 9.0.16 (including)
Postgresql Postgresql 9.0.17 (including) 9.0.17 (including)
Postgresql Postgresql 9.0.18 (including) 9.0.18 (including)
Postgresql Postgresql 9.0.19 (including) 9.0.19 (including)
Postgresql Postgresql 9.0.20 (including) 9.0.20 (including)
Postgresql Postgresql 9.0.21 (including) 9.0.21 (including)
Postgresql Postgresql 9.0.22 (including) 9.0.22 (including)
Postgresql Postgresql 9.0.23 (including) 9.0.23 (including)
Postgresql Postgresql 9.1 (including) 9.1 (including)
Postgresql Postgresql 9.1.1 (including) 9.1.1 (including)
Postgresql Postgresql 9.1.2 (including) 9.1.2 (including)
Postgresql Postgresql 9.1.3 (including) 9.1.3 (including)
Postgresql Postgresql 9.1.4 (including) 9.1.4 (including)
Postgresql Postgresql 9.1.5 (including) 9.1.5 (including)
Postgresql Postgresql 9.1.6 (including) 9.1.6 (including)
Postgresql Postgresql 9.1.7 (including) 9.1.7 (including)
Postgresql Postgresql 9.1.8 (including) 9.1.8 (including)
Postgresql Postgresql 9.1.9 (including) 9.1.9 (including)
Postgresql Postgresql 9.1.10 (including) 9.1.10 (including)
Postgresql Postgresql 9.1.11 (including) 9.1.11 (including)
Postgresql Postgresql 9.1.12 (including) 9.1.12 (including)
Postgresql Postgresql 9.1.13 (including) 9.1.13 (including)
Postgresql Postgresql 9.1.14 (including) 9.1.14 (including)
Postgresql Postgresql 9.1.15 (including) 9.1.15 (including)
Postgresql Postgresql 9.1.16 (including) 9.1.16 (including)
Postgresql Postgresql 9.1.17 (including) 9.1.17 (including)
Postgresql Postgresql 9.1.18 (including) 9.1.18 (including)
Postgresql Postgresql 9.1.19 (including) 9.1.19 (including)
Postgresql Postgresql 9.1.20 (including) 9.1.20 (including)
Postgresql Postgresql 9.1.21 (including) 9.1.21 (including)
Postgresql Postgresql 9.1.22 (including) 9.1.22 (including)
Postgresql Postgresql 9.1.23 (including) 9.1.23 (including)
Postgresql Postgresql 9.1.24 (including) 9.1.24 (including)
Postgresql Postgresql 9.2 (including) 9.2 (including)
Postgresql Postgresql 9.2.1 (including) 9.2.1 (including)
Postgresql Postgresql 9.2.2 (including) 9.2.2 (including)
Postgresql Postgresql 9.2.3 (including) 9.2.3 (including)
Postgresql Postgresql 9.2.4 (including) 9.2.4 (including)
Postgresql Postgresql 9.2.5 (including) 9.2.5 (including)
Postgresql Postgresql 9.2.6 (including) 9.2.6 (including)
Postgresql Postgresql 9.2.7 (including) 9.2.7 (including)
Postgresql Postgresql 9.2.8 (including) 9.2.8 (including)
Postgresql Postgresql 9.2.9 (including) 9.2.9 (including)
Postgresql Postgresql 9.2.10 (including) 9.2.10 (including)
Postgresql Postgresql 9.2.11 (including) 9.2.11 (including)
Postgresql Postgresql 9.2.12 (including) 9.2.12 (including)
Postgresql Postgresql 9.2.13 (including) 9.2.13 (including)
Postgresql Postgresql 9.2.14 (including) 9.2.14 (including)
Postgresql Postgresql 9.2.15 (including) 9.2.15 (including)
Postgresql Postgresql 9.2.16 (including) 9.2.16 (including)
Postgresql Postgresql 9.2.17 (including) 9.2.17 (including)
Postgresql Postgresql 9.2.18 (including) 9.2.18 (including)
Postgresql Postgresql 9.2.19 (including) 9.2.19 (including)
Postgresql Postgresql 9.2.20 (including) 9.2.20 (including)
Postgresql Postgresql 9.2.21 (including) 9.2.21 (including)
Postgresql Postgresql 9.3 (including) 9.3 (including)
Postgresql Postgresql 9.3.1 (including) 9.3.1 (including)
Postgresql Postgresql 9.3.2 (including) 9.3.2 (including)
Postgresql Postgresql 9.3.3 (including) 9.3.3 (including)
Postgresql Postgresql 9.3.4 (including) 9.3.4 (including)
Postgresql Postgresql 9.3.5 (including) 9.3.5 (including)
Postgresql Postgresql 9.3.6 (including) 9.3.6 (including)
Postgresql Postgresql 9.3.7 (including) 9.3.7 (including)
Postgresql Postgresql 9.3.8 (including) 9.3.8 (including)
Postgresql Postgresql 9.3.9 (including) 9.3.9 (including)
Postgresql Postgresql 9.3.10 (including) 9.3.10 (including)
Postgresql Postgresql 9.3.11 (including) 9.3.11 (including)
Postgresql Postgresql 9.3.12 (including) 9.3.12 (including)
Postgresql Postgresql 9.3.13 (including) 9.3.13 (including)
Postgresql Postgresql 9.3.14 (including) 9.3.14 (including)
Postgresql Postgresql 9.3.15 (including) 9.3.15 (including)
Postgresql Postgresql 9.3.16 (including) 9.3.16 (including)
Postgresql Postgresql 9.3.17 (including) 9.3.17 (including)
Postgresql Postgresql 9.4 (including) 9.4 (including)
Postgresql Postgresql 9.4.1 (including) 9.4.1 (including)
Postgresql Postgresql 9.4.2 (including) 9.4.2 (including)
Postgresql Postgresql 9.4.3 (including) 9.4.3 (including)
Postgresql Postgresql 9.4.4 (including) 9.4.4 (including)
Postgresql Postgresql 9.4.5 (including) 9.4.5 (including)
Postgresql Postgresql 9.4.6 (including) 9.4.6 (including)
Postgresql Postgresql 9.4.7 (including) 9.4.7 (including)
Postgresql Postgresql 9.4.8 (including) 9.4.8 (including)
Postgresql Postgresql 9.4.9 (including) 9.4.9 (including)
Postgresql Postgresql 9.4.10 (including) 9.4.10 (including)
Postgresql Postgresql 9.4.11 (including) 9.4.11 (including)
Postgresql Postgresql 9.4.12 (including) 9.4.12 (including)
Postgresql Postgresql 9.5 (including) 9.5 (including)
Postgresql Postgresql 9.5.1 (including) 9.5.1 (including)
Postgresql Postgresql 9.5.2 (including) 9.5.2 (including)
Postgresql Postgresql 9.5.3 (including) 9.5.3 (including)
Postgresql Postgresql 9.5.4 (including) 9.5.4 (including)
Postgresql Postgresql 9.5.5 (including) 9.5.5 (including)
Postgresql Postgresql 9.5.6 (including) 9.5.6 (including)
Postgresql Postgresql 9.5.7 (including) 9.5.7 (including)
Postgresql Postgresql 9.6 (including) 9.6 (including)
Red Hat Enterprise Linux 7 RedHat postgresql-0:9.2.21-1.el7 *
Red Hat Satellite 5.7 RedHat rh-postgresql95-0:2.2-3.el6 *
Red Hat Satellite 5.7 RedHat rh-postgresql95-postgresql-0:9.5.7-2.el6 *
Red Hat Satellite 5.7 RedHat spacewalk-backend-0:2.3.3-53.el6sat *
Red Hat Satellite 5.7 RedHat spacewalk-postgresql-server-0:9.5-1.el6sat *
Red Hat Satellite 5.7 RedHat spacewalk-setup-postgresql-0:2.3.0-27.el6sat *
Red Hat Satellite 5.7 RedHat spacewalk-utils-0:2.3.2-32.el6sat *
Red Hat Satellite 5.7 RedHat spacewalk-web-0:2.3.2-35.el6sat *
Red Hat Satellite 5.7 RedHat rh-postgresql95-0:2.2-3.el6 *
Red Hat Satellite 5.7 RedHat rh-postgresql95-postgresql-0:9.5.7-2.el6 *
Red Hat Satellite 5.7 RedHat spacewalk-backend-0:2.3.3-53.el6sat *
Red Hat Satellite 5.7 RedHat spacewalk-postgresql-server-0:9.5-1.el6sat *
Red Hat Satellite 5.7 RedHat spacewalk-setup-postgresql-0:2.3.0-27.el6sat *
Red Hat Satellite 5.7 RedHat spacewalk-utils-0:2.3.2-32.el6sat *
Red Hat Satellite 5.7 RedHat spacewalk-web-0:2.3.2-35.el6sat *
Red Hat Satellite 5.8 RedHat rh-postgresql95-postgresql-0:9.5.7-2.el6 *
Red Hat Satellite 5.8 RedHat rh-postgresql95-postgresql-0:9.5.7-2.el6 *
Red Hat Satellite 5.8 ELS RedHat rh-postgresql95-postgresql-0:9.5.7-2.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat rh-postgresql95-postgresql-0:9.5.7-2.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat rh-postgresql94-postgresql-0:9.4.12-1.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat rh-postgresql95-postgresql-0:9.5.7-2.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat rh-postgresql94-postgresql-0:9.4.12-1.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-postgresql95-postgresql-0:9.5.7-2.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-postgresql94-postgresql-0:9.4.12-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS RedHat rh-postgresql95-postgresql-0:9.5.7-2.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS RedHat rh-postgresql94-postgresql-0:9.4.12-1.el7 *
Postgresql-9.3 Ubuntu trusty *
Postgresql-9.3 Ubuntu upstream *
Postgresql-9.5 Ubuntu upstream *
Postgresql-9.5 Ubuntu xenial *
Postgresql-9.5 Ubuntu yakkety *
Postgresql-9.6 Ubuntu upstream *
Postgresql-9.6 Ubuntu zesty *

Extended Description

There are many different kinds of mistakes that introduce information exposures. The severity of the error can range widely, depending on the context in which the product operates, the type of sensitive information that is revealed, and the benefits it may provide to an attacker. Some kinds of sensitive information include:

Information might be sensitive to different parties, each of which may have their own expectations for whether the information should be protected. These parties include:

Information exposures can occur in different ways:

It is common practice to describe any loss of confidentiality as an “information exposure,” but this can lead to overuse of CWE-200 in CWE mapping. From the CWE perspective, loss of confidentiality is a technical impact that can arise from dozens of different weaknesses, such as insecure file permissions or out-of-bounds read. CWE-200 and its lower-level descendants are intended to cover the mistakes that occur in behaviors that explicitly manage, store, transfer, or cleanse sensitive information.

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References