Buffer overflow in FreeBSD - CVE-2011-4862

 

Buffer overflow in FreeBSD - CVE-2011-4862

Published: December 28, 2016 / Updated: July 15, 2020


Vulnerability identifier: #VU3031
CSH Severity: Critical
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2011-4862
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists due to buffer overflow in the encrypt_keyid() function of telnetd. A remote attacker can send a very large encryption key to telnetd daemon, trigger buffer overflow and execute arbitrary code with root privileges.

Successful exploitation of the vulnerability results in arbitrary code execution on the vulnerable system.

Note: the vulnerability was being actively exploited.

Affected software

FreeBSD
Debian Linux
Gentoo Linux
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
heimdal (Alpine package)

How to mitigate CVE-2011-4862


heimdal (Alpine package) - update to 1.3.3-r3

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins