Use-after-free in setsockopt IPV6_2292PKTOPTIONS (CVE-2020-7457)
The PS5 is vulnerable to a use-after-free in the IPv6 setsockopt IPV6_2292PKTOPTIONS handling, which the author previously reported for the PS4. An attacker could use this vulnerability to gain kernel access on the PS5.
Originally disclosed on HackerOne
- Triaged in 8 days
- Fixed in 3 months
- Paid in 28 days
- Disclosed after 9 months
Summary by the program
The PS5 is vulnerable to https://hackerone.com/reports/826026 which easily grants kernel access to an attacker. This vulnerability had been reported by me for the PS4 2 years ago when the PS5 did not yet exist, thus this should be considered as a new report and not a duplicate.
I was able to use this vulnerability in conjunction with the bd-j exploit chain to gain kernel access.
See https://www.freebsd.org/security/advisories/FreeBSD-SA-20:20.ipv6.asc for more details.
Impact
Gain kernel access on PS5.
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 a use-after-free in the handling of the IPV6_2292PKTOPTIONS socket option, as referenced in the linked FreeBSD advisory.
Impact
An attacker could gain kernel access on the PS5, though the text does not detail the full exploit chain or any mitigations.
What the attacker needed
PS5 console; ability to run the bd-j exploit chain
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.
A use-after-free is a memory bug where a program keeps using memory after it has been freed, which can let an attacker control what happens next. Here, a flaw in how the system handles a network setting for IPv6 could let someone take control of the core of the operating system, called the kernel. The author says they combined it with another exploit to get that kernel access on the PS5.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.