FreeBSD : kio: Information Leak when accessing https when using a malicious PAC file (f714d8ab-028e-11e7-8042-50e549ebab6c)

high Nessus Plugin ID 97692

Language:

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Albert Astals Cid reports :

Using a malicious PAC file, and then using exfiltration methods in the PAC function FindProxyForURL() enables the attacker to expose full https URLs.

This is a security issue since https URLs may contain sensitive information in the URL authentication part (user:password@host), and in the path and the query (e.g. access tokens).

This attack can be carried out remotely (over the LAN) since proxy settings allow 'Detect Proxy Configuration Automatically'. This setting uses WPAD to retrieve the PAC file, and an attacker who has access to the victim's LAN can interfere with the WPAD protocols (DHCP/DNS+HTTP) and inject his/her own malicious PAC instead of the legitimate one.

Solution

Update the affected packages.

See Also

https://www.kde.org/info/security/advisory-20170228-1.txt

http://www.nessus.org/u?215adf81

Plugin Details

Severity: High

ID: 97692

File Name: freebsd_pkg_f714d8ab028e11e7804250e549ebab6c.nasl

Version: 3.3

Type: local

Published: 3/13/2017

Updated: 1/4/2021

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:kdelibs, p-cpe:/a:freebsd:freebsd:kf5-kio, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 3/11/2017

Vulnerability Publication Date: 2/28/2017