Valve has rewarded a man with $20,000 after he discovered a bug which let people generate thousands of free codes at once for any game.
The flaw was rooted out by security researcher Artem Moskowsky who reported it to Valve on August 7.
Valve fixed the issue weeks ago and it has since been made public via HackerOne.
By changing a single parameter, any person with a developer account on the portal could generate thousands of activation keys simultaneously for any other game hosted by Steam.
Speaking with The Register, Moskowsky says he found the bug by chance while exploring the functionality of a web application.
"To exploit the vulnerability, it was necessary to make only one request," he said. "I managed to bypass the verification of ownership of the game by changing only one parameter. After that, I could enter any ID into another parameter and get any set of keys."
While testing the extent of the flaw, Moskowsky entered a string of random numbers as a request and received 36,000 keys for Portal 2.
https://www.gamesindustry.biz/articl...game-codes-bug