CVE-2025-23196

HIGH CVSS 3.1: 8.8 EPSS 1.29%
Updated Jun 09, 2025
Apache
Parameter Value
CVSS 8.8 (HIGH)
Affected Versions before 2.7.9
Fixed In 2.7.9
Type CWE-77 (Command Injection)
Vendor Apache
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Apache Ambari
cpe:2.3:a:apache:ambari:*:*:*:*:*:*:*:*
— 2.7.9