Azure HDInsight Riddled With XSS Vulnerabilities via Apache Services
Eight cross-site scripting vulnerabilities were found in Apache services on Azure HDInsight, six stored and two reflected. An attacker could inject and execute malicious scripts in a victim's browser, leading to session hijacking or data access.
Published on orca.security
The Orca Research Pod recently discovered a total of 8 important Cross-Site Scripting (XSS) vulnerabilities within various Apache services on Azure HDInsight, a widely used managed service for open-source analytics. The identified vulnerabilities consisted of 6 Stored XSS and 2 Reflected XSS vulnerabilities, each of…
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 lack of proper input sanitisation and output encoding in multiple Apache service dashboards, allowing malicious characters to be rendered as HTML or script.
Impact
An attacker could execute scripts in a victim's browser, potentially leading to session hijacking, data access, or delivery of malicious payloads; the text does not specify whether any defence limited the exploits.
What the attacker needed
Access to an HDInsight cluster; ability to send crafted requests; victim visits a crafted page or link
The fix
Microsoft fixed all eight vulnerabilities in the August 2023 security update.
How it was found
- Create an HDInsight service and access the public endpoint.
- Navigate to the vulnerable component, such as Background Operations, Managed Notifications, YARN Queue Manager, Jupyter Notebooks, ResourceManager UI, Hive Interactive UI, or Oozie Web UI.
- Capture the relevant request and modify a parameter to include HTML or script content.
- Send the modified request and observe whether the injected content is reflected or stored.
- Refresh or revisit the page to see if the script executes.
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.
Cross-site scripting (XSS) is a flaw where a website shows user-supplied text without cleaning it, so an attacker can slip in code that runs in other people's browsers. Here, several dashboards in Azure HDInsight did not properly sanitise input, so a malicious script could be stored or reflected and then run when someone viewed the page. This could let an attacker steal session data or act as the victim.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.