![]() |
|
[CVE-2024-9680] Explaining the Firefox 0Day that abuses use-after-free - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4) +----- Forum: Hacking Tutorials (https://hackforums.net/forumdisplay.php?fid=47) +----- Thread: [CVE-2024-9680] Explaining the Firefox 0Day that abuses use-after-free (/showthread.php?tid=6282693) |
[CVE-2024-9680] Explaining the Firefox 0Day that abuses use-after-free - Biggy_Asian - Oct 18, 2024 The firefox/tor browser is vulnerable on some versions by abusing a `use-after-free` vulnerability. This does not make CSS harmful however it is just an exploit within the handling of CSS within the Mozilla browser. The way it could be exploited is through a method like type confusion. This can happen when you have a pointer -> you free(MyPTR) -> you didnt clean it up correctly so it still exists which then can be used as a spot for an RCE. So like this: myPTR -> free(myPTR) -> myPTR still exists and is waiting for some new data -> attacker sets myPTR -> AttackerShell() -> myPTR gets executed which in turn runs the AttackerShell() function instead. This pretty much works by confusing the engine making it think your a foo and bar which then means the engine will get a type confusion error. This causes the structure values to then overlap with each other. If the attacker can control the Identifier then then they have a potential RCE vulnerability as they can control the ptr which gets executed below in the "out" input. TLDR: Confuse the browser by making it think its two different things which then causes a type confusion error which can then be exploited and if exploited the attacker can drop and run their payload into your memory which then gets executed by a trusted process like your browser. Here is an example of some vulnerable C/C++ code: The following code is pretty much just copied from Low Level Code // I wrote this shit in the browser dont mind the formatting.Exploitable versions UPDATE ASAP: ![]() Sources: https://nvd.nist.gov/vuln/detail/CVE-2024-9680 https://www.msn.com/en-us/money/other/update-firefox-131-now-to-patch-a-critical-zero-day-security-flaw/ar-AA1s2kNk For others just use google <3 RE: [CVE-2024-9680] Explaining the Firefox 0Day that abuses use-after-free - InspectorGadget - Oct 18, 2024 Nice thread mate. Known affected versions: ![]() Also here's a better source: https://nvd.nist.gov/vuln/detail/CVE-2024-9680 RE: [CVE-2024-9680] Explaining the Firefox 0Day that abuses use-after-free - Biggy_Asian - Oct 18, 2024 (Oct 18, 2024 05:43 AM)InspectorGadget Wrote: Nice thread mate. Appreciate it. Ill add the sources to the thread now <3 |