CVE-2018-5157: Same-origin protections for the PDF viewer can be bypassed, allowing a malicious site to intercept messages meant for the viewer.
Noroxi assessment
Priority: Monitor (action score 30/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.5% (FIRST EPSS); higher than 75.9% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: firefox-esr (Debian:12) 52.8.0esr-1; firefox-esr (Debian:7) 52.8.0esr-1~deb7u1; firefox-esr (Debian:8) 52.8.0esr-1~deb8u1.
Low priority for now. Upgrade to firefox-esr (Debian:12) 52.8.0esr-1; firefox-esr (Debian:7) 52.8.0esr-1~deb7u1; firefox-esr (Debian:8) 52.8.0esr-1~deb8u1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Same-origin protections for the PDF viewer can be bypassed, allowing a malicious site to intercept messages meant for the viewer. This could allow the site to retrieve PDF files restricted to viewing by an authenticated user on a third-party website. This vulnerability affects Firefox ESR < 52.8 and Firefox < 60.
- Published
- Jun 11, 2018
- Updated
- Jun 16, 2026
- EPSS
- 1.5% · 75th percentile
- CWE
- CWE-200
Report tools
Action score
30
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.5%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux server eus | cpe:2.3:o:redhat:enterprise_linux_server_eus |
| redhat | enterprise linux server tus | cpe:2.3:o:redhat:enterprise_linux_server_tus |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| mozilla | firefox | cpe:2.3:a:mozilla:firefox |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (mozilla). Independent of NVD's CPE analysis and usually ahead of it.
Mozilla Firefox
- unspecified and later · before 60affected
Mozilla Firefox ESR
- unspecified and later · before 52.8affected
Affected versions · NVD (19)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux17.10
- canonical ubuntu linux18.04
- debian debian linux7.0
- debian debian linux8.0
- debian debian linux9.0
- mozilla firefoxbefore 52.8.0
- mozilla firefoxbefore 60.0
- redhat enterprise linux desktop6.0
- redhat enterprise linux desktop7.0
- redhat enterprise linux server6.0
- redhat enterprise linux server7.0
- redhat enterprise linux server aus7.6
- redhat enterprise linux server eus7.5
- redhat enterprise linux server eus7.6
- redhat enterprise linux server tus7.6
- redhat enterprise linux workstation6.0
- redhat enterprise linux workstation7.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | firefox-esr | before 52.8.0esr-1 | 52.8.0esr-1 |
| Debian:7 | firefox-esr | before 52.8.0esr-1~deb7u1 | 52.8.0esr-1~deb7u1 |
| Debian:8 | firefox-esr | before 52.8.0esr-1~deb8u1 | 52.8.0esr-1~deb8u1 |
| Debian:9 | firefox-esr | before 52.8.0esr-1~deb9u1 | 52.8.0esr-1~deb9u1 |
| Red Hat:enterprise_linux:6::client | firefox | before 0:52.8.0-1.el6_9 | 0:52.8.0-1.el6_9 |
| Red Hat:enterprise_linux:6::client | firefox-debuginfo | before 0:52.8.0-1.el6_9 | 0:52.8.0-1.el6_9 |
| Red Hat:enterprise_linux:7::client | firefox | before 0:52.8.0-1.el7_5 | 0:52.8.0-1.el7_5 |
| Red Hat:enterprise_linux:7::client | firefox-debuginfo | before 0:52.8.0-1.el7_5 | 0:52.8.0-1.el7_5 |
| SUSE:HPE Helion OpenStack 8 | MozillaFirefox | before 68.2.0-109.95.2 | 68.2.0-109.95.2 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 | MozillaFirefox | before 52.9.0esr-3.7.12 | 52.9.0esr-3.7.12 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | MozillaFirefox | before 52.8.0esr-72.32.1 | 52.8.0esr-72.32.1 |
| SUSE:OpenStack Cloud 7 | MozillaFirefox | before 52.8.0esr-109.31.2 | 52.8.0esr-109.31.2 |
Same product
redhat: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-5375JIT code allocation can allow for a bypass of ASLR and DEP protections leading to potential memory corruption attacks.49Plan
- CVE-2018-14649It was found that ceph-isci-cli package as shipped by Red Hat Ceph Storage 2 and 3 is using python-werkzeug in debug shell mode.43Plan
- CVE-2016-7050SerializableProvider in RESTEasy in Red Hat Enterprise Linux Desktop 7, Red Hat Enterprise Linux HPC Node 7, Red Hat Enterprise Linux…41Plan
Published before and after this one in the same product
- ← EarlierCVE-2018-5144Jun 11, 2018 · An integer overflow can occur during conversion of text to some Unicode character sets due to an unchecked length parameter.30Monitor
- ← EarlierCVE-2018-5146Jun 11, 2018 · An out of bounds memory write while processing Vorbis audio data was reported through the Pwn2Own contest.39Monitor
- Later →CVE-2018-5161Jun 11, 2018 · Crafted message headers can cause a Thunderbird process to hang on receiving the message.18Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:firefox-esr | 52.8.0esr-1 · Debian:12 | Package registry (OSV) |
| red hat:firefox | 0:52.8.0-1.el6_9 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:firefox-debuginfo | 0:52.8.0-1.el6_9 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| suse:MozillaFirefox | 52.8.0esr-72.32.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-200 · Exposure of Sensitive Information to an Unauthorized ActorCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvd-primary
Root cause
The extension requests broader permissions than its function needs and sends the data it collects out for purposes beyond its stated function.
The bug in code
The whole CWE-200 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
{
"permissions": ["tabs", "<all_urls>"],
"background": { "service_worker": "analytics.js" }
}Fixed
{
"permissions": ["activeTab"],
"host_permissions": ["https://yildiz.example/*"]
}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- ExcavationCAPEC-116likelihood: High · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
- FootprintingCAPEC-169likelihood: High · Very Low
- Exploiting Trust in ClientCAPEC-22likelihood: High · High
- FingerprintingCAPEC-224likelihood: High · Very Low
- ICMP Echo Request PingCAPEC-285likelihood: Medium · Low
- TCP SYN ScanCAPEC-287Low
- Enumerate Mail Exchange (MX) RecordsCAPEC-290Low
ATT&CK techniques
- System Service DiscoveryT1007
- System Network Configuration DiscoveryT1016
- Remote System DiscoveryT1018
- System Owner/User DiscoveryT1033
- Masquerading: Match Legitimate Name or LocationT1036.005
- Network Service ScanningT1046
- System Network Connections DiscoveryT1049
- Process DiscoveryT1057
- Permission Groups DiscoveryT1069
- System Information DiscoveryT1082
- File and Directory DiscoveryT1083
- Account DiscoveryT1087
- Multi-Factor Authentication InterceptionT1111
- Peripheral Device DiscoveryT1120
- System Time DiscoveryT1124
- Access Token Manipulation:Token Impersonation/TheftT1134.001
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- www.securitytracker.com/id/1040896
- access.redhat.com/errata/RHSA-2018:1414
- access.redhat.com/errata/RHSA-2018:1415
- bugzilla.mozilla.org/show_bug.cgi?id=1449898
- lists.debian.org/debian-lts-announce/2018/05/msg00007.html
- security.gentoo.org/glsa/201810-01
- usn.ubuntu.com/3645-1/
- www.debian.org/security/2018/dsa-4199
- www.mozilla.org/security/advisories/mfsa2018-11/
- www.mozilla.org/security/advisories/mfsa2018-12/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.