CVE-2025-23196

A code injection vulnerability exists in the Ambari Alert Definition feature, allowing authenticated users to inject and execute arbitrary shell commands. The vulnerability arises when defining alert scripts, where the script filename field is executed using `sh -c`. An attacker with authenticated access can exploit this vulnerability to inject malicious commands, leading to remote code execution on the server. The issue has been fixed in the latest versions of Ambari.
Configurations

Configuration 1 (hide)

cpe:2.3:a:apache:ambari:*:*:*:*:*:*:*:*

History

09 Jun 2025, 19:42

Type Values Removed Values Added
First Time Apache ambari
Apache
References () https://lists.apache.org/thread/70g1l5lxvko7kvhyxmtmklhhfrlon837 - () https://lists.apache.org/thread/70g1l5lxvko7kvhyxmtmklhhfrlon837 - Vendor Advisory
References () http://www.openwall.com/lists/oss-security/2025/01/21/8 - () http://www.openwall.com/lists/oss-security/2025/01/21/8 - Mailing List, Vendor Advisory
CPE cpe:2.3:a:apache:ambari:*:*:*:*:*:*:*:*

22 Jan 2025, 15:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8
Summary
  • (es) Existe una vulnerabilidad de inyección de código en la función de definición de alertas de Ambari, que permite a los usuarios autenticados inyectar y ejecutar comandos de shell arbitrarios. La vulnerabilidad surge al definir la alerta scripts, donde el campo de nombre de archivo script se ejecuta utilizando `sh -c`. Un atacante con acceso autenticado puede aprovechar esta vulnerabilidad para inyectar comandos maliciosos, lo que lleva a la ejecución remota de código en el servidor. El problema se ha solucionado en las últimas versiones de Ambari.

21 Jan 2025, 23:15

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2025/01/21/8 -

21 Jan 2025, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-01-21 22:15

Updated : 2025-06-09 19:42


NVD link : CVE-2025-23196

Mitre link : CVE-2025-23196

CVE.ORG link : CVE-2025-23196


JSON object : View

Products Affected

apache

  • ambari
CWE
CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')