SQL injection in PostgreSQL - CVE-2018-10915

 

SQL injection in PostgreSQL - CVE-2018-10915

Published: August 11, 2018 / Updated: August 13, 2018


Vulnerability identifier: #VU14326
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-10915
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary SQL commands in web application database.

The vulnerability exists due to insufficient sanitization of user-supplied data. A remote attacker can send a specially crafted HTTP request to vulnerable script and execute arbitrary SQL commands in web application database.

Successful exploitation of the vulnerability may allow an attacker to gain administrative access to vulnerable web application.


Affected software

PostgreSQL
Amazon Linux AMI
Gentoo Linux
Debian Linux
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power
Opensuse
Fedora
Red Hat Virtualization Manager
CloudForms
postgresql (Alpine package)
postgresql
EMC Cloud Tiering Appliance

How to mitigate CVE-2018-10915

The vulnerability has been fixed in the versions 10.5, 9.6.10, 9.5.14, 9.4.19, and 9.3.24.

PostgreSQL - addressed in versions 9.3.24, 9.4.19, 9.5.14, 9.6.10, 10.5
postgresql (Alpine package) - update to 9.6.10-r0
postgresql - addressed in versions 9.6.10-1.fc27, 10.5-1.fc28
EMC Cloud Tiering Appliance - update to 12.1.0.65

External References

Related Security Bulletins