Cloudanix VulnDB

CVE-2015-8630

High · 7.5

CVSS

7.5

EPSS

4.3%

Published

Feb 13, 2016

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in the Kerberos authentication service can let an attacker with login rights crash the service, temporarily blocking users from signing in until it is restarted.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Low
Impact
Denial Of Service
Component
Network Service
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Remote authenticated attacker supplying KADM5_POLICY with a NULL policy name to kadm5_create_principal_3 or kadm5_modify_principal triggers a NULL pointer dereference inside kadmind, crashing the Kerberos administration daemon.

Why it matters to the business

Successful exploitation produces an immediate denial-of-service condition against Kerberos-based authentication services, halting login, ticket issuance, and related identity operations until the daemon is restarted; the issue affects packaged deployments such as GitLab Bitnami instances that bundle the vulnerable krb5 libraries.

How an attack unfolds

An attacker with valid Kerberos administrative credentials connects to kadmind over the network, crafts a principal-creation or modification request that includes the KADM5_POLICY flag but supplies a NULL policy name, and triggers the NULL dereference path in lib/kadm5/srv/svr_principal.c, causing the daemon to crash.

How to fix it

Upgrade the affected Kerberos installation to version 1.13.4 or 1.14.1 (or later). For GitLab Bitnami deployments, upgrade to version 13.10.5 or newer, which bundles the corrected krb5 libraries.

How to confirm the fix worked

After patching, confirm the running kadmind binary reports a fixed krb5 version (1.13.4+, 1.14.1+), re-test principal creation and modification operations that previously triggered the crash, and verify the daemon no longer terminates on the same malformed requests.

Typical attack path

  1. Obtain valid Kerberos administrative credentials
  2. Connect to the kadmind service
  3. Issue a kadm5_create_principal_3 or kadm5_modify_principal request containing KADM5_POLICY with a NULL policy name
  4. Trigger NULL pointer dereference and daemon crash

How to detect it

Monitor process termination logs and service restart events for the kadmind daemon; look for repeated abrupt crashes without preceding authentication failures that would normally indicate legitimate load.

What your security team should do

  • Apply the vendor-supplied update to GitLab Bitnami 13.10.5 or later immediately
  • Inventory all other deployments that ship the vulnerable 1.12.x/1.13.x/1.14.x krb5 packages and schedule upgrades
  • Add kadmind process monitoring and automatic restart to limit downtime from repeated crashes
  • Review administrative Kerberos accounts and reduce unnecessary privileges

The record

The (1) kadm5_create_principal_3 and (2) kadm5_modify_principal functions in lib/kadm5/srv/svr_principal.c in kadmind in MIT Kerberos 5 (aka krb5) 1.12.x and 1.13.x before 1.13.4 and 1.14.x before 1.14.1 allow remote authenticated users to cause a denial of service (NULL pointer dereference and daemon crash) by specifying KADM5_POLICY with a NULL policy name.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.4 krb5 0 1.14-r1
Debian:11 krb5 0 1.13.2+dfsg-5
Debian:12 krb5 0 1.13.2+dfsg-5
Debian:13 krb5 0 1.13.2+dfsg-5
Mageia:5 krb5 0 1.12.2-8.3.mga5
Red Hat:enterprise_linux:7::client krb5 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::client krb5-debuginfo 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::client krb5-devel 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::client krb5-libs 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::client krb5-pkinit 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::client krb5-server 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::client krb5-server-ldap 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::client krb5-workstation 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::computenode krb5 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::computenode krb5-debuginfo 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::computenode krb5-devel 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::computenode krb5-libs 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::computenode krb5-pkinit 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::computenode krb5-server 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::computenode krb5-server-ldap 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::computenode krb5-workstation 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::server krb5 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::server krb5-debuginfo 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::server krb5-devel 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::server krb5-libs 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::server krb5-pkinit 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::server krb5-server 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::server krb5-server-ldap 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::server krb5-workstation 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::workstation krb5 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::workstation krb5-debuginfo 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::workstation krb5-devel 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::workstation krb5-libs 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::workstation krb5-pkinit 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::workstation krb5-server 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::workstation krb5-server-ldap 0 0:1.13.2-12.el7_2
Red Hat:enterprise_linux:7::workstation krb5-workstation 0 0:1.13.2-12.el7_2
SUSE:Linux Enterprise Desktop 12 krb5 0 1.12.1-25.1
SUSE:Linux Enterprise Desktop 12 SP1 krb5 0 1.12.1-25.1
SUSE:Linux Enterprise Server 12 krb5 0 1.12.1-25.1
SUSE:Linux Enterprise Server 12 SP1 krb5 0 1.12.1-25.1
SUSE:Linux Enterprise Server for SAP Applications 12 krb5 0 1.12.1-25.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 krb5 0 1.12.1-25.1
SUSE:Linux Enterprise Software Development Kit 12 krb5 0 1.12.1-25.1
SUSE:Linux Enterprise Software Development Kit 12 SP1 krb5 0 1.12.1-25.1
Ubuntu:14.04:LTS krb5 0 1.12+dfsg-2ubuntu5.4
Ubuntu:16.04:LTS krb5 0 1.13.2+dfsg-5
openSUSE:Tumbleweed krb5 0 1.15-1.1

Related vulnerabilities