Skip to content
XSS Write-up Intermediate

How I got a 5000 $ Bounty from Microsoft

An unauthenticated internal Microsoft dashboard exposed an unrestricted file upload and a reflected XSS, allowing an attacker to upload malicious files and run script in the context of any Microsoft subdomain to steal logged-in users' credentials.

bashir69emceeaka5 Follow

Published on medium.com

Hi there, my Name is Bashir aka BlackPanther87 and this is my second Writeup on Medium where I will share how I got a 5000 $ Bounty from Microsoft so without further wait let’s dive into the details.

Bashir Mohamed (BlackPanther87), on medium.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 missing authentication on an internal dashboard combined with no validation of uploaded files and unsanitised user input reflected into pages.

Impact

An attacker could upload malicious files and run script against any Microsoft subdomain to steal credentials of logged-in users; the site was disabled within 24 hours of the report.

What the attacker needed

No authentication needed; attacker finds the dashboard via Shodan; victim visits a crafted link or page

The fix

The site was disabled within 24 hours and a fix was later reported by Microsoft.

How it was found

  1. Search Shodan for subdomains of the target using an SSL filter.
  2. Open the discovered internal dashboard, which required no login.
  3. Navigate to the Dynamic Drawl section and open the MC Dashboard.
  4. Use the unrestricted file upload under Dynamic Drawler Cache Management to upload a payload.
  5. Scroll to the bottom of the MC Dashboard to trigger the reflected XSS.

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.

A file upload feature that anyone can reach without logging in lets an attacker put dangerous files on the server. A cross-site scripting (XSS) flaw lets an attacker run their own code in a victim's browser, so the victim's login cookies or session can be stolen. Here the dashboard was open to the internet with no login, and it also reflected input back as script.

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 bashir69emceeaka5

View all

1 more disclosed report, best first.

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.