scrobble.life
#cybersecurity

πŸ›‘οΈ Bug Bounty Log #04 | Origin IP Leaked Behind the CDN


bounty4.jpg


🎯 The plan

  • Focus: Off-chain recon on a self-hosted web application behind a CDN/WAF. The surface that caught my eye: mail and autodiscovery subdomains (webmail, autoconfig, autodiscover) resolving to a bare origin IP while the apex domain stayed behind Cloudflare.
  • Time Spent: ~3 days across 5 sessions (subdomain enumeration β†’ DNS/CT history β†’ shared-origin comparison β†’ origin probe β†’ verdict).
  • Tools Used: subdomain enumeration (brute-force + passive), DNS history / certificate transparency, httpx-style live probing, curl origin checks, admin-page reachability probes.

NDA / ethics disclaimer: This was never filed β€” it stayed a lead whose impact I could not prove end-to-end, and it remained informational. Even so, this log is fully generic: no company names, no domains, no IP addresses, no verbatim endpoints, no live PoCs. Everything technical is reproducible in abstract form.


🧠 The finding: mail subdomains pointing past the CDN

Mapping the target's subdomain surface, I found several hostnames used for mail and autodiscovery (webmail, autoconfig, autodiscover) resolving to the same bare origin IP as the main application β€” while the apex domain itself was fronted by a CDN/WAF. Those mail/autodiscovery subdomains were DNS-only (grey-clouded) or never proxied, so DNS queries returned the origin IP directly instead of anycast edge IPs.

That meant an attacker could bypass the CDN entirely and reach the origin service on port 80/443, speaking to whatever application lives behind it without the CDN's rate limits, WAF rules, or bot protections in the path.

The first hint came from DNS comparison: the apex domain resolved to CDN anycast IPs, but webmail and autodiscover both resolved to one single origin IP β€” the same one the main application ultimately serves from. A shared origin across unrelated subdomains is the classic "leak" shape: infrastructure that was never moved behind the proxy.


πŸ”¬ Proving the lead: origin reachability probe

The whole validation was read-only and offline against the real target:

  1. Resolve the apex domain β†’ confirm CDN anycast IPs (proxied).
  2. Resolve webmail / autoconfig / autodiscover β†’ confirm one bare origin IP (not proxied).
  3. curl the origin IP directly on 80/443 β†’ confirm an application responds (not a closed port or default server page).
  4. Probe the admin surface reachable on the origin β†’ confirm whether it is reachable without auth or still protected.

Result: the origin IP is reachable and serves an application, but every sensitive path (/admin/*, auth-gated routes) still returns 401 or 404 without valid credentials β€” the CDN's absence did not weaken the origin's own access control. There is no WAF-bypass-to-sensitive-endpoint chain, no open relay, no credential exposure, and no service vulnerability reachable directly on the origin.

So the artifact is: origin IP disclosed; origin application reachable; no exploitable impact demonstrated. That is the definition of an informational lead.


βš–οΈ Why this is (probably) not a finding

A bare origin IP by itself is infrastructure topology information, not a vulnerability. Impact requires an exploitable service directly reachable on that origin that the CDN was meaningfully protecting β€” for example, a WAF-bypassed sensitive endpoint, an unpatched origin-only service, or a protocol the CDN would have rate-limited.

Here the origin enforces the same authentication and authorization as the proxied domain. Directly hitting the origin gets you the same 401s the CDN would have proxied anyway. The "lead vs. confirmed" gap is exactly the end-to-end rule: disclosed IP β‰  proven exploit. Without a request that reaches the origin directly and produces a security-relevant effect (bypass, exposure, code execution, data access), this stays a recon artifact, not a reportable finding.

Most programs classify bare origin-IP disclosure as informational/low unless a chained exploit reaches a sensitive endpoint directly on the origin.


πŸ§— The honest limitation: lead β‰  finding

The session stopped at the validation gate: reachability confirmed, impact not proven. Submitting "origin IP disclosed" as anything above informational would be an unproven impact claim β€” exactly the kind of report that gets triaged as N/A or low and burns credibility.

The lead lives in the notes as a documented recon artifact with a clear reason it did not become a finding: origin access control intact, no sensitive endpoint reachable without auth, no chained exploit. If the origin later runs an unpatched or origin-only service, this lead gets reopened; until then, it is closed as informational.


πŸ’‘ What worked, what didn't

  • What paid off:
    • Comparing resolved IPs across subdomains: apex = CDN anycast, mail/autodiscover = bare origin. One diff, one lead.
    • Certificate transparency + DNS history: confirmed the origin hostname existed before CDN fronting and shared SANs across proxied and unproxied names.
    • Read-only origin probe: curl on 80/443 + admin-reachability check proved access control held, killing the "WAF bypass" hypothesis in one request.
  • What tripped me up:
    • The temptation to treat a leaked IP as a finding by default. It isn't β€” impact must be demonstrated against the origin service itself.
    • Nothing on this target was exploitable end-to-end, so the session produced zero reports. That is a valid outcome; not every lead needs to become a finding.

πŸ“ˆ By the numbers

  • Subdomains enumerated: ~40 candidates β†’ live hosts: 15 β†’ bare-origin hosts: 3 (webmail, autoconfig, autodiscover)
  • Origin IPs leaked: 1 (shared across the 3 mail/autodiscovery hostnames)
  • Read-only origin probes: 4 (resolve apex, resolve subdomains, curl 80/443, probe admin surface)
  • Sensitive endpoints reachable without auth on origin: 0
  • Reports filed: 0 Β· lead status: closed as informational

βœ… Final takeaways

  • A leaked origin IP is not an exploit. It is infrastructure topology. Impact requires a vulnerable or weakly protected service reachable directly on that origin.
  • Compare resolved IPs across subdomains: apex behind CDN, mail/autodiscover on bare origin = classic leak shape worth one read-only probe.
  • Validate end-to-end before claiming: reachability β‰  impact. If the origin enforces the same auth as the proxied domain, there is no bypass to report.
  • Close leads honestly. Documented "informational, impact unproven" is a better legacy than a rejected low report.

Your move: enumerate your target's mail/autodiscovery/legacy subdomains, compare their resolved IPs against the apex, and probe the bare origin read-only β€” admin surface, auth enforcement, service versions. Redact everything, even for leads you never file: no names, no domains, no IPs, no verbatim paths.

Next Target: turning this kill into a reusable recon checklist (origin-IP lead β†’ end-to-end impact gate).


**Note:** For this post, I used AI tools to format the text, add emoticons and make corrections.

Comments

No comments yet β€” be the first.