Skip to content
XSS Write-up Intermediate

MS Threat Modeller

The Microsoft Threat Modeller tool was vulnerable to cross-site scripting, allowing script to run in its local file context. An attacker could potentially use this to instantiate previously unusable ActiveX controls or redirect the victim to a site hosting browser exploits.

sensepost.com

Published on sensepost.com

Since this all works in file:///, not overly sure what the benefits of these things will be, but I suppose since different folks may have different privilege levels for different protocol handlers (ie: file:// http:// etc), one might be able to instantiate previously unusable OCX’es, or even redirect to site for…

The author, on sensepost.com

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 tool rendered user-supplied content without sanitising it, so script executed in the local file context.

Impact

An attacker could potentially run script in the local file context, possibly loading otherwise unusable ActiveX controls or redirecting the victim to a site hosting browser exploits, though the author is unsure of the real benefit.

What the attacker needed

Victim opens crafted content in the tool; Windows with ActiveX-capable browser

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) means a program displays attacker-supplied content as if it were part of its own page, so the attacker's script runs with the program's trust. Here the tool ran that script from a local file, which in old Windows browsers could unlock powerful components called ActiveX controls. The author is unsure how much this actually gains an attacker.

What is XSS?

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

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.