CVE-2018-8003 Path traversal in Apache Ambari
Unauthenticated attackers can read arbitrary files on the Ambari Server host via directory traversal, exposing sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-8003?
CVE-2018-8003 is a medium-severity path traversal vulnerability in Apache Ambari, published on 3 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Apache Ambari, versions 1.4.0 to 2.6.1, is susceptible to a directory traversal attack allowing an unauthenticated user to craft an HTTP request which provides read-only access to any file on the filesystem of the host the Ambari Server runs on that is accessible by the user the Ambari Server is running as. Direct network access to the Ambari Server is required to issue this request, and those Ambari Servers that are protected behind a firewall, or in a restricted network zone are at less risk of being affected by this issue.
Weakness: CWE-22
Which versions are affected by CVE-2018-8003?
It affects 1 product.
Products include Apache Ambari.
How do I fix CVE-2018-8003?
No fix has been published for CVE-2018-8003 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-8003 being exploited?
There is no known exploitation of CVE-2018-8003 in the wild and no public exploit code.
Other vulnerabilities in Apache Ambari
- CVE-2017-5642 Misconfiguration in Apache Ambari
- CVE-2014-3582 Command injection in n/a
- CVE-2016-6807 Apache Ambari Improper Access Control
- CVE-2024-51941 Apache Ambari: Remote Code Injection in Ambari Metrics and AMS Alerts
- CVE-2025-23196 Apache Ambari: Code Injection Vulnerability in Ambari Alert Definition
Sources
Also known as GHSA-hpj4-w9fj-7vgh.