// For flags

CVE-2018-1315

 

Severity Score

3.7
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

In Apache Hive 2.1.0 to 2.3.2, when 'COPY FROM FTP' statement is run using HPL/SQL extension to Hive, a compromised/malicious FTP server can cause the file to be written to an arbitrary location on the cluster where the command is run from. This is because FTP client code in HPL/SQL does not verify the destination location of the downloaded file. This does not affect hive cli user and hiveserver2 user as hplsql is a separate command line script and needs to be invoked differently.

En Apache Hive, de la versión 2.1.0 a la 2.3.2, cuando la instrucción 'COPY FROM FTP' se ejecuta mediante la extensión HPL/SQL en Hive, un servidor FTP comprometido/malicioso puede provocar que el archivo se escriba en una ubicación arbitraria del clúster desde el cual se ejecuta el comando. Esto se debe a que el código del cliente FTP en HPL/SQL no verifica la ubicación de destino del archivo descargado. Esto no afecta a los usuarios de la interfaz de línea de comandos de Hive ni a los usuarios hiveserver2, ya que hplsql es un script de línea de comandos separado y necesita ser invocado de forma distinta.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2017-12-07 CVE Reserved
  • 2018-04-05 CVE Published
  • 2024-02-12 EPSS Updated
  • 2024-09-17 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-732: Incorrect Permission Assignment for Critical Resource
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Apache
Search vendor "Apache"
Hive
Search vendor "Apache" for product "Hive"
>= 2.1.0 <= 2.3.2
Search vendor "Apache" for product "Hive" and version " >= 2.1.0 <= 2.3.2"
-
Affected