Skip to content
OpenAdvisories
Unscored Public exploit CVE-2011-4862 EUVD-2011-4779GHSA-x8cr-m6vm-pqh4

Buffer overflow in libtelnet/encrypt.c in telnetd in FreeBSD 7.3 through 9.0, MIT Kerberos Version 5 Applications (aka krb5-appl) 1.0.2 and…

Published Dec 25, 2011 · Updated Aug 7, 2024 · Assigned by freebsd

Description

Buffer overflow in libtelnet/encrypt.c in telnetd in FreeBSD 7.3 through 9.0, MIT Kerberos Version 5 Applications (aka krb5-appl) 1.0.2 and earlier, Heimdal 1.5.1 and earlier, GNU inetutils, and possibly other products allows remote attackers to execute arbitrary code via a long encryption key, as exploited in the wild in December 2011.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 heimdal 1.5.dfsg.1-1 —
Debian 14 inetutils 2:1.8-6 —
Debian 14 krb5 1.8+dfsg~aa+r23527-1 —
Debian 13 heimdal 1.5.dfsg.1-1 —
Debian 13 inetutils 2:1.8-6 —
Debian 13 krb5 1.8+dfsg~aa+r23527-1 —
Debian 12 heimdal 1.5.dfsg.1-1 —
Debian 12 inetutils 2:1.8-6 —
Debian 12 krb5 1.8+dfsg~aa+r23527-1 —
Debian 6.0 heimdal 1.4.0~git20100726.dfsg.1-2+squeeze1 DSA-2372-1
Debian 6.0 inetutils 2:1.6-3.1+squeeze1 DSA-2373-1
Debian 6.0 krb5-appl 1:1.0.1-1.2 DSA-2375-1
Debian 5.0 heimdal 1.2.dfsg.1-2.1+lenny1 DSA-2372-1
Debian 5.0 inetutils 2:1.5.dfsg.1-9+lenny1 DSA-2373-1
Debian 5.0 krb5 1.6.dfsg.4~beta1-5lenny7 DSA-2375-1
ReleasePackageFixed inAdvisory
RHEL 6 krb5-appl +2 1.0.1-7.el6_2 RHSA-2011:1852
RHEL 5 krb5 +5 1.6.1-63.el5_7 RHSA-2011:1851
RHEL 4 krb5 +4 1.3.4-65.el4 RHSA-2011:1851
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Mission Critical 5 krb5 +4 1.6.1-31.el5_3.5 RHSA-2011:1853
RHEL 6.1 EUS krb5-appl +2 1.0.1-2.el6_1.3 RHSA-2011:1854
RHEL 6.0 EUS krb5-appl +2 1.0.1-1.el6_0.1 RHSA-2011:1854
RHEL 5.6 EUS krb5 +5 1.6.1-55.el5_6.3 RHSA-2011:1853
RHEL 3 ELS krb5 +4 1.2.7-73 RHSA-2011:1853

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 3 modules

Exploit-DB 3

GitHub 3 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 7

References