FreeBSD : FreeBSD -- sendmsg(2) privilege escalation (8db74c04-d794-11ea-88f8-901b0ef719ab)

high Nessus Plugin ID 139347

Language:

Synopsis

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

Description

When handling a 32-bit sendmsg(2) call, the compat32 subsystem copies the control message to be transmitted (if any) into kernel memory, and adjusts alignment of control message headers. The code which performs this work contained a time-of-check to time-of-use (TOCTOU) vulnerability which allows a malicious userspace program to modify control message headers after they were validated by the kernel.
Impact : The TOCTOU bug can be exploited by an unprivileged malicious userspace program to trigger privilege escalation.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?170a0f89

Plugin Details

Severity: High

ID: 139347

File Name: freebsd_pkg_8db74c04d79411ea88f8901b0ef719ab.nasl

Version: 1.6

Type: local

Published: 8/6/2020

Updated: 2/26/2024

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Medium

Base Score: 4.4

Temporal Score: 3.6

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

CVSS Score Source: CVE-2020-7460

CVSS v3

Risk Factor: High

Base Score: 7

Temporal Score: 6.5

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

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/6/2020

Vulnerability Publication Date: 8/5/2020

Exploitable With

Core Impact

Reference Information

CVE: CVE-2020-7460

FreeBSD: SA-20:23.sendmsg

IAVA: 2020-A-0379-S