CVE-2025-23196: Apache Ambari: Code Injection Vulnerability in Ambari Alert Definition
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-23196?
CVE-2025-23196 is considered a critical vulnerability due to its potential to allow authenticated users to execute arbitrary shell commands.
How do I fix CVE-2025-23196?
To mitigate CVE-2025-23196, validate user input in the alert script filename field and restrict shell command execution within the Ambari Alert Definition feature.
Who is affected by CVE-2025-23196?
CVE-2025-23196 affects users of Apache Ambari, specifically those utilizing the Alert Definition feature.
What type of vulnerability is CVE-2025-23196?
CVE-2025-23196 is classified as a code injection vulnerability.
Can CVE-2025-23196 be exploited remotely?
CVE-2025-23196 requires authenticated access, meaning it cannot be exploited remotely without valid credentials.