Can I Get a Technical Explanation for 9.00 Exploit?

Kurt91

Well-Known Member
OP
Member
Joined
Sep 9, 2012
Messages
589
Trophies
1
Age
33
Location
Newport, WA
XP
2,256
Country
United States
I'm currently taking a Cybersecurity class at university, and we need to give some sort of presentation regarding something having to do with cybersecurity. (Detailed requirements, I know) I figured since I'm already vaguely familiar with modding a PS4, at least from the end-user perspective, this would be a pretty easy topic to use. Plus, I thought I could always ask around on this site for more information (hence, the thread)

While I'm not looking for an extremely thorough explanation to the extent of being able to set up my own host or try and replicate anything myself, could anybody either give me a brief explanation of what the exploit is doing to give access, or point me in the direction of somewhere I could get this information?

From how I understand it, "userland" is the access that a game/app has to use the console's resources, "kernal" means you have access to absolutely everything. The online part of the exploit intentionally crashes the PS4, and tricks it into using the payload in the USB to restart itself rather than the normal hard drive files. If I'm right on this so far, that's the total extent of my knowledge, and if I'm mistaken, then I knew even less about it that the small bit I thought I already understood.
 

Tomato123

Well-Known Member
Member
Joined
Feb 8, 2020
Messages
735
Trophies
1
Location
England
XP
2,557
Country
United Kingdom
I'm currently taking a Cybersecurity class at university, and we need to give some sort of presentation regarding something having to do with cybersecurity. (Detailed requirements, I know) I figured since I'm already vaguely familiar with modding a PS4, at least from the end-user perspective, this would be a pretty easy topic to use. Plus, I thought I could always ask around on this site for more information (hence, the thread)

While I'm not looking for an extremely thorough explanation to the extent of being able to set up my own host or try and replicate anything myself, could anybody either give me a brief explanation of what the exploit is doing to give access, or point me in the direction of somewhere I could get this information?

From how I understand it, "userland" is the access that a game/app has to use the console's resources, "kernal" means you have access to absolutely everything. The online part of the exploit intentionally crashes the PS4, and tricks it into using the payload in the USB to restart itself rather than the normal hard drive files. If I'm right on this so far, that's the total extent of my knowledge, and if I'm mistaken, then I knew even less about it that the small bit I thought I already understood.
These are probably the best you will get.

Userland: I don't think a public write-up was ever made about this, but it was a vulnerability with fontfaces in webkit. Implementation is here https://github.com/ChendoChap/pOOBs4/blob/main/webkit.js
Small proof of concept:
JavaScript:
var fontFace1 = new FontFace("font1", "", {});
var fontFaceSet = new FontFaceSet([fontFace1]);
fontFace1.family = "font2";

Kernel: https://hackerone.com/reports/1340942 and implementation is here https://github.com/ChendoChap/pOOBs4/blob/main/kexploit.js
 

Soggytoast111

New Member
Newbie
Joined
Oct 17, 2022
Messages
4
Trophies
0
Age
38
XP
136
Country
United States
There's two stages to get jailbreak - app privilege and kernel privilege.

The first stage achieves arbitrary code execution in userland (app privilege) through a bug in Webkit's Javascript engine. Webkit is an open source web browser platform that is developed by Apple - Sony uses this as the PS4's web browser. The exploit is triggered when the web browser loads a page that has carefully crafted Javascript code.

The bug is called CVE-2021-30858

The second stage achieves arbitrary code execution with Kernel privilege through a bug in FreeBSD (the open source OS platform that the PS4's OS is built out of). The bug has to do with the filesystem (exFAT), and can be triggered by mounting a USB drive with a carefully crafted image that has certain invalid attributes. A user directly interfacing with the PS4 doesn't have enough control to fully leverage this bug for jailbreak - you need the ACE from stage 1 to control this process and fully exploit the kernel.

If you search for PS4 exFAT bug there is plenty of technical information about this.

Once you can execute code as Kernel, you can tell it to patch itself to disable all the protections that would normally prevent you from installing/running homebrew or pirated games. And that's jailbreak.

This was all recently achieved on PS5 as well (same concept, with a different set of bugs), but there is one extra layer of protection that hasn't been cracked yet. Unlike on PS4, the PS5 has a hypervisor that prevents the kernel from reading itself or patching itself. There is a lot of work being done right now to try to figure out a solution to this.
 
Last edited by Soggytoast111,
  • Like
Reactions: Tomato123

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    inb4 computer science
  • BigOnYa @ BigOnYa:
    Fake Leg scratching 101
  • K3Nv2 @ K3Nv2:
    IT support you can act like your own farts smell like cherries that way
  • K3Nv2 @ K3Nv2:
    Odin 2s $300 lol no
  • Scarlet @ Scarlet:
    The Mini is even more lol
  • K3Nv2 @ K3Nv2:
    That RG cube is starting to look like the better value price creep option
    +1
  • BigOnYa @ BigOnYa:
    I want a handheld gaming system with a tablet sized screen, like a 8 or10" screen, with controllers that can detach like the Switch.
  • BakerMan @ BakerMan:
    @BigOnYa i was legitimately trying to scratch my leg, this is reminding me of that cylinder post
  • Scarlet @ Scarlet:
    I don't see the buzz about a square screen personally. I think there will be a review on the site within a few weeks though if you are interested.
    +1
  • Scarlet @ Scarlet:
    I've put down the money on the Odin 2 Mini since I just love that Vita form factor. Loved the power of the Odin 2 but the size always put me off, this one seems exactly what I've been wanting.
  • K3Nv2 @ K3Nv2:
    I don't care about the square screen it's just nice to hold something you don't have to stretch your arms a foots length
  • K3Nv2 @ K3Nv2:
    All these things expecting to be super huge is overrated just run a type c cable to your TV if you want a big display or in my case screen mirror it
  • BigOnYa @ BigOnYa:
    On the go tho I meant, I use my 10" tablet and a Bluetooth controller for retro gaming while sitting on my porch or on long car rides sometimes. Easier on my eyes than the Switch screen.
  • K3Nv2 @ K3Nv2:
    My point is we already have enough shit with big displays having something pocketable with up to ps2 would be fine on the go
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Ken unless the games are made for that screen size most suck on a screen that size... Having a square screen and being brighter and higher res helps but it's not a cure all, text is tiny bullets are tiny, your.... Well lol
  • K3Nv2 @ K3Nv2:
    You can stretch to fit probably it's not all bad that they make it seem to be
  • K3Nv2 @ K3Nv2:
    People always yap about oh but you loose pixels but yeah it won't look awful either
  • Psionic Roshambo @ Psionic Roshambo:
    I like filters :P
  • K3Nv2 @ K3Nv2:
    Filters are why you don't go on 2nd dates
  • Psionic Roshambo @ Psionic Roshambo:
    Lol nahhh it's because I usually get what they want on the first date lol
  • Psionic Roshambo @ Psionic Roshambo:
    I swear if I hear "I don't usually do this on the first date" on more time... I am going to start counting
  • K3Nv2 @ K3Nv2:
    I bought you McDonald's even tho you lied about your pics I still deserve this
  • Psionic Roshambo @ Psionic Roshambo:
    No no continue, I hear these things women say so often I decided to start counting
    Psionic Roshambo @ Psionic Roshambo: No no continue, I hear these things women say so often I decided to start counting