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

Medium Nessus Plugin ID 133433

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: Medium

ID: 133433

File Name: freebsd_pkg_b4e5f782442d11ea9ba9206a8a720317.nasl

Version: 1.5

Type: local

Published: 2020/02/03

Updated: 2020/02/12

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 4.6

Temporal Score: 3.6

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

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

CVSS v3.0

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: 2020/01/30

Vulnerability Publication Date: 2020/01/30

Reference Information

CVE: CVE-2019-18634