7.5high
Apache Ambari: XML External Entity (XXE) Vulnerability in Ambari/Oozie
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.80% (higher than 57% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
Description
An XML External Entity (XXE) vulnerability exists in the Ambari/Oozie project, allowing an attacker to inject malicious XML entities. This vulnerability occurs due to insecure parsing of XML input using the `DocumentBuilderFactory` class without disabling external entity resolution. An attacker can exploit this vulnerability to read arbitrary files on the server or perform server-side request forgery (SSRF) attacks. The issue has been fixed in both Ambari 2.7.9 and the trunk branch.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Ambari | before 2.7.9 | CVE List |
| apache ambari | before 2.7.9 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
An XML External Entity (XXE) vulnerability exists in the Ambari/Oozie project, allowing an attacker to inject malicious XML entities. This vulnerability occurs due to insecure parsing of XML input using the `DocumentBuilderFactory` class without disabling external entity resolution. An attacker can exploit this vulnerability to read arbitrary files on the server or perform server-side request forgery (SSRF) attacks. The issue has been fixed in both Ambari 2.7.9 and the trunk branch.
NVD (es)
Existe una vulnerabilidad de entidad externa XML (XXE) en el proyecto Ambari/Oozie, que permite a un atacante inyectar entidades XML maliciosas. Esta vulnerabilidad se produce debido a un análisis inseguro de la entrada XML mediante la clase `DocumentBuilderFactory` sin deshabilitar la resolución de entidades externas. Un atacante puede aprovechar esta vulnerabilidad para leer archivos arbitrarios en el servidor o realizar ataques Server-Side Request Forgery (SSRF). El problema se ha solucionado tanto en Ambari 2.7.9 como en la rama troncal.
References
| https://lists.apache.org/thread/hsb6mvxd7g37dq1ygtd0pd88gs9tfcwq | vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2025/01/21/7 | mailing-list, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-23195 changed 2025-01-22 | CVE Terms of Use |
| NVD | CVE-2025-23195 changed 2026-06-17 | Public domain |