Skip to content
Info disclosure Disclosed report Intermediate

Origin IP address disclosure through Pingora response header

HTTP responses from the Pingora proxy included the origin server's IP address when a malformed Range header was sent. An attacker could use this to learn the origin IP, potentially bypassing Cloudflare's protection.

smither Follow

Originally disclosed on HackerOne

Medium 6.1 View original
  • Triaged in 15 hours
  • Fixed in 6 days
  • Paid in 38 hours
  • Disclosed after 28 days

Summary by the program

HTTP responses to cached files served by the Pingora proxy revealed Origin IP address information. An attacker could trigger this misbehaviour by crafting a request with a malformed Range header. The attack was successful under conditions where Cloudflare cache was in REVALIDATED state, the incoming request was served by Pingora proxy and the affected server accepted the Range header. The issue was remediated by Cloudflare Engineering team and the leaked information was removed from all responses of the proxy.

The original report as published on HackerOne, by smither. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the Pingora proxy failed to sanitise response headers when handling malformed Range requests, causing it to include the origin IP address.

Impact

An attacker could discover the origin server's IP address, which may help them target it more directly.

What the attacker needed

Cloudflare cache in REVALIDATED state; Request served by Pingora proxy; Server accepts Range header

The fix

The issue was fixed by Cloudflare Engineering, and the leaked information was removed from all proxy responses.

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 report has not been written yet. The Original tab links to the source.

When a website uses a service like Cloudflare, the real server's address is hidden to protect it. This report found that by sending a specially malformed request for part of a file, the proxy would accidentally include the real server's address in its response. That would let an attacker find the hidden server and attack it directly.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by smither

View all

1 more disclosed report, best first.

More from Cloudflare Public Bug Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.