Skip to content
Access control Disclosed report Intermediate

Getting all the CD keys of any game

An authenticated partner user could call a CD-key assignment endpoint with crafted parameters to download previously generated CD keys for games they were not authorised to access. This exposed keys that should have been restricted to other partners.

moskowsky Follow

Originally disclosed on HackerOne

Bounty$20,000incl. $5,000 bonus Critical View original
  • Triaged in 8 hours
  • Fixed in 4 days
  • Paid in 4 days
  • Disclosed after 3 months

Summary by the program

Using the /partnercdkeys/assignkeys/ endpoint on partner.steamgames.com with specific parameters, an authenticated user could download previously-generated CD keys for a game which they would not normally have access. Audit logs were not bypassed using this method, and an investigation of those audit logs did not show any prior or ongoing exploitation of this bug.

Summary by the researcher

https://www.youtube.com/watch?v=t0MWDqiKVPk

The original report as published on HackerOne, by moskowsky. 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 endpoint trusted user-supplied parameters to select which game's keys to return without verifying the caller's authorisation for that game.

Impact

An authenticated partner could obtain CD keys for games they were not entitled to, though audit logs were not bypassed and no prior exploitation was found.

What the attacker needed

Authenticated partner account

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.

CD keys are the codes used to activate games. A partner website lets game publishers manage those keys. Here, a logged-in partner could ask the site for keys belonging to a different game and the site handed them over instead of checking whether that person was allowed to see them.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by moskowsky

View all

1 more disclosed report, best first.

More from Valve

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.