Jump to content
NextGenRoms

RCE exploit found in Call of Duty Black Ops Declassified


pedrom

Recommended Posts

Hello community,

I'm a guy who is into reverse engineering and networking a lot. I'm a bit known in the Call of Duty modding scene for emulating DemonWare (the backend master server used in every recent CoD title) and basically modifying the game's core by giving it extra features that were not planned in the game.

Anyway, I know of a remote code execution exploit that is existent in every single CoD title, and was patched by Activision a few years back. The Vita version, however, seems to be unpatched. With a little bit of DemonWare emulation on the Vita by changing the DNS address and running the emulator on my computer, I was able to send a command to the client (Vita running CoD) and the RCE was "successful" (I didn't actually execute any CPU instructions, I just filled the buffer with random stuff and it crashed, but I know this is a RCE since it's the same one that was also present in the PC version).

Now here's the thing: Since I'm a newbie when it comes to Vita modding and whatnot, I'm not sure if this exploit will be useful for hackers to attack the latest Vita 3.67 firmware. So that is exactly my question, if I shared the exploit, would it even be useful for hackers? If it is, let me know who the right people are for me to send them everything they need to know about this.

Edited by pedrom
  • Like 1
  • Upvote 1
Link to comment
Share on other sites

Very interesting.. But I suppose more importantly, what can this "RCE" command do, exactly? Does it allow you to run commands remotely on the vita? Write information to the memory?

In theory, if it works, could one write an exploit to cause a memory overflow and write into unallocated memory to trigger an exploit chain? Or is this more of a "Cheat online" kind of exploit?

I'm not super well versed in the world of Exploiting and what-not, but it seems very interesting.

  • Like 1
Link to comment
Share on other sites

3 hours ago, Djdragon44 said:

Very interesting.. But I suppose more importantly, what can this "RCE" command do, exactly? Does it allow you to run commands remotely on the vita? Write information to the memory?

In theory, if it works, could one write an exploit to cause a memory overflow and write into unallocated memory to trigger an exploit chain? Or is this more of a "Cheat online" kind of exploit?

I'm not super well versed in the world of Exploiting and what-not, but it seems very interesting.

It basically means you can remotely execute any machine code you'd like from your computer. Here's a good explanation:

It's a stack overflow exploit basically. The game uses a static allocated buffer to store the received packet, but the developers forgot to add a size/length check to make sure the data won't overflow before memcpy'ing it into the static buffer and so it will memcpy it using the received packet's length, instead of the static buffer's length, hence overflowing the remaining data into the stack. This exploit can be used to make the stack's return address point to our custom code (what I call "exploit buffer"), and this is where I'm a bit lost. I don't know how much freedom our "custom code" can have in terms of exploiting the actual Vita firmware.

Since the game is ran in user mode, I assume this exploit might not be of much help, but maybe it can be used to run Vita homebrews, or even boot other Vita titles? I'm totally not sure, hence why I'm willing to hand this exploit over to someone who knows what to make of it better than I.

Edited by pedrom
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...