Skip to content
Misconfiguration Disclosed report Beginner

Incomplete or No Cache-control and Pragma HTTP Header Set

The report claims that cache-control and pragma headers are missing or improperly set, which could let browsers and proxies cache sensitive content. The response shown actually includes a cache-control header, so the claim is inconsistent with the evidence.

lulliii Follow

Originally disclosed on HackerOne

  • Triaged in 11 days
  • Fixed in 4 months
  • Paid in 11 days
  • Disclosed after 4 months

Hello, The cache-control and pragma HTTP header have not been set properly or are missing allowing the browser and proxies to cache content.

HTTP/1.1 200 OK Connection: keep-alive Server: gunicorn Date: Sun, 27 Nov 2016 16:18:06 GMT Content-Type: text/html; charset=UTF-8 X-Gratipay-Version: 2014 Set-Cookie: csrf_token=chYzzQF9UYGunrz4V68ggeuvV6MpTjTZ; expires=Sun, 04 Dec 2016 16:18:06 GMT; Path=/; secure X-Frame-Options: SAMEORIGIN X-Content-Type-Options: nosniff X-Xss-Protection: 1; mode=block Cache-Control: no-cache Via: 1.1 vegur

Solution: Whenever possible ensure the cache-control HTTP header is set with no-cache, no-store, must-revalidate, private; and that the pragma HTTP header is set with no-cache.

The original report as published on HackerOne, by lulliii. 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 page does not send a complete set of cache-prevention headers, though the shown response already includes a cache-control header.

Impact

If sensitive pages are cached, an attacker using a shared cache or proxy could potentially retrieve another user's content, but the report does not demonstrate this.

What the attacker needed

None

The fix

The cache-control header should be set with no-cache, no-store, must-revalidate, private, and the pragma header should be set with no-cache.

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.

Web servers send headers to tell browsers and intermediate caches whether a page can be stored. If a page with private information is cached, someone else using the same cache might later see it. This report says those headers are missing, but the example response it shows already contains a cache-control header.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by lulliii

View all

7 more disclosed reports, best first.

More from Gratipay

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.