1. CVE archive
  2. 2017
  3. CVE-2017-15099

CVE-2017-15099

6.5 Medium severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N 6.5 – Medium

Description

INSERT ... ON CONFLICT DO UPDATE commands in PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, and 9.5.x before 9.5.10 disclose table contents that the invoker lacks privilege to read. These exploits affect only tables where the attacker lacks full read access but has both INSERT and UPDATE privileges. Exploits bypass row level security policies and lack of SELECT privilege.

Affected products

VendorProductVersionPlatform
debian debian linux 9.0 –
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.0 –
All 203 Postgresql vulnerabilities

Vulnerability type

CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

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

Impact on systems

ScopeImpact
Confidentiality Read Application Data

How to prevent it

Architecture and Design · Separation of Privilege 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.

All 11,923 CWE-200 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org