#VU29603 Buffer overflow in FreeBSD


Published: 2020-07-09 | Updated: 2020-07-15

Vulnerability identifier: #VU29603

Vulnerability risk: Low

CVSSv3.1: 7.9 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2020-7458

CWE-ID: CWE-119

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
FreeBSD
Operating systems & Components / Operating system

Vendor: FreeBSD Foundation

Description

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

The vulnerability exists due to a boundary error when processing long values passed via the user-controlled PATH environment variable in posix_spawnp(3). A local user can construct a specially crafted PATH environment variable and execute arbitrary code on the system with elevated privileges.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

FreeBSD: 11.4


External links
http://www.freebsd.org/security/advisories/FreeBSD-SA-20:18.posix_spawnp.asc


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. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability