<commit_before>---
announced: August 6, 2015
fixed_in:
- Firefox 39.0.3
- Firefox ESR 38.1.1
impact: Critical
reporter: <NAME>
title: Same origin violation and local file stealing via PDF reader
---

<h3>Description</h3>

<p>Security researcher <strong><NAME></strong> reported on a way to
violate the same origin policy and inject script into a non-privileged part
of the built-in PDF Viewer. This would allow an attacker to read and steal
sensitive local files on the victim's computer.
</p>

<p>Mozilla has received reports that an exploit based on this vulnerability
has been found in the wild.
</p>

<h3>References</h3>

<ul>
  <li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1178058">
       It's possible to read local files or perform privilege escalation by
using a native setter</a>
(<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4495"
class="ex-ref">CVE-2015-4495</a>)</li><commit_msg>Adding Firefox OS 2.2 to 2015-78 since it is fixed there.<commit_after>---
announced: August 6, 2015
fixed_in:
- Firefox 39.0.3
- Firefox ESR 38.1.1
- Firefox OS 2.2
impact: Critical
reporter: <NAME>
title: Same origin violation and local file stealing via PDF reader
---

<h3>Description</h3>

<p>Security researcher <strong><NAME></strong> reported on a way to
violate the same origin policy and inject script into a non-privileged part
of the built-in PDF Viewer. This would allow an attacker to read and steal
sensitive local files on the victim's computer.
</p>

<p>Mozilla has received reports that an exploit based on this vulnerability
has been found in the wild.
</p>

<h3>References</h3>

<ul>
  <li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1178058">
       It's possible to read local files or perform privilege escalation by
using a native setter</a>
(<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4495"
class="ex-ref">CVE-2015-4495</a>)</li>
{'fraction_non_alphanumeric': 0.1178627553693033, 'fraction_numerical': 0.04714510214772132, 'mean_word_length': 4.335195530726257, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6786944', 'n_tokens_mistral': 717, 'n_tokens_neox': 620, 'n_words': 230}