cbcvebase.
CVE-2015-4495
published 2015-08-08

CVE-2015-4495: The PDF reader in Mozilla Firefox before 39.0.3, Firefox ESR 38.x before 38.1.1, and Firefox OS before 2.2 allows remote attackers to bypass the Same Origin…

PriorityP188high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
KEVITWEXPLOIT
CISA Known Exploited Vulnerabilitydue 2022-06-15
Exploited in the wild
EPSS
67.33%
99.2th percentile
The PDF reader in Mozilla Firefox before 39.0.3, Firefox ESR 38.x before 38.1.1, and Firefox OS before 2.2 allows remote attackers to bypass the Same Origin Policy, and read arbitrary files or gain privileges, via vectors involving crafted JavaScript code and a native setter, as exploited in the wild in August 2015.

Affected

42 ranges· showing 25
VendorProductVersion rangeFixed in
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debianpdf.js< pdf.js 1.1.366+dfsg-1 (bookworm)pdf.js 1.1.366+dfsg-1 (bookworm)
mozillafirefox< 39.0.339.0.3
mozillafirefox>= 0 < 39.0.3+build2-0ubuntu0.14.04.139.0.3+build2-0ubuntu0.14.04.1
mozillafirefox>= 38.0 < 38.1.138.1.1
mozillafirefox_os< 2.22.2
opensuseopensuse
opensuseopensuse
oraclesolaris
redhatenterprise_linux_desktop
redhatenterprise_linux_desktop
redhatenterprise_linux_desktop
redhatenterprise_linux_eus
redhatenterprise_linux_eus
redhatenterprise_linux_eus
redhatenterprise_linux_eus
redhatenterprise_linux_eus
redhatenterprise_linux_eus
redhatenterprise_linux_eus
redhatenterprise_linux_eus
redhatenterprise_linux_server
redhatenterprise_linux_server
redhatenterprise_linux_server

Detection & IOCsextracted from sources · hover to see the quote

commandjavascript:open("%url%","_self")
commandp.__lookupSetter__.call(i2.contentWindow,'location')
urlview-source:
urldata:application/pdf,
urldata:application/xml,
  • Monitor for use of __lookupSetter__ on the 'location' property of a cross-origin iframe's contentWindow, which is the native setter abuse at the core of this CVE.
  • Detect repeated deep prototype chain traversal (__proto__ chained 6 levels) combined with PDF.js context, as used to escape the PDF.js sandbox.
  • The in-the-wild payload targeted sensitive files on Windows, Linux, and macOS; monitor for Firefox processes accessing SSH key files or /etc/passwd following PDF rendering.
  • Monitor for setInterval calls polling for a sandboxContext variable within a PDF.js rendering context, which is the exploit's mechanism to detect privilege escalation readiness.
  • ·Android versions of Firefox are not affected because they do not use the Mozilla PDF viewer (PDF.js).
  • ·Thunderbird packages on Red Hat Enterprise Linux 5, 6, and 7 are not affected by this vulnerability.
  • ·The vulnerability is scoped to the local PDF.js renderer; the XSS injection targets a non-privileged part of the built-in PDF viewer, not the full browser chrome.

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:N
osv8.8HIGH
vulncheck8.8HIGH
cisa8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
vendor_ubuntu8.8HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.