A code injection vulnerability exists in the Ambari Alert...
High severity
Unreviewed
Published
Jan 22, 2025
to the GitHub Advisory Database
•
Updated Jan 22, 2025
Description
Published by the National Vulnerability Database
Jan 21, 2025
Published to the GitHub Advisory Database
Jan 22, 2025
Last updated
Jan 22, 2025
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 attackerwith 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.
References