Azure HDInsight: The Sequel – Unveiling 3 New Vulnerabilities That Could Have Led to Privilege Escalations and Denial of Service
Three vulnerabilities were found in Azure HDInsight's Apache Oozie and Ambari services: an XXE in Oozie allowing root-level file read and privilege escalation, a JDBC injection in Ambari allowing a low-privileged user to execute commands as root, and a ReDoS in Oozie causing denial of service. An authenticated attacker could exploit these to gain cluster administrator privileges or disrupt operations.
Published on orca.security
Orca has discovered three new vulnerabilities within various Azure HDInsight third-party services, including Apache Hadoop, Spark, and Kafka. These services are integral components of Azure HDInsight, a widely used managed service offered within the Azure ecosystem.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the root causes are: lack of proper input validation in Oozie's XML parsing (XXE), unsanitised JDBC connection parameters in Ambari allowing command injection, and missing input constraints in Oozie's action ID handling leading to ReDoS.
Impact
An authenticated attacker with low privileges could escalate to cluster administrator, read sensitive files including credentials, execute commands as root, or cause a denial of service; Microsoft fixed all issues in the October 26th security update.
What the attacker needed
Authenticated HDInsight user; low-privilege cluster access; ability to create/modify workflows
How it was found
- Create an HDInsight cluster (Spark or Hadoop) and log in as admin.
- Create a low-privilege user with Cluster User role.
- Create a Workflow service in Ambari Views and grant the low user access.
- Log in as the low user and access the Workflow Service dashboard.
- For XXE: submit a crafted XML payload to the Oozie job submission endpoint to read files.
- For JDBC injection: use the Hive database connection test to inject a malicious JDBC URL.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This report describes three security flaws in Microsoft's Azure HDInsight, a service for processing big data. Two flaws let a normal user trick the system into giving them full control (like a regular employee finding a master key), and one flaw lets a user overload the system so it stops working for everyone. The problems were in third-party tools (Apache Oozie and Ambari) that HDInsight uses.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.