Cloudanix VulnDB

CVE-2015-2697

None

CVSS

—

EPSS

4.0%

Published

Nov 9, 2015

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in older login software can let someone already inside the network crash the central login server and briefly stop people from signing in.

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

What it actually does

Out-of-bounds read in build_principal_va triggered by a long realm field starting with a null byte in a TGS request, resulting in KDC process crash.

Why it matters to the business

Disrupts Kerberos-based authentication services across Linux and enterprise environments, causing temporary loss of user access and service availability; low urgency given age and limited exploitability but still relevant on unpatched legacy systems.

How an attack unfolds

An authenticated attacker crafts a TGS request containing a long realm that begins with a null byte and sends it to the KDC, which crashes during principal building due to the memory corruption.

How to fix it

Upgrade MIT Kerberos 5 to version 1.14 or later; apply vendor patches for affected distributions such as Ubuntu, Debian, SUSE, and Oracle Solaris.

How to confirm the fix worked

Verify krb5 package version is 1.14 or newer; monitor KDC stability under load and review source for the patched build_principal_va function.

Typical attack path

  1. Obtain valid Kerberos credentials
  2. Craft malformed TGS-REQ with null-prefixed long realm
  3. Transmit request to KDC
  4. Trigger out-of-bounds read and KDC crash

How to detect it

Search KDC logs and system crash reports for repeated process terminations around TGS request handling; correlate with authentication service availability alerts.

What your security team should do

  • Prioritize upgrade of all Kerberos KDCs and clients to fixed versions
  • Harden network segmentation around authentication infrastructure
  • Establish monitoring for KDC process restarts
  • Review and deprecate unsupported legacy Kerberos deployments

The record

The build_principal_va function in lib/krb5/krb/bld_princ.c in MIT Kerberos 5 (aka krb5) before 1.14 allows remote authenticated users to cause a denial of service (out-of-bounds read and KDC crash) via an initial '\0' character in a long realm field within a TGS request.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 krb5 0 1.13.2+dfsg-3
Debian:12 krb5 0 1.13.2+dfsg-3
Debian:13 krb5 0 1.13.2+dfsg-3
Debian:6.0 krb5 0 1.8.3+dfsg-4squeeze10
Debian:7 krb5 0 1.10.1+dfsg-5+deb7u4
Debian:7 krb5 0 1.10.1+dfsg-5+deb7u6
Debian:8 krb5 0 1.12.1+dfsg-19+deb8u1
Mageia:5 krb5 0 1.12.2-8.1.mga5
SUSE:Linux Enterprise Desktop 12 krb5 0 1.12.1-19.1
SUSE:Linux Enterprise Server 12 krb5 0 1.12.1-19.1
SUSE:Linux Enterprise Server for SAP Applications 12 krb5 0 1.12.1-19.1
SUSE:Linux Enterprise Software Development Kit 12 krb5 0 1.12.1-19.1
Ubuntu:14.04:LTS krb5 0 1.12+dfsg-2ubuntu5.2
openSUSE:Tumbleweed krb5 0 1.15-1.1

Related vulnerabilities