The Bug I Found Twice On Microsoft
The same Local File Inclusion (LFI) vulnerability was found on a second Microsoft subdomain, but it was marked as a duplicate because both subdomains shared the same root cause: a misconfigured Vite server. An attacker could read arbitrary files from the server.
Finding a bug once is luck. Finding it twice is a pattern.
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 a misconfigured Vite development server that allowed path traversal, affecting multiple subdomains that pointed to the same backend.
Impact
An attacker could read arbitrary files from the server, potentially exposing sensitive information.
What the attacker needed
Knowledge of the subdomain pattern; ability to send HTTP requests
How it was found
- Create a small wordlist of common service name abbreviations.
- Run ffuf against the pattern FUZZcopilot-staging.microsoft.com, filtering out 403 and 404 responses.
- Identify a subdomain that returns a 200 status.
- Navigate to the subdomain and observe the Vite fingerprint.
- Send a crafted request to read /etc/passwd.
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 Local File Inclusion (LFI) bug lets an attacker trick a web server into showing files it shouldn't, like system password files. Here, the same mistake was made on two different web addresses, but because the underlying cause was the same, the second report was treated as a duplicate.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.