FreeBSD : sudo -- potential privilege escalation via symlink misconfiguration (2e8cdd36-c3cc-11e5-b5fe-002590263bf5)

high Nessus Plugin ID 88149

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

MITRE reports :

sudoedit in Sudo before 1.8.15 allows local users to gain privileges via a symlink attack on a file whose full path is defined using multiple wildcards in /etc/sudoers, as demonstrated by '/home/*/*/file.txt.'

Solution

Update the affected package.

See Also

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206590

https://bugzilla.sudo.ws/show_bug.cgi?id=707

https://www.sudo.ws/stable.html#1.8.15

http://www.nessus.org/u?f977ad12

Plugin Details

Severity: High

ID: 88149

File Name: freebsd_pkg_2e8cdd36c3cc11e5b5fe002590263bf5.nasl

Version: 2.5

Type: local

Published: 1/26/2016

Updated: 1/4/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:sudo, cpe:/o:freebsd:freebsd

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/26/2016

Vulnerability Publication Date: 11/17/2015

Reference Information

CVE: CVE-2015-5602