CVE-2024-54660
Published: 16 January 2025
Description
A JNDI injection issue was discovered in Cloudera JDBC Connector for Hive before 2.6.26 and JDBC Connector for Impala before 2.6.35. Attackers can inject malicious parameters into the JDBC URL, triggering JNDI injection during the process when the JDBC Driver uses this URL to connect to the database. This could lead to remote code execution. JNDI injection is possible via the JDBC connection property krbJAASFile for the Java Authentication and Authorization Service (JAAS). Using untrusted parameters in the krbJAASFile and/or remote host can trigger JNDI injection in the JDBC URL through the krbJAASFile.
Security Summary
CVE-2024-54660 is a JNDI injection vulnerability in Cloudera JDBC Connector for Hive versions before 2.6.26 and JDBC Connector for Impala versions before 2.6.35. The flaw enables attackers to inject malicious parameters into the JDBC URL, which triggers JNDI injection during database connection attempts by the JDBC driver. Exploitation occurs via the JDBC connection property krbJAASFile for Java Authentication and Authorization Service (JAAS), where untrusted parameters in krbJAASFile or a remote host can lead to remote code execution.
Attackers with network access can exploit this vulnerability with low attack complexity, requiring low privileges (PR:L) and user interaction (UI:R). Upon success, it results in high confidentiality and integrity impacts (C:H/I:H) with a changed scope (S:C), yielding a CVSS v3.1 base score of 8.7 (CWE-77). This allows remote code execution on the victim's system attempting the database connection.
The referenced Black Hat EU-24 briefing details a novel attack surface in JAAS, highlighting the vulnerability's mechanics. Mitigation requires upgrading to Cloudera JDBC Connector for Hive 2.6.26 or later and Impala 2.6.35 or later to address the JNDI injection risk.
Details
- CWE(s)