CVE-2025-23196 Details
Description
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.
A code injection vulnerability has been identified in the Apache Ambari Alert Definition feature, affecting versions prior to 2.7.9. This vulnerability allows authenticated users to inject and execute arbitrary shell commands. The issue arises when alert scripts are defined, as the script filename field is executed using 'sh -c'. An attacker with authenticated access can exploit this to execute malicious commands, leading to remote code execution on the server.
Users can upgrade to Apache Ambari version 2.7.9 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2025/01/21/8 | CVE | Mailing ListVendor Advisory |
| https://lists.apache.org/thread/70g1l5lxvko7kvhyxmtmklhhfrlon837 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache ambari | < 2.7.9 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 9, 2025 | Initial Analysis | [email protected] |
| Jan 22, 2025 | CVE Modified | CISA-ADP |
| Jan 21, 2025 | CVE Modified | CVE |
| Jan 21, 2025 | New CVE Received | [email protected] |