Personal Tech

That's not very ice! Blizzard silently patches games hack hole, gives Googler cold shoulder

Code update hijacking vulnerability was snow joke

By Iain Thomson in San Francisco


Blizzard games – played every month by half a billion netizens, apparently – could be hijacked by malicious websites visited by gamers, according to Google's Project Zero team.

Googler Tavis Ormandy spotted the vulnerability in the Blizzard Update Agent, which is installed alongside all Blizzard titles. This particular application allows games to fetch and install upgrades and patches on the fly. The update engine also accepts commands to change settings, perform maintenance, and so on.

The code does this by running a JSON RPC HTTP server on port 1120, and uses a customized authentication system to check that whatever is asking it to make changes is authorized to do so. Script code on webpages can talk to the local server using XMLHttpRequest(), yet the mechanism can be bypassed.

"I don't think this design will work because of an attack called DNS rebinding," Ormandy explained in his advisory.

"Any website can simply create a dns name that they are authorized to communicate with, and then make it resolve to localhost. To be clear, this means that any website can send privileged commands to the agent. Exploitation would involve using network drives, or setting destination to 'Downloads' and making the browser install dlls, datafiles, etc."

Ormandy wrote a proof-of-concept exploit, and found that a successful attack should take about 15 minutes, but could be speeded up by forcing a DNS cache eviction. He warned Blizzard in early December, exchanged messages, and then the biz froze him out.

The games maker then silently hacked in a fix to its software: rather than white list its backend update server hostnames, it instead black lists common browsers from talking to the update mechanism.

"Blizzard were replying to emails, but stopped communicating on December 22nd," Ormandy reported.

"Blizzard are no longer replying to any enquiries, and it looks like in version 5996 the agent now has been silently patched with a bizarre solution. Their solution appears to be to query the client command line, get the 32-bit FNV-1a string hash of the exe name, and then check if it's in a blacklist. I proposed they whitelist hostnames, but apparently that solution was too elegant and simple.

"I'm not pleased that Blizzard pushed this patch without notifying me, or consulted me on this."

Blizzard is taking a similarly silent approach to answering press questions on the topic from The Reg. We'll update as soon as the games giant decides to comment. Ormandy has already said he's checking other big games vendors to see if the problem can be replicated. ®

Sign up to our NewsletterGet IT in your inbox daily


More from The Register

Tavis Ormandy to Microsoft: Have another Windows Defender vuln

Microsoft to Tavis: Here's the fix. Any chance we could have a day off?

Intel puts security on the todo list, Tavis topples torrent tool, and more

Roundup A quick catch-up on infosec stuff beyond what we've already reported

World's favourite open-source PDF interpreter needs patching (again)

Still afraid of no ghost? You didn't read the script

Rap for WhatsApp chat app chaps in phone-to-pwn security nap flap

Memory corruption flaw present in Android, iOS builds. Aaand it's been fixed

Windows 10 bundles a briefly vulnerable password manager

Keeper exposed punters to drive-by click-jack pwnage

When something's weird in your ImageMagick upload, who ya gonna call? Ghostbusters!

Evil files bypass GhostScript sandbox, run malicious code

uTorrent file-swappers urged to upgrade after PC hijack flaws fixed

Don't say we didn't warn you

Don't worry, it'll be all Reich! Googler saves Grammarly nazis from hacker invasion

Updated Language tool maker scrambles to patch info leak

What's got a vast attack surface and runs on Linux? Windows Defender, of course

Penguinistas, rejoice: Tavis Ormandy lets you fuzz Windows

They forked this one up: Microsoft modifies open-source code, blows hole in Windows Defender

Rar! That's a scary bug