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

exploit/windows/browser/mozilla_nssvgvalue

Authors

  • regenrecht
  • Lincoln <lincoln [at] corelan.be>
  • corelanc0d3r <peter.ve [at] corelan.be>

References

Targets

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

Platforms

  • windows

Reliability

Development

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 ...show and set options... msf exploit(mozilla_nssvgvalue) > exploit

Related Vulnerabilities