Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-8DB74C04-D794-11EA-88F8-901B0EF719AB (CVE-2020-7460): FreeBSD -- sendmsg(2) privilege escalation

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

FreeBSD: VID-8DB74C04-D794-11EA-88F8-901B0EF719AB (CVE-2020-7460): FreeBSD -- sendmsg(2) privilege escalation

Severity
7
CVSS
(AV:L/AC:M/Au:S/C:C/I:C/A:C)
Published
08/05/2020
Created
08/08/2020
Added
08/06/2020
Modified
01/28/2025

Description

Details for this vulnerability have not been published by NIST at this point. Descriptions from software vendor advisories for this issue are provided below.

From VID-8DB74C04-D794-11EA-88F8-901B0EF719AB:

Problem 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(s)

  • freebsd-upgrade-base-11_3-release-p12
  • freebsd-upgrade-base-11_4-release-p2
  • freebsd-upgrade-base-12_1-release-p8

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;