Cloudanix VulnDB

CVE-2018-12358

Medium · 4.3

CVSS

4.3

EPSS

1.3%

Published

Oct 18, 2018

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A website could secretly peek at information from other websites you visit, exposing some private details.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Data Exposure
Component
Application
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

A service worker can leverage HTTP redirection to bypass cross-origin tainting checks, exposing the contents of responses that should remain opaque to the requesting origin.

Why it matters to the business

Attackers on malicious websites can obtain limited sensitive data from other sites that users visit, potentially exposing personal information or session details without user consent.

How an attack unfolds

An attacker hosts a malicious page that registers a service worker; when the victim visits, the worker issues a cross-origin request followed by a redirect that evades tainting, allowing the attacker to read the response body.

How to fix it

Upgrade Mozilla Firefox to version 61 or later. For Ubuntu systems, apply the corresponding Firefox package updates from Canonical repositories once available for the affected release.

How to confirm the fix worked

Confirm Firefox version is 61 or higher via about:support or package manager; retest cross-origin service-worker fetches to ensure responses remain opaque.

Typical attack path

  1. Victim visits attacker-controlled site
  2. Site registers a malicious service worker
  3. Worker performs cross-origin fetch with redirect to target resource
  4. Tainting bypass allows reading of normally opaque response
  5. Data exfiltrated to attacker server

How to detect it

Review browser telemetry or proxy logs for unusual service-worker registrations followed by cross-origin redirects to sensitive endpoints; no public exploitation artifacts are known.

What your security team should do

  • Prioritize browser updates across all endpoints within 30 days
  • Enable automatic updates for Firefox where possible
  • Monitor vendor advisories for any backported fixes on long-term support releases

The record

Service workers can use redirection to avoid the tainting of cross-origin resources in some instances, allowing a malicious site to read responses which are supposed to be opaque. This vulnerability affects Firefox < 61.

Affected packages

Ecosystem Package Introduced Fixed
Ubuntu:14.04:LTS firefox 0 61.0+build3-0ubuntu0.14.04.2
Ubuntu:16.04:LTS firefox 0 61.0+build3-0ubuntu0.16.04.2
Ubuntu:18.04:LTS firefox 0 61.0+build3-0ubuntu0.18.04.1
openSUSE:Tumbleweed MozillaFirefox 0 92.0-1.2
openSUSE:Tumbleweed firefox-esr 0 128.5.1-1.1

Related vulnerabilities