module

Firefox 8/9 AttributeChildRemoved() Use-After-Free

Disclosed
2011-12-06
Created
2018-05-30

Description

This module exploits a use-after-free vulnerability in Firefox 8/8.0.1 and 9/9.0.1.
Removal of child nodes from the nsDOMAttribute can allow for a child
to still be accessible after removal due to a premature notification
of AttributeChildRemoved. Since mFirstChild is not set to NULL until
after this call is made, this means the removed child will be accessible
after it has been removed. By carefully manipulating the memory layout,
this can lead to arbitrary code execution.

Authors

regenrecht
Lincoln lincoln@corelan.be
corelanc0d3r peter.ve@corelan.be

Platform

Windows

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/windows/browser/mozilla_attribchildremoved
msf exploit(mozilla_attribchildremoved) > show targets
...targets...
msf exploit(mozilla_attribchildremoved) > set TARGET < target-id >
msf exploit(mozilla_attribchildremoved) > show options
...show and set options...
msf exploit(mozilla_attribchildremoved) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.