Apple Safari/Webkit aboutBlankURL() code execution vulnerability
A use-after-free in WebKit's handling of the staticBlankURL object can be triggered by a malicious web page that causes a race condition during document reloads. An attacker could potentially achieve remote code execution if the victim visits the page.
An exploitable use-after-free vulnerability exists in MacOSX Safari Version 13.0.2 (15609.2.9.1.2, 610+) Webkit GIT 44383bcbaf11c4c2aa55e1b8899ab84b1ddfccca and Ubuntu Webkit GTK GIT 44383bcbaf11c4c2aa55e1b8899ab84b1ddfccca. A specially crafted HTML web page can cause a use-after-free condition, resulting in remote…
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a race condition between a worker thread freeing the staticBlankURL object and the main thread still using it during document creation.
Impact
An attacker could potentially turn this use-after-free into arbitrary code execution, but the report notes it was only reproduced on a release build and not on a debug build.
What the attacker needed
Victim visits a malicious web page
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 frees an object but then keeps using it, which can let an attacker control what happens next. Here, a web page can make the browser free a shared URL object while another part of the browser is still reading it, and with careful memory arrangement this could lead to running attacker code.
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.