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

No configuration.

History

22 Jan 2025, 15:15

Type Values Removed Values Added
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.
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8

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-01-22 15:15


NVD link : CVE-2025-23196

Mitre link : CVE-2025-23196

CVE.ORG link : CVE-2025-23196


JSON object : View

Products Affected

No product.

CWE
CWE-77

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