CVE-2023-50380 Apache Ambari: authenticated users could perform XXE to read arbitrary files on the server

Medium 6.5 Published Updated

Authenticated attackers can exploit XXE in Apache Ambari to read arbitrary server files and potentially escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-50380?

CVE-2023-50380 is a medium-severity vulnerability in Apache Ambari, published on 27 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

XML External Entity injection in apache ambari versions <= 2.7.7, Users are recommended to upgrade to version 2.7.8, which fixes this issue.

More Details:

Oozie Workflow Scheduler had a vulnerability that allowed for root-level file reading and privilege escalation from low-privilege users. The vulnerability was caused through lack of proper user input validation.

This vulnerability is known as an XML External Entity (XXE) injection attack. Attackers can exploit XXE vulnerabilities to read arbitrary files on the server, including sensitive system files. In theory, it might be possible to use this to escalate privileges.

Weakness: CWE-611

Which versions are affected by CVE-2023-50380?

2 open source packages ship an affected version, including org.apache.ambari.contrib.views:wfmanager. It affects 1 product.

PackageAffectedFixed in
org.apache.ambari.contrib.views:wfmanager MavenFrom 2.7.02.7.8
org.apache.ambari.contrib.views:wfmanager MavenFrom 2.7.02.7.8

Products include Apache Ambari.

How do I fix CVE-2023-50380?

Upgrade org.apache.ambari.contrib.views:wfmanager to 2.7.8 or later.

Is CVE-2023-50380 being exploited?

There is no known exploitation of CVE-2023-50380 in the wild and no public exploit code.

Sources

Also known as GHSA-qrp9-23p7-g5mf.

Is CVE-2023-50380 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free