Exploit database

Vulnerability

CVE-2015-0816

Vulnerability details

Score
5.0
Severity
medium

CVSS 2.0 · NVD

Vector string

AV:N/AC:L/Au:N/C:N/I:P/A:N

Description

Mozilla Firefox before 37.0, Firefox ESR 31.x before 31.6, and Thunderbird before 31.6 do not properly restrict resource: URLs, which makes it easier for remote attackers to execute arbitrary JavaScript code with chrome privileges by leveraging the ability to bypass the Same Origin Policy, as demonstrated by the resource: URL associated with PDF.js.

CVE Program

Exploit source choices

2 sources
Firefox PDF.js Privileged Javascript Injection
MSF-multi--browser--firefox_pdfjs_privilege_escalationMetasploitFirefox,Java,Linux,OSX,Solaris,Windows / remote

This module gains remote code execution on Firefox 35-36 by abusing a privilege escalation bug in resource:// URIs. PDF.js is used to exploit the bug. This exploit requires the user to click anywhere on the page to trigger the vulnerability.

2015-03-31firefox_pdfjs_privilege_escalation.rb