Arbitrary code execution in PostgreSQL and Oracle Linux - CVE-2016-5423

 

Arbitrary code execution in PostgreSQL and Oracle Linux - CVE-2016-5423

Published: August 15, 2016 / Updated: January 11, 2017


Vulnerability identifier: #VU314
CSH Severity: Critical
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Red
CVE-ID: CVE-2016-5423
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: PostgreSQL Global Development Group
Oracle
Affected software:
PostgreSQL
Oracle Linux

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code,

The vulnerability exists in PostgreSQL. A remote authenticated attacker can cause the target server to crash, disclose portions of server memory, or potentially execute arbitrary code by submiting specially crafted SQL statements containing CASE/WHEN commands.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2016-5423

Install the following versions: (9.1.23, 9.2.18, 9.3.14, 9.4.9, 9.5.4).

Sources