ASAN Arbitrary-Address-Read Crash and Heap Overflow Crash
Opening a crafted HTML file in an ASAN-instrumented Firefox with custom elements enabled caused a crash, reported as either an arbitrary-address-read or a heap overflow. The text does not explain the underlying flaw or what an attacker could achieve beyond crashing the browser.
Originally disclosed on Mozilla
- Fixed in 7 days
- Paid in 18 days
- Disclosed after 7 days
Created attachment 8924440
crash-AAR.html
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Steps to reproduce:
1. launch a ASAN firefox or nightly firefox;
2. make sure “dom.webcomponents.customelements.enabled” is true in “about:config”
3. open attachment html file.
4. Firefox should be crash now.
Actual results:
Firefox ASAN Crash with AAR or Heap Overflow
Expected results:
Not Crash
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
What the attacker needed
ASAN or Nightly Firefox build; custom elements preference enabled; victim opens the crafted page
How it was found
- Launch an ASAN or Nightly build of Firefox.
- Enable the custom elements preference in about:config.
- Open the attached HTML file.
- Observe the browser crash.
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 crash report like this shows that a web page can make the browser fall over in a memory-unsafe way. ASAN is a debugging build that shouts loudly when code reads or writes memory it should not, which is often a stepping stone to running attacker code. Here the reporter only shows the crash, not how it could be turned into anything worse.
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.