CVE-2024–4761: Exploiting Chrome’s JavaScript Engine Highly Exploited (PoC presented)
An out-of-bounds write flaw in Chrome's V8 JavaScript engine could allow an attacker to execute arbitrary code when a user visits a malicious webpage. A proof-of-concept exploit using WebAssembly was published, increasing the risk of attacks.
infosecwriteups.com
Published on infosecwriteups.com
CVE-2024–4761 has emerged as a significant threat in the realm of cybersecurity, particularly affecting the V8 JavaScript engine that underpins Google Chrome, a widely-used web browser.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely improper handling of memory objects when processing JavaScript, leading to an out-of-bounds write.
What the attacker needed
Victim visits a malicious webpage; unpatched Chrome browser
The fix
Google issued updates that address this vulnerability, and users should apply them promptly.
How it was found
- Create a WebAssembly module using WasmModuleBuilder to manipulate memory.
- Create and manipulate an array in WebAssembly that interacts with V8.
- Use specific WebAssembly instructions to trigger the out-of-bounds write.
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 write-up has not been written yet. The Original tab links to the source.
This is a memory bug in the JavaScript engine that powers Google Chrome. When the browser processes certain JavaScript code, it can write data past the end of a reserved memory area, which can let an attacker run their own code on your computer. Visiting a malicious website could trigger it, so keeping Chrome updated is important.
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.