Cloudanix VulnDB

CVE-2018-18506

Medium · 5.9

CVSS

5.9

EPSS

2.2%

Published

Feb 5, 2019

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A browser setting meant to keep local computer programs private can be tricked into sending their traffic to an outside attacker instead.

Chainable
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
High
Impact
Data Tampering
Component
Application
Class
Authorization Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

When proxy auto-detection loads a PAC file, the file can instruct the browser to forward localhost requests through an external proxy, bypassing the manual-proxy restriction that blocks such loops.

Why it matters to the business

Attackers can reach and potentially compromise internal services or developer tools that listen only on localhost if users browse while the malicious PAC is active, increasing exposure for organizations that rely on local-only network listeners.

How an attack unfolds

An attacker hosts or supplies a PAC file that maps localhost destinations to an attacker-controlled proxy; a user enables proxy auto-detection or loads the PAC locally in an affected Firefox version, after which requests intended for localhost services are sent externally, allowing the attacker to interact with those services.

How to fix it

Upgrade Mozilla Firefox to version 65 or later on all affected systems; disable proxy auto-detection where feasible until patches are applied; review and restrict any localhost-bound services that may be reachable via browser traffic.

How to confirm the fix worked

Confirm Firefox version is 65 or newer; test that manually configured proxies still block localhost forwarding and that auto-detected PAC files cannot override this behavior; verify no unexpected proxy configuration files are present in user profiles.

Typical attack path

  1. Craft or host a malicious PAC file that redirects localhost traffic
  2. Trick the victim into enabling proxy auto-detection or loading the PAC file in Firefox
  3. Victim browses while the PAC is active, causing localhost-bound requests to be proxied externally
  4. Attacker receives and interacts with traffic intended for local services

How to detect it

Review browser proxy configuration logs and PAC file load events for unexpected entries; inspect network traffic from browser processes for connections to localhost ports routed externally; check user profile directories for recently added PAC files.

What your security team should do

  • Prioritize browser updates across the fleet given the multi-year window since disclosure
  • Audit environments for localhost-only services accessed via browsers and apply network segmentation
  • Disable PAC auto-detection in managed Firefox configurations unless explicitly required
  • Monitor for unusual outbound connections from browser processes to internal service ports

The record

When proxy auto-detection is enabled, if a web server serves a Proxy Auto-Configuration (PAC) file or if a PAC file is loaded locally, this PAC file can specify that requests to the localhost are to be sent through the proxy to another server. This behavior is disallowed by default when a proxy is manually configured, but when enabled could allow for attacks on services and tools that bind to the localhost for networked behavior if they are accessed through browsing. This vulnerability affects Firefox < 65.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 firefox-esr 0 60.6.0esr-1
Debian:11 thunderbird 0 1:60.6.1-1
Debian:12 firefox-esr 0 60.6.0esr-1
Debian:12 thunderbird 0 1:60.6.1-1
Debian:13 firefox-esr 0 60.6.0esr-1
Debian:13 thunderbird 0 1:60.6.1-1
Debian:8 firefox-esr 0 60.6.0esr-1~deb8u1
Debian:8 thunderbird 0 1:60.6.1-1~deb8u1
Debian:9 firefox-esr 0 60.6.0esr-1~deb9u1
Debian:9 thunderbird 0 1:60.6.1-1~deb9u1
Mageia:6 firefox 0 60.6.0-2.mga6
Mageia:6 firefox-l10n 0 60.6.0-1.mga6
Mageia:6 nspr 0 4.21-1.mga6
Mageia:6 nss 0 3.36.7-1.1.mga6
Mageia:6 rootcerts 0 20190306.00-1.mga6
Mageia:6 thunderbird 0 60.6.1-1.mga6
Mageia:6 thunderbird-l10n 0 60.6.1-1.mga6
Red Hat:enterprise_linux:6::client firefox 0 0:60.6.0-3.el6_10
Red Hat:enterprise_linux:6::client firefox-debuginfo 0 0:60.6.0-3.el6_10
Red Hat:enterprise_linux:6::client thunderbird 0 0:60.6.1-1.el6_10
Red Hat:enterprise_linux:6::client thunderbird-debuginfo 0 0:60.6.1-1.el6_10
Red Hat:enterprise_linux:6::computenode firefox 0 0:60.6.0-3.el6_10
Red Hat:enterprise_linux:6::computenode firefox-debuginfo 0 0:60.6.0-3.el6_10
Red Hat:enterprise_linux:6::server firefox 0 0:60.6.0-3.el6_10
Red Hat:enterprise_linux:6::server firefox-debuginfo 0 0:60.6.0-3.el6_10
Red Hat:enterprise_linux:6::server thunderbird 0 0:60.6.1-1.el6_10
Red Hat:enterprise_linux:6::server thunderbird-debuginfo 0 0:60.6.1-1.el6_10
Red Hat:enterprise_linux:6::workstation firefox 0 0:60.6.0-3.el6_10
Red Hat:enterprise_linux:6::workstation firefox-debuginfo 0 0:60.6.0-3.el6_10
Red Hat:enterprise_linux:6::workstation thunderbird 0 0:60.6.1-1.el6_10
Red Hat:enterprise_linux:6::workstation thunderbird-debuginfo 0 0:60.6.1-1.el6_10
Red Hat:enterprise_linux:7::client firefox 0 0:60.6.0-3.el7_6
Red Hat:enterprise_linux:7::client firefox-debuginfo 0 0:60.6.0-3.el7_6
Red Hat:enterprise_linux:7::client thunderbird 0 0:60.6.1-1.el7_6
Red Hat:enterprise_linux:7::client thunderbird-debuginfo 0 0:60.6.1-1.el7_6
Red Hat:enterprise_linux:7::server firefox 0 0:60.6.0-3.el7_6
Red Hat:enterprise_linux:7::server firefox-debuginfo 0 0:60.6.0-3.el7_6
Red Hat:enterprise_linux:7::server thunderbird 0 0:60.6.1-1.el7_6
Red Hat:enterprise_linux:7::server thunderbird-debuginfo 0 0:60.6.1-1.el7_6
Red Hat:enterprise_linux:7::workstation firefox 0 0:60.6.0-3.el7_6
Red Hat:enterprise_linux:7::workstation firefox-debuginfo 0 0:60.6.0-3.el7_6
Red Hat:enterprise_linux:7::workstation thunderbird 0 0:60.6.1-1.el7_6
Red Hat:enterprise_linux:7::workstation thunderbird-debuginfo 0 0:60.6.1-1.el7_6
Red Hat:enterprise_linux:8::appstream firefox 0 0:60.6.1-1.el8
Red Hat:enterprise_linux:8::appstream firefox-debuginfo 0 0:60.6.1-1.el8
Red Hat:enterprise_linux:8::appstream firefox-debugsource 0 0:60.6.1-1.el8
Red Hat:enterprise_linux:8::appstream thunderbird 0 0:60.6.1-1.el8
Red Hat:enterprise_linux:8::appstream thunderbird-debuginfo 0 0:60.6.1-1.el8
Red Hat:enterprise_linux:8::appstream thunderbird-debugsource 0 0:60.6.1-1.el8
SUSE:Enterprise Storage 4 MozillaFirefox 0 60.6.1esr-109.63.2
SUSE:Linux Enterprise Desktop 12 SP3 MozillaFirefox 0 60.6.1esr-109.63.2
SUSE:Linux Enterprise Desktop 12 SP4 MozillaFirefox 0 60.6.1esr-109.63.2
SUSE:Linux Enterprise Module for Desktop Applications 15 MozillaFirefox 0 60.6.1-3.29.3
SUSE:Linux Enterprise Server 12 SP1-LTSS MozillaFirefox 0 60.6.1esr-109.63.2
SUSE:Linux Enterprise Server 12 SP2-BCL MozillaFirefox 0 60.6.1esr-109.63.2
SUSE:Linux Enterprise Server 12 SP2-LTSS MozillaFirefox 0 60.6.1esr-109.63.2
SUSE:Linux Enterprise Server 12 SP3 MozillaFirefox 0 60.6.1esr-109.63.2
SUSE:Linux Enterprise Server 12 SP4 MozillaFirefox 0 60.6.1esr-109.63.2
SUSE:Linux Enterprise Server 12-LTSS MozillaFirefox 0 60.6.1esr-109.63.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 MozillaFirefox 0 60.6.1esr-109.63.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 MozillaFirefox 0 60.6.1esr-109.63.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 MozillaFirefox 0 60.6.1esr-109.63.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 MozillaFirefox 0 60.6.1esr-109.63.2
SUSE:Linux Enterprise Software Development Kit 12 SP3 MozillaFirefox 0 60.6.1esr-109.63.2
SUSE:Linux Enterprise Software Development Kit 12 SP4 MozillaFirefox 0 60.6.1esr-109.63.2
SUSE:Linux Enterprise Workstation Extension 15 MozillaThunderbird 0 60.6.1-3.28.1
SUSE:OpenStack Cloud 7 MozillaFirefox 0 60.6.1esr-109.63.2
SUSE:Package Hub 12 MozillaThunderbird 0 60.6.1-82.1
Ubuntu:14.04:LTS firefox 0 65.0+build2-0ubuntu0.14.04.1
Ubuntu:14.04:LTS thunderbird 0 1:60.6.1+build2-0ubuntu0.14.04.1
Ubuntu:16.04:LTS firefox 0 65.0+build2-0ubuntu0.16.04.1
Ubuntu:16.04:LTS thunderbird 0 1:60.6.1+build2-0ubuntu0.16.04.1
Ubuntu:18.04:LTS firefox 0 65.0+build2-0ubuntu0.18.04.1
Ubuntu:18.04:LTS mozjs38 0 No fix
Ubuntu:18.04:LTS mozjs52 0 No fix
Ubuntu:18.04:LTS thunderbird 0 1:60.6.1+build2-0ubuntu0.18.04.1
Ubuntu:20.04:LTS mozjs52 0 No fix
Ubuntu:Pro:18.04:LTS mozjs38 0 No fix
Ubuntu:Pro:18.04:LTS mozjs52 0 No fix
Ubuntu:Pro:20.04:LTS mozjs52 0 No fix
openSUSE:Leap 15.0 MozillaFirefox 0 60.6.1-lp150.3.45.1
openSUSE:Leap 15.0 MozillaThunderbird 0 60.6.1-lp150.3.37.1
openSUSE:Tumbleweed MozillaFirefox 0 92.0-1.2
openSUSE:Tumbleweed firefox-esr 0 128.5.1-1.1

Related vulnerabilities