SQL injection in Apache Hive - CVE-2018-1282

 

SQL injection in Apache Hive - CVE-2018-1282

Published: April 9, 2018 / Updated: April 10, 2018


Vulnerability identifier: #VU11627
CSH Severity: Low
CVSS v4.0: 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/E:U/U:Clear
CVE-ID: CVE-2018-1282
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Apache Foundation
Affected software:
Apache Hive

Detailed vulnerability description

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

The weakness exists due to insufficient sanitization of user-supplied data. A remote attacker can send a specially crafted HTTP request to vulnerable script, bypass the argument escaping and cleanup functionality that the JDBC driver performs in the PreparedStatement implementation 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.


How to mitigate CVE-2018-1282

Update to version 2.3.3.

Sources