MIT Kerberos 5 KRB5_AName_To_Localname Multiple Principal Name Buffer Overrun Vulnerabilities

BID:10448

Info

MIT Kerberos 5 KRB5_AName_To_Localname Multiple Principal Name Buffer Overrun Vulnerabilities

Bugtraq ID: 10448
Class: Boundary Condition Error
CVE: CVE-2004-0523
Remote: Yes
Local: No
Published: Jun 01 2004 12:00AM
Updated: Aug 05 2010 07:46PM
Credit: Discovery of these vulnerabilities has been credited to Christopher Nebergall and Nico Williams.
Vulnerable: Trustix Secure Linux 2.1
Trustix Secure Enterprise Linux 2.0
tinysofa enterprise server 1.0 -U1
tinysofa enterprise server 1.0
Sun Solaris 9_x86
Sun Solaris 9_sparc
Sun Solaris 8_x86
Sun Solaris 8_sparc
Sun SEAM 1.0.2
+ Sun Solaris 9_x86
+ Sun Solaris 9
Sun SEAM 1.0.1
+ Sun Solaris 8_x86
+ Sun Solaris 8_sparc
Sun SEAM 1.0
SGI ProPack 3.0
SGI ProPack 2.4
Redhat Linux 9.0 i386
Redhat Linux 7.3 i686
Redhat Linux 7.3 i386
Redhat Linux 7.3
Redhat Fedora Core1
MIT Kerberos 5 5.0 -1.3.3
MIT Kerberos 5 5.0 -1.2beta2
MIT Kerberos 5 5.0 -1.2beta1
MIT Kerberos 5 5.0 -1.1.1
MIT Kerberos 5 5.0 -1.1
MIT Kerberos 5 5.0 -1.0.x
MIT Kerberos 5 1.3 -alpha1
MIT Kerberos 5 1.3
+ Mandriva Linux Mandrake 10.0 AMD64
+ Mandriva Linux Mandrake 10.0
+ Mandriva Linux Mandrake 9.2 amd64
+ Mandriva Linux Mandrake 9.2
MIT Kerberos 5 1.2.7
+ Mandriva Linux Mandrake 9.1 ppc
+ Mandriva Linux Mandrake 9.1
+ Redhat Linux 9.0 i386
MIT Kerberos 5 1.2.6
MIT Kerberos 5 1.2.5
+ MandrakeSoft Corporate Server 2.1 x86_64
+ MandrakeSoft Corporate Server 2.1
+ Mandriva Linux Mandrake 9.0
+ Redhat Linux 8.0 i386
+ Redhat Linux 8.0
+ Turbolinux Home
+ Turbolinux Turbolinux 10 F...
+ Turbolinux Turbolinux Desktop 10.0
+ Turbolinux Turbolinux Server 8.0
+ Wirex Immunix OS 7+
MIT Kerberos 5 1.2.4
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0
+ Redhat Linux 7.3 i386
+ Redhat Linux 7.3
MIT Kerberos 5 1.2.3
MIT Kerberos 5 1.2.2 -beta1
MIT Kerberos 5 1.2.2
+ MandrakeSoft Multi Network Firewall 2.0
+ Mandriva Linux Mandrake 8.2 ppc
+ Mandriva Linux Mandrake 8.2
+ Mandriva Linux Mandrake 8.1 ia64
+ Mandriva Linux Mandrake 8.1
+ Redhat Linux 7.2 ia64
+ Redhat Linux 7.2 i386
+ Redhat Linux 7.2
+ Redhat Linux 7.1 ia64
+ Redhat Linux 7.1 i386
+ Redhat Linux 7.1 alpha
+ Redhat Linux 7.1
+ Redhat Linux 7.0 i386
+ Redhat Linux 7.0 alpha
+ Redhat Linux 7.0
MIT Kerberos 5 1.2.1
MIT Kerberos 5 1.2
MIT Kerberos 5 1.1.1
- Redhat Linux 7.1 ia64
- Redhat Linux 7.1 i386
- Redhat Linux 7.1 alpha
- Redhat Linux 7.1
- Redhat Linux 7.0 i386
- Redhat Linux 7.0 alpha
- Redhat Linux 7.0
+ Redhat Linux 6.2 sparc
+ Redhat Linux 6.2 i386
+ Redhat Linux 6.2 alpha
+ Redhat Linux 6.2
MIT Kerberos 5 1.1
MIT Kerberos 5 1.0.8
+ OpenBSD OpenBSD 3.2
+ OpenBSD OpenBSD 3.1
MIT Kerberos 5 1.0.6
MIT Kerberos 5 1.0
MIT Kerberos 4 5 1.3.3
MIT Kerberos 4 5 1.2 Beta2
MIT Kerberos 4 5 1.2 Beta1
Apple Mac OS X Server 10.3.5
Apple Mac OS X Server 10.3.4
Apple Mac OS X Server 10.2.8
Apple Mac OS X 10.3.5
Apple Mac OS X 10.3.4
Apple Mac OS X 10.2.8
Not Vulnerable: MIT Kerberos 5 1.3.4
+ Mandriva Linux Mandrake 10.1 x86_64
+ Mandriva Linux Mandrake 10.1
+ Turbolinux Turbolinux Server 10.0

Discussion

MIT Kerberos 5 KRB5_AName_To_Localname Multiple Principal Name Buffer Overrun Vulnerabilities

Kerberos 5 is prone to multiple boundary condition errors that exist in the krb5_aname_to_localname() and helper functions and are due to insufficient bounds checking performed on user-supplied data.

An additional boundary condition issue also exists in the krb5_aname_to_localname() function. The condition is reported to present itself in the explicit mapping functionality of the krb5_aname_to_localname() as an off-by-one.

These conditions may be theoretically exploitable to execute arbitrary code remotely in the context of the affected service.

It is reported that explicit mapping or rules-based
mapping functionality of krb5_aname_to_localname() must be enabled for these vulnerabilities to be present. Additionally it is necessary that the principal name used by the attacker to exploit the issue be listed in the explicit mapping list.

These vulnerabilities are reported to affect all releases of MIT Kerberos 5, up to and including version krb5-1.3.3.

Exploit / POC

MIT Kerberos 5 KRB5_AName_To_Localname Multiple Principal Name Buffer Overrun Vulnerabilities

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

Solution / Fix

MIT Kerberos 5 KRB5_AName_To_Localname Multiple Principal Name Buffer Overrun Vulnerabilities

Solution:
This issue has been addressed in krb5-1.3.4.

Trustix has released an advisory (TSLSA-2004-0032) and fixes to address this issue in Trustix products. Users of the SWUP tool may apply these updates using 'swup --upgrade'. Customers are advised to see the referenced advisory for further details regarding obtaining and applying appropriate fixes.

Apple has released an advisory (APPLE-SA-0024-09-07) along with fixes to address this, and many other issues. Please see the referenced advisory for further information.

Tinysofa has released advisory TSSA-2004-009 along with fixes dealing with this issue. Please see the advisory in web references for further details.

MIT has released an update to advisory MITKRB5-SA-2004-001 as well as fixes dealing with this issue. Please see the referenced advisory for more information.

Mandrake has released advisory MDKSA-2004:056 and fixes dealing with this issue. Please see the referenced advisory for more information.

RedHat has released advisories FEDORA-2004-149 and FEDORA-2004-150 to address these issues in Fedora Core 1 and Fedora Core 2. Please see the referenced advisories for more information.

Red Hat has released advisory RHSA-2004:236-14 and fixes to address this issue on Red Hat Linux Enterprise platforms. Customers who are affected by this issue are advised to apply the appropriate updates. Customers subscribed to the Red Hat Network may apply the appropriate fixes using the Red Hat Update Agent (up2date). Please see referenced advisory for additional information.

Mandrake Linux has released advisory MDKSA-2004:056-1 and fixes dealing with this issue. Please see the refereneced advisory for more information. This advisory is an update to MDKSA-2004:056, containing a bugfix for a problem contained in the previous packages.

Sun has released security bulletin 57580 addressing this issue in Solaris and SEAM. Please refer to the Sun bulletin for further information. T patches are available through the vendors support system. Patches T-112237-11 and T-112390-09 are available for Solaris 8 on the SPARC platform. T-112240-08 and T-112238-10 are available for Solaris 8 on the x86 platform.

Debian has released advisory DSA 520-1 with fixes that address these issues. Please see the referenced advisory for more information.

Trustix has released advisory TSL-2004-0036 to address this issue. Please see the attached advisory for details on obtaining and applying fixes.

SGI has released a security advisory (20040604-01-U) to address this and other issues in SGI ProPack 3. Please see the referenced advisory for more information.

SGI has released a security advisory (20040605-01-U) to address this and other issues in SGI ProPack 2.4. Please see the referenced advisory for more information.

Gentoo Linux has released advisory GLSA 200406-21 dealing with this issue. Please see the referenced Gentoo advisory for more information. They have recommended that all mit-krb5 users should upgrade to the latest version using the following sequence of commands:
emerge sync
emerge -pv ">=app-crypt/mit-krb5-1.3.3-r1"
emerge ">=app-crypt/mit-krb5-1.3.3-r1"

Conectiva has made advisory CLSA-2004:860 along with fixes available resolving this and other issues. Please see the referenced advisory for more information.

Sun has released an update to their security bulletin 57580. The Solaris 9 patch for the SPARC architecture is now available again. Please see the referenced advisory.

Sun has released patches for their Solaris 8 product. Users should be advised that for both the SPARC and x86 platform both patches must be applied to resolve this issue. Please see the referenced advisory for more information.

Fedora Legacy has released security advisory FLSA:154276 addressing this issue for RedHat Linux 7.3 and 9, and for Fedora Core 1. Please see the referenced advisory for details on obtaining and applying the appropriate updates.


Sun Solaris 8_sparc

Sun Solaris 9_x86

Sun Solaris 8_x86

Sun SEAM 1.0

MIT Kerberos 5 1.0

MIT Kerberos 5 1.0.6

MIT Kerberos 5 1.0.8

MIT Kerberos 5 1.1

MIT Kerberos 5 1.1.1

MIT Kerberos 5 1.2

MIT Kerberos 5 1.2.1

MIT Kerberos 5 1.2.2

MIT Kerberos 5 1.2.2 -beta1

MIT Kerberos 5 1.2.3

MIT Kerberos 5 1.2.4

MIT Kerberos 5 1.2.5

MIT Kerberos 5 1.2.6

MIT Kerberos 5 1.2.7

MIT Kerberos 5 1.3

MIT Kerberos 5 1.3 -alpha1

Apple Mac OS X 10.2.8

Apple Mac OS X Server 10.2.8

Apple Mac OS X 10.3.4

Apple Mac OS X Server 10.3.4

Apple Mac OS X Server 10.3.5

Apple Mac OS X 10.3.5

SGI ProPack 2.4

SGI ProPack 3.0

MIT Kerberos 5 5.0 -1.2beta1

MIT Kerberos 5 5.0 -1.1

MIT Kerberos 5 5.0 -1.2beta2

MIT Kerberos 5 5.0 -1.0.x

MIT Kerberos 5 5.0 -1.3.3

MIT Kerberos 5 5.0 -1.1.1

References

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report