I Hacked an Organization Starting with One Subdomain
A datacenter subdomain exposed broken access controls that let the author view employee data, internal network details and a firewall configuration page. A separate login page on a non-standard port allowed uploading a non-image file as a profile photo, which could have led to remote code execution.
osintteam.blog
Published on osintteam.blog
Free Article Link⭐🔗
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 authorisation checks on the datacenter subdomain and insufficient file type validation on the profile photo upload.
Impact
An attacker could view employee data, internal network architecture and a firewall configuration page, and could potentially upload a reverse shell to gain remote code execution, though the author stopped before attempting this.
What the attacker needed
No authentication needed for subdomain; a free account on the login page; ability to upload a profile photo
How it was found
- Enumerate subdomains with Assetfinder and pick a datacenter subdomain.
- Visit the subdomain and find sensitive internal information exposed.
- Run an Nmap scan and find a non-standard port hosting multiple applications.
- Create an account on a login page found among practice projects.
- Upload a file that is not a JPEG or PNG as a profile photo to test extension handling.
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.
Broken access control means the website does not check properly who is allowed to see or do what, so someone can reach pages or data they should not. Here, the author could see private staff information and network details just by visiting a hidden subdomain. Separately, a profile photo upload accepted a file that was not an image, which could let an attacker run their own code on the server.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.