Privilege escalation in FreeBSD



Published: 2020-08-07
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-7460
CWE-ID CWE-367
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
FreeBSD
Operating systems & Components / Operating system

Vendor FreeBSD Foundation

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Race condition

EUVDB-ID: #VU34100

Risk: Low

CVSSv3.1: 7.7 [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]

CVE-ID: CVE-2020-7460

CWE-ID: CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to the sendmsg system call in the compat32 subsystem on 64-bit platforms has a time-of-check to time-of-use issue. A local user can tun a specially crafted program from userspace and modify control message headers after they are validation.

Successful exploitation of the vulnerability may allow an attacker to escalate privileges on the system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

FreeBSD: 11.0 - 12.1

External links

http://security.FreeBSD.org/advisories/FreeBSD-SA-20:23.sendmsg.asc
http://www.zerodayinitiative.com/advisories/ZDI-20-949/


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###