Skip to content
Cache bugs Disclosed report Intermediate

Cache Poisoning DoS on updates.rockstargames.com

An unkeyed HTTP header called 'trailer' could be used to make the CDN cache a malformed 400 response for a legitimate file. An attacker could then cause legitimate users to receive this error instead of the requested content, resulting in a denial of service.

youstin Follow with d0xing

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 10 days
  • Paid in 8 days
  • Disclosed after 7 months

Summary by the program

In this report, the researcher discovered that there was a cache poisoning weakness on updates.rockstargames.com due to an unkeyed header, trailer. By sending this header, an attacker could cause the cache to save a malformed response with status code 400.

An example of such a request, as provided by the researcher:

GET /patches/gtaiv/notes_title_update_6/GTAIVPC_TU6_Patch_Notes_FR.txt?donotpoisoneveryone=1 HTTP/1.1
Host: updates.rockstargames.com
trailer: 1

To resolve this issue, our team worked together with our CDN provider. The host no longer returns/saves a 400-code response when this header is sent in a request, and legitimate users can no longer be denied access to this content.

Summary by the researcher

For more details about the vulnerability, check out: https://youst.in/posts/cache-poisoning-at-scale/

The original report as published on HackerOne, by youstin. 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 CDN or origin server mishandled the 'trailer' header, returning a 400 error, and the cache stored this error response without considering the header as part of the cache key.

Impact

Legitimate users could be denied access to the content because the cache served them the poisoned 400 error response.

What the attacker needed

Ability to send HTTP requests with custom headers

The fix

The issue was fixed by working with the CDN provider so that the host no longer returns or saves a 400 response when the 'trailer' header is sent.

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.

A cache is a server that stores copies of web content so it can be served faster. Normally, the cache decides what to store based on the URL, but sometimes it also looks at certain headers. Here, a header called 'trailer' was not supposed to affect the response, but the server treated it as special and returned an error. Because the cache did not include this header in its key, it saved the error for everyone, so other users got the error too.

What is Cache bugs?

A cache and the origin disagree about a request, so a poisoned response is served to everyone or a private page is stored as public.

More by youstin

View all

5 more disclosed reports, best first.

More from Rockstar Games

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Web cache poisoning and deception

The lesson behind this report.

A cache and the origin disagree about a request, so a poisoned response is served to everyone or a private page is stored as public.