Exploit database

Vulnerability

CVE-2013-0758

Vulnerability details

Score
9.3
Severity
high

CVSS 2.0 · NVD

Vector string

AV:N/AC:M/Au:N/C:C/I:C/A:C

Description

Mozilla Firefox before 18.0, Firefox ESR 10.x before 10.0.12 and 17.x before 17.0.2, Thunderbird before 17.0.2, Thunderbird ESR 10.x before 10.0.12 and 17.x before 17.0.2, and SeaMonkey before 2.15 allow remote attackers to execute arbitrary JavaScript code with chrome privileges by leveraging improper interaction between plugin objects and SVG elements.

NVD

Exploit source choices

3 sources
Firefox 17.0.1 Flash Privileged Code Injection
MSF-multi--browser--firefox_svg_pluginMetasploitFirefox,Java,Linux,OSX,Solaris,Windows / remote

This exploit gains remote code execution on Firefox 17 and 17.0.1, provided the user has installed Flash. No memory corruption is used. First, a Flash object is cloned into the anonymous content of the SVG "use" element in the <body> (CVE-2013-0758). From there, the Flash object can navigate a child frame to a URL in the chrome:// scheme. Then a separate exploit (CVE-2013-0757) is used to bypass the security wrapper around the child frame's window reference and inject code into the chrome:// context. Once we have injection into the chrome execution context, we can write the payload to disk, chmod it (if posix), and then execute. Note: Flash is used here to trigger the exploit but any Firefox plugin with script access should be able to trigger it.

2013-01-08firefox_svg_plugin.rb