vendor:
Firefox
by:
Rapid7
N/A
CVSS
N/A
Privilege Escalation
264
CWE
Product Name: Firefox
Affected Version From: 17.0
Affected Version To: 17.0.1
Patch Exists: YES
Related CWE: CVE-2013-0757, CVE-2013-0758
CPE: a:mozilla:firefox:17.0.1
Metasploit:
https://www.rapid7.com/db/vulnerabilities/suse-cve-2013-0757/, https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2013-0757/, https://www.rapid7.com/db/vulnerabilities/mfsa2013-14-cve-2013-0757/, https://www.rapid7.com/db/vulnerabilities/mozilla-thunderbird-cve-2013-0757/, https://www.rapid7.com/db/vulnerabilities/mozilla-seamonkey-cve-2013-0757/, https://www.rapid7.com/db/modules/exploit/multi/browser/firefox_svg_plugin/, https://www.rapid7.com/db/vulnerabilities/suse-cve-2013-0758/, https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2013-0758/, https://www.rapid7.com/db/vulnerabilities/mfsa2013-15-cve-2013-0758/, https://www.rapid7.com/db/vulnerabilities/centos_linux-cve-2013-0758/, https://www.rapid7.com/db/vulnerabilities/mozilla-seamonkey-cve-2013-0758/, https://www.rapid7.com/db/vulnerabilities/mozilla-thunderbird-cve-2013-0758/, https://www.rapid7.com/db/vulnerabilities/linuxrpm-RHSA-2013-0144/, https://www.rapid7.com/db/vulnerabilities/linuxrpm-RHSA-2013-0145/, https://www.rapid7.com/db/modules/exploit/multi/browser/firefox_svg_plugin/
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Windows, Linux, Mac
2013
Firefox 17.0.1 Flash Privileged Code Injection
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.
Mitigation:
Update Firefox to the latest version, disable Flash plugin, and use a browser with built-in sandboxing.