CVE-2012-1016
NoneCVSS
—
EPSS
2.6%
Published
Mar 5, 2013
CISA due date
—
Cloudanix analysis
A bug in the Kerberos login system lets remote attackers crash the central authentication service and stop users from logging in.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Trivial
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
NULL pointer dereference in pkinit_server_return_padata triggered by a crafted Draft 9 PKINIT request, causing the KDC daemon to crash.
Why it matters to the business
Remote attackers can interrupt Kerberos authentication services, blocking user logins and access to protected resources across the environment.
How an attack unfolds
An attacker sends a specially crafted Draft 9 PKINIT preauthentication request to the KDC; the pkinit_server_return_padata function attempts an agility KDF lookup in an invalid context, dereferences a NULL pointer, and terminates the daemon.
How to fix it
Upgrade MIT Kerberos 5 to version 1.10.4 or later; if immediate upgrade is not possible, restrict network access to the KDC and monitor for crashes.
How to confirm the fix worked
Verify installed krb5 version is 1.10.4 or newer; confirm absence of the vulnerable pkinit_srv.c code path; test KDC stability under simulated Draft 9 requests in a lab environment.
Typical attack path
- Craft and transmit a Draft 9 PKINIT request to the KDC
- pkinit_server_return_padata enters inappropriate code path
- NULL pointer dereference occurs
- KDC process crashes and authentication service becomes unavailable
How to detect it
Search KDC system and application logs for repeated daemon crashes or segmentation faults around pkinit code; inspect network captures for anomalous Draft 9 PKINIT preauth messages; correlate crash timestamps with connection attempts to the KDC.
- pkinit_server_return_padata
- NULL pointer dereference
- Draft 9 request
- krb5kdc.*crash
What your security team should do
- Apply the 1.10.4 (or newer) update to all KDC instances without delay
- Harden network access controls to limit KDC exposure
- Enable detailed KDC logging and set up alerts for unexpected daemon restarts
- Review and test any custom PKINIT configurations for Draft 9 compatibility
The record
The pkinit_server_return_padata function in plugins/preauth/pkinit/pkinit_srv.c in the PKINIT implementation in the Key Distribution Center (KDC) in MIT Kerberos 5 (aka krb5) before 1.10.4 attempts to find an agility KDF identifier in inappropriate circumstances, which allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted Draft 9 request.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | krb5 | 0 | 1.10.1+dfsg-4+nmu1 |
| Debian:12 | krb5 | 0 | 1.10.1+dfsg-4+nmu1 |
| Debian:13 | krb5 | 0 | 1.10.1+dfsg-4+nmu1 |
| Debian:14 | krb5 | 0 | 1.10.1+dfsg-4+nmu1 |
| Red Hat:enterprise_linux:6::client | krb5 | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::client | krb5-debuginfo | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::client | krb5-devel | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::client | krb5-libs | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::client | krb5-pkinit-openssl | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::client | krb5-server | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::client | krb5-server-ldap | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::client | krb5-workstation | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::computenode | krb5 | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::computenode | krb5-debuginfo | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::computenode | krb5-devel | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::computenode | krb5-libs | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::computenode | krb5-pkinit-openssl | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::computenode | krb5-server | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::computenode | krb5-server-ldap | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::computenode | krb5-workstation | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::server | krb5 | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::server | krb5-debuginfo | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::server | krb5-devel | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::server | krb5-libs | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::server | krb5-pkinit-openssl | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::server | krb5-server | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::server | krb5-server-ldap | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::server | krb5-workstation | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::workstation | krb5 | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::workstation | krb5-debuginfo | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::workstation | krb5-devel | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::workstation | krb5-libs | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::workstation | krb5-pkinit-openssl | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::workstation | krb5-server | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::workstation | krb5-server-ldap | 0 | 0:1.10.3-10.el6_4.1 |
| Red Hat:enterprise_linux:6::workstation | krb5-workstation | 0 | 0:1.10.3-10.el6_4.1 |
| Ubuntu:14.04:LTS | krb5 | 0 | 1.11.3+dfsg-3ubuntu2 |
| Ubuntu:14.04:LTS | krb5 | 0 | 1.12+dfsg-2ubuntu4.2 |
| openSUSE:Tumbleweed | krb5 | 0 | 1.15-1.1 |
Related vulnerabilities
- CVE-2024-37371 In MIT Kerberos 5 (aka krb5) before 1.21.3, an attacker can cause invalid memory reads… Also affects krb5
- CVE-2024-37370 In MIT Kerberos 5 (aka krb5) before 1.21.3, an attacker can modify the plaintext Extra… Also affects krb5
- CVE-2024-26461 Kerberos 5 (aka krb5) 1.21.2 contains a memory leak vulnerability in… Also affects krb5
- CVE-2024-26458 Kerberos 5 (aka krb5) 1.21.2 contains a memory leak in /krb5/src/lib/rpc/pmap_rmt.c. Also affects krb5
- CVE-2020-28196 MIT Kerberos 5 (aka krb5) before 1.17.2 and 1.18.x before 1.18.3 allows unbounded… Also affects krb5
- CVE-2016-3119 The process_db_args function in plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c in the… Also affects krb5
- CVE-2014-5351 The kadm5_randkey_principal_3 function in lib/kadm5/srv/svr_principal.c in kadmind in MIT… Also affects krb5
- CVE-2002-2443 schpw.c in the kpasswd service in kadmind in MIT Kerberos 5 (aka krb5) before 1.11.3 does… Also affects krb5