Skip to content
XSS Advisory Intermediate CVE-2024-38108

Azure Stack Hub Spoofing Vulnerability (CVE-2024-38108)

A cross-site scripting flaw existed in the virtual public IP address used by Azure Stack Hub virtual machines, affecting related endpoints. An unauthenticated attacker could trick a logged-on user into loading malicious code in their browser on the VM, letting the attacker act with the VM's implicit identity and reach host endpoints the browser can access.

Felix Boulet Follow

Originally disclosed on Microsoft

High 9.3 View original

FAQ

How could an attacker exploit this vulnerability? A cross-site scripting vulnerability existed in virtual public IP address that impacted related endpoints. For more information on the impacted virtual public IP address, see here: What is IP address 168.63.129.16? | Microsoft Learn . An unauthenticated attacker could exploit this vulnerability by getting the victim to load malicious code into their web browser on the virtual machine, allowing the attacker to leverage an implicit identity of the virtual machine. The victim's web browser then would determine which host endpoints are accessible.

FAQ

According to CVSS metrics the user interaction is required (UI:R). What interaction would a user have to do? A user (victim) logged on to a virtual machine would need to be tricked for the virtual machine to explicitly download and execute a malicious code in their web browser.

FAQ

According to the CVSS metric, the successful exploitation of this vulnerability could lead to a scope change (S:C). What does this mean for this vulnerability? By sending a specially crafted request to the vulnerable virtual public IP address, the attacker is able to load malicious code into a victim's browser without having any direct access or connection.

Azure Stack

Azure Stack

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Felix Boulet with Centre gouvernemental de cyberdéfense (CGCD). Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the endpoint behind the virtual public IP address failed to properly neutralise attacker-supplied script, allowing cross-site scripting in the victim's browser on the VM.

Impact

An attacker could run code in the victim's browser with the VM's implicit identity and probe which host endpoints are reachable, though exploitation required the victim to be tricked into loading the code.

What the attacker needed

Victim logged on to a VM; victim tricked into loading malicious code

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 report has not been written yet. The Original tab links to the source.

A virtual machine on Azure Stack Hub talks to a special internal address that the platform uses for services. A scripting flaw there meant a page could run attacker-supplied code inside the victim's browser on that machine. Because the browser sits inside the VM, that code could borrow the machine's own identity and try to reach internal services.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by Felix Boulet

View all

2 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.