FreeBSD : sudo -- Potential bypass of Runas user restrictions (b4e5f782-442d-11ea-9ba9-206a8a720317)

high Nessus Plugin ID 133433

Language:

Synopsis

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

Description

Todd C. Miller reports :

Sudo's pwfeedback option can be used to provide visual feedback when the user is inputting their password. For each key press, an asterisk is printed. This option was added in response to user confusion over how the standard Password: prompt disables the echoing of key presses.
While pwfeedback is not enabled by default in the upstream version of sudo, some systems, such as Linux Mint and Elementary OS, do enable it in their default sudoers files.

Due to a bug, when the pwfeedback option is enabled in the sudoers file, a user may be able to trigger a stack-based buffer overflow.
This bug can be triggered even by users not listed in the sudoers file. There is no impact unless pwfeedback has been enabled.

Solution

Update the affected package.

See Also

https://www.sudo.ws/alerts/pwfeedback.html

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

Plugin Details

Severity: High

ID: 133433

File Name: freebsd_pkg_b4e5f782442d11ea9ba9206a8a720317.nasl

Version: 1.6

Type: local

Published: 2/3/2020

Updated: 3/28/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.6

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

CVSS Score Source: CVE-2019-18634

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC: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/30/2020

Vulnerability Publication Date: 1/30/2020

Reference Information

CVE: CVE-2019-18634