Information disclosure in Apache Hive
CVE-2018-1284
In Apache Hive 0.6.0 to 2.3.2, malicious user might use any xpath UDFs (xpath/xpath_string/xpath_boolean/xpath_number/xpath_double/xpath_float/xpath_long/xpath_int/xpath_short) to expose the content of a file on the machine running HiveServer2 owned by HiveServer2 user (usually hive) if hive.server2.enable.doAs=false.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.021, 82.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apache Hive
- Apache Software Foundation Hive — versions 0.6.0 to 2.3.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (yahoo/hive-funnel-udf). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [dev] 20180404 [SECURITY] CVE-2018-1284: Hive UDF series UDFXPathXXXX allow users to pass carefully crafted XML to access (mailing-list)
- www.securityfocus.com/bid/103750 (Third Party Advisory, VDB Entry, vdb-entry)