Kerberos kadmind modify policy code execution

kerberos-modifypolicy-code-execution (36438) The risk level is classified as MediumMedium Risk

Description:

Kerberos could allow an authenticated remote attacker with modify policy privileges to execute arbitrary code, caused by an unspecified vulnerability in the MIT krb5 Kerberos administration daemon (kadmind). An attacker could exploit this vulnerability to execute arbitrary code on the system with SYSTEM or root privileges or cause the service to crash.

Platforms Affected:

  • Canonical, Ubuntu 6.06 LTS
  • Canonical, Ubuntu 6.10
  • Canonical, Ubuntu 7.04
  • Debian, Debian Linux 4.0
  • Gentoo, Linux
  • MandrakeSoft, Mandrake Linux 2007
  • MandrakeSoft, Mandrake Linux 2007 X86_64
  • MandrakeSoft, Mandrake Linux 2007.1
  • MandrakeSoft, Mandrake Linux 2007.1 X86_64
  • MandrakeSoft, Mandrake Linux 2008.0 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 4.0
  • MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
  • MIT, Kerberos 5-1.5
  • MIT, Kerberos 5-1.5.1
  • MIT, Kerberos 5-1.5.2
  • MIT, Kerberos 5-1.5.3
  • MIT, Kerberos 5-1.6
  • MIT, Kerberos 5-1.6.1
  • MIT, Kerberos 5-1.6.2
  • RedHat, Enterprise Linux 5
  • RedHat, Enterprise Linux 5 Client
  • RedHat, Enterprise Linux 5 Client Workstation
  • RedHat, Enterprise Linux 5 Server
  • RedHat, Enterprise Linux Desktop 5.0

Remedy:

Refer to MIT krb5 Security Advisory 2007-006 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux:
Refer to RHSA-2007:0858-2 for patch, upgrade, or suggested workaround information. See References.

For Ubuntu Linux:
Refer to USN-511-1 for patch, upgrade, or suggested workaround information. See References.

For Debian/GNU Linux:
Refer to DSA-1367-1 for patch, upgrade, or suggested workaround information. See References.

For Mandriva Linux (krb5):
Refer to MDKSA-2007:174 for patch, upgrade, or suggested workaround information. See References.

For Mandriva Linux (krb5):
Refer to MDKSA-2007:174-1 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux (mit-krb5):
Refer to GLSA 200709-01 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

Gain Privileges

References:

  • BugTraq Mailing List, Tue Sep 04 2007 - 13:16:53 CDT, MITKRB5-SA-2007-006: kadmind RPC lib buffer overflow, uninitialized pointer at http://archives.neohapsis.com/archives/bugtraq/2007-09/0034.html.
  • Kerberos Web site, Kerberos: The Network Authentication Protocol at http://web.mit.edu/kerberos/www/.
  • MIT krb5 Security Advisory 2007-006, kadmind RPC lib buffer overflow, uninitialized pointer at http://web.mit.edu/kerberos/advisories/MITKRB5-SA-2007-006.txt.
  • BID-25533: MIT Kerberos 5 kadmind Server Uninitialized Pointer Remote Code Execution Vulnerability
  • CVE-2007-4000: The kadm5_modify_policy_internal function in lib/kadm5/srv/svr_policy.c in the Kerberos administration daemon (kadmind) in MIT Kerberos 5 (krb5) 1.5 through 1.6.2 does not properly check return values when the policy does not exist, which might allow remote authenticated users with the modify policy privilege to execute arbitrary code via unspecified vectors that trigger a write to an uninitialized pointer.
  • GLSA-200709-01: MIT Kerberos 5: Multiple vulnerabilities
  • MDKSA-2007:174: Updated krb5 packages fix vulnerabilities
  • MDKSA-2007:174-1: Updated krb5 packages fix vulnerabilities
  • RHSA-2007-0858: Important: krb5 security update
  • SA26676: Kerberos Multiple Vulnerabilities
  • SECTRACK ID: 1018647: Kerberos kadmind Stack Overflow and Uninitialized Pointer Lets Remote Users Execute Arbitrary Code
  • SUSE-SR:2007:019: SUSE Security Summary Report
  • US-CERT VU#377544: MIT Kerberos 5 kadmind privilege escalation vulnerability
  • VUPEN/ADV-2007-3051: MIT Kerberos Multiple Remote Command Execution and DoS Vulnerabilities

Reported:

Sep 04, 2007

The information within this database may change without notice. 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. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page