Files
CVEs-PoC/2018/CVE-2018-1284.md
T
2024-05-26 14:27:05 +02:00

18 lines
788 B
Markdown

### [CVE-2018-1284](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1284)
![](https://img.shields.io/static/v1?label=Product&message=Apache%20Hive&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=XML%20Injection&color=brighgreen)
### Description
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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/yahoo/hive-funnel-udf