Skip to content
DoS Write-up Advanced

(CVE-2021-30836) WebKit WebCore::AudioNode::disconnect null pointer reference

A crafted web page triggers a null pointer dereference in WebKit's WebCore::AudioNode::disconnect, crashing the browser. The text shows only a crash under AddressSanitizer and does not demonstrate code execution or any other impact.

starlabs.sg

Published on starlabs.sg

In order to show how we can reproduce it, let’s open poc.html in webkitgtk version 2.32.0 within Ubuntu.

The author, on starlabs.sg

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

What the attacker needed

Victim opens a crafted page; WebKitGTK 2.32.0

How it was found

  1. Build WebKitGTK 2.32.0 with AddressSanitizer using the provided Docker setup.
  2. Start a virtual display and launch MiniBrowser against the proof-of-concept page.
  3. Observe the null pointer dereference crash in AudioNode::disconnect.

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.

A web page can call audio functions in the browser. If it calls one of them in an unexpected order, the browser's audio code tries to use something that is not there and crashes. A crash is a denial of service, not necessarily a way to run an attacker's code.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.