https://therecord.media/security-researcher-drops-chrome-and... says this isn't a fully weaponizable exploit because you still need to escape the Chrome sandbox after using this. But, the researcher shows a screenshot of having started calc.exe which seems like something that'd happen outside the sandbox?
I would imagine the researcher showed a screenshot of the exploit being run on a copy of Chrom{e,ium} where he had disabled parts of the sandbox (that, or he has a more complex exploit with another maybe-undisclosed sandbox escape).
Chrome zero-day released on GitHub – fixed on V8 but still works on latest
91–100 of 160 posts
Re: Chrome zero-day released on GitHub – fixed on V8 but still works on latest
#92Re: Chrome zero-day released on GitHub – fixed on V8 but still works on latest
#93So what does it do? https://github.com/r4j0x00/exploits/blob/7ba55e5ab034d058774...
At first glance to me, the core bug is actually in abusing an array enough to get an unsigned int into a function that expects them all to be signed, causing an off-by-one error and leveraging that into a memory leak (to get the pointer to a FixedArray for floats and a pointer to a FixedArray of objects) and then replacing one with another to create a type confusion and read/write arbitrary memory through that. r4j will probably correct me on the subtlety here though!
Source: extremely similar to HackTheBox RopeTwo, which I spent more time than I am prepared to admit solving.
Disclaimer: am noob at v8 exploitation, but have done enough of it to know some of the tricks.
See also, an article that helped me previously, much of the code is similar (eg: the WASM stuff, the addrof() and fakeobj() methods): https://faraz.faith/2019-12-13-starctf-oob-v8-indepth/
Re: Chrome zero-day released on GitHub – fixed on V8 but still works on latest
#94Can someone please explain how this hack works? (I am CS major so I know basic stuff but not a hacker)
It uses WebAssembly VM bug to get arbitrary memory address write/read capability within Chromium sandbox.
Re: Chrome zero-day released on GitHub – fixed on V8 but still works on latest
#95Interesting how it's firing up a wasm instance to gain access to rwx memory. See also https://news.ycombinator.com/item?id=26737803
Re: Chrome zero-day released on GitHub – fixed on V8 but still works on latest
#96my patch: delete WebAssembly injected with uBlock into every browser context before page loads.
Considering that JS is JIT'd (and V8 has had JS based RCEs in the past), is there any reason to believe webasm is a significant security hole?
Re: Chrome zero-day released on GitHub – fixed on V8 but still works on latest
#97So WebAssembly is basically Flash in terms of security?
Not at all. Flash was pretty much built insecure, WebAssembly runs in a sandbox by default (and this exploit does not break out of it).
Re: Chrome zero-day released on GitHub – fixed on V8 but still works on latest
#98Do not casually browse the web with JavaScript enabled. The idea of trustless secure computing is compelling but it’s ultimately not reality. There is a new browser engine rce vulnerability on a regular basis, whether it’s chrome or mobilesafari
Re: Chrome zero-day released on GitHub – fixed on V8 but still works on latest
#99Earlier quoted context omitted.
The pr adding this says that you need to run chrome with —no-sandbox to get the exploit chain (since they don’t have a sandbox buster right now). Kinda feel like the PR to metasploit is more interesting as a link
Couldn't find the PR you're referring to, unless it was this one https://github.com/rapid7/metasploit-framework/pull/15007 which was added by the same author as the OP, but looks like a different exploit as far as I can tell?
https://github.com/rapid7/metasploit-framework/pull/15007/fi...
Re: Chrome zero-day released on GitHub – fixed on V8 but still works on latest
#100This is to say that with enough time, a sufficiently sophisticated and motivated actor can always find 0-days and achieve their goals.
The related article was discussed recently: https://news.ycombinator.com/item?id=26590862