Vulnerability Name:

CVE-2020-7460 (CCN-186374)

Assigned:2020-08-06
Published:2020-08-06
Updated:2022-07-01
Summary:In FreeBSD 12.1-STABLE before r363918, 12.1-RELEASE before p8, 11.4-STABLE before r363919, 11.4-RELEASE before p2, and 11.3-RELEASE before p12, the sendmsg system call in the compat32 subsystem on 64-bit platforms has a time-of-check to time-of-use vulnerability allowing a mailcious userspace program to modify control message headers after they were validation.
CVSS v3 Severity:7.0 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.1 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): High
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
8.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H)
7.7 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:4.4 Medium (CVSS v2 Vector: AV:L/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
6.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-367
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2020-7460

Source: XF
Type: UNKNOWN
freebsd-cve20207460-priv-esc(186374)

Source: MISC
Type: Vendor Advisory
https://security.FreeBSD.org/advisories/FreeBSD-SA-20:23.sendmsg.asc

Source: CONFIRM
Type: Third Party Advisory
https://security.netapp.com/advisory/ntap-20200821-0005/

Source: CCN
Type: FreeBSD Security Advisory FreeBSD-SA-20:23.sendmsg
sendmsg(2) privilege escalation

Source: CCN
Type: ZDI-20-949
FreeBSD Kernel sendmsg System Call Time-Of-Check Time-Of-Use Privilege Escalation Vulnerability

Source: MISC
Type: Third Party Advisory, VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-20-949/

Vulnerable Configuration:Configuration 1:
  • cpe:/o:freebsd:freebsd:11.3:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p1:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p3:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p2:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.1:p1:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.1:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p4:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p5:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p6:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p10:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p11:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p7:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p8:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.3:p9:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:-:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:11.4:p1:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.1:p2:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.1:p3:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.1:p4:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.1:p6:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:12.1:p7:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:freebsd:freebsd:*:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    freebsd freebsd 11.3 -
    freebsd freebsd 11.3 p1
    freebsd freebsd 11.3 p3
    freebsd freebsd 11.3 p2
    freebsd freebsd 12.1 p1
    freebsd freebsd 12.1 -
    freebsd freebsd 11.3 p4
    freebsd freebsd 11.3 p5
    freebsd freebsd 11.3 p6
    freebsd freebsd 11.3 p10
    freebsd freebsd 11.3 p11
    freebsd freebsd 11.3 p7
    freebsd freebsd 11.3 p8
    freebsd freebsd 11.3 p9
    freebsd freebsd 11.4 -
    freebsd freebsd 11.4 p1
    freebsd freebsd 12.1 p2
    freebsd freebsd 12.1 p3
    freebsd freebsd 12.1 p4
    freebsd freebsd 12.1 p6
    freebsd freebsd 12.1 p7
    freebsd freebsd *