The Apache Ambari project is aimed at making Hadoop management simpler by developing software for provisioning, managing, and monitoring Apache Hadoop clusters. Ambari provides an intuitive, easy-to-use Hadoop management web UI backed by its RESTful APIs.
Apache Ambari is vulnerable to path traversal (Zip-Slip) in its management-pack extraction: a POST /api/v1/mpacks install downloads an attacker-supplied tar.gz and MpackManager.extractTar writes each entry using its name verbatim (new File(untarDirectory, entry.getName())) with no ../canonical-path check. A crafted entry such as ../../../../../../etc/cron.d/ambari_pwn is written outside the staging directory on the ambari-server host as the ambari-server user resulting in arbitrary file write and remote code execution on the management server (the archive URL is also fetched via new URL(mpackUri).openStream(), a secondary SSRF primitive). The operation requires the top-level AMBARI_ADMINISTRATOR role, so this is an application-admin to OS-level-RCE escalation that a well-formed mpack cannot achieve.