Vulnerability & Exploit Database

Back to search

Firefox nsSVGValue Out-of-Bounds Access Vulnerability

This module exploits an out-of-bounds access flaw in Firefox 7 and 8 (<= 8.0.1). The notification of nsSVGValue observers via nsSVGValue::NotifyObservers(x,y) uses a loop which can result in an out-of-bounds access to attacker-controlled memory. The mObserver ElementAt() function (which picks up pointers), does not validate if a given index is out of bound. If a custom observer of nsSVGValue is created, which removes elements from the original observer, and memory layout is manipulated properly, the ElementAt() function might pick up an attacker provided pointer, which can be leveraged to gain remote arbitrary code execution.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • regenrecht
  • Lincoln <lincoln [at]>
  • corelanc0d3r < [at]>



  • Automatic
  • Windows XP - Firefox 7
  • Windows XP - Firefox 8 (<= 8.0.1)


  • 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_nssvgvalue msf exploit(mozilla_nssvgvalue) > show targets ...targets... msf exploit(mozilla_nssvgvalue) > set TARGET <target-id> msf exploit(mozilla_nssvgvalue) > show options and set options... msf exploit(mozilla_nssvgvalue) > exploit

Related Vulnerabilities