The Night I Discovered a Production Server Hiding Behind an Exposed IP — And Why It Mattered…
The origin server IP of a web application was directly reachable on the internet, serving the same content as the official domain. An attacker could bypass the CDN and WAF protections to interact directly with the backend, potentially probing for other weaknesses or launching denial-of-service attacks.
Published on medium.com
Some bug bounty stories start with complicated payloads or clever fuzzing tricks. This one started with something much simpler:
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 origin server was not configured to restrict access to only the CDN or approved networks, allowing direct connections to its IP address.
Impact
Attackers could bypass WAF rules, CDN caching, bot protection, and rate limiting, and could probe the server directly for open ports and outdated services, potentially leading to DDoS or lateral movement.
What the attacker needed
None
The fix
The origin server should be configured to only accept traffic from approved CDN IP ranges and internal networks, and to reject requests that do not use the official domain name.
How it was found
- Visit the official application URL.
- Test the origin IP address directly in a browser.
- Observe that the same application is served from the IP without CDN or WAF.
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 website often sits behind a protective service like a CDN or firewall that filters traffic. If the actual server (the origin) can be reached directly by its IP address, anyone can skip those protections. This report found that the server was reachable directly, so the protections could be bypassed.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.