CVE-2017-15088CWE-121

plugins/preauth/pkinit/pkinit_crypto_openssl.c in MIT Kerberos 5 (aka krb5) through 1.15.2 mishandles Distinguished Name (DN) fields, which allows remote…

published November 23, 2017

CVSS
—
EPSS
8%
Percentile
94.9
In the wild
Unconfirmed
What it is

⚠️ A remote attacker can leverage a quirky flaw in MIT Kerberos 5 to execute arbitrary code, like an unexpected guest crashing a party! Think of this vulnerability as a bouncer who lets in anyone with a fake ID — the Distinguished Name (DN) fields aren’t properly checked, allowing untrusted data to sneak in and cause chaos. It’s like letting someone walk into a fancy gala with a t-shirt and shorts! If exploited, this could lead to a buffer overflow, resulting in application crashes or worse, arbitrary code execution! That means a malicious user could potentially take control of the system, which is absolutely devastating for any environment relying on these functions.

Put simply

Think of this vulnerability as a bouncer who lets in anyone with a fake ID — the Distinguished Name (DN) fields aren’t properly checked, allowing untrusted data to sneak in and cause chaos. It’s like letting someone walk into a fancy gala with a t-shirt and shorts! The vulnerability arises from mishandling DN fields in the get_matching_data and X509_NAME_oneline_ex functions within MIT Kerberos 5, specifically versions through 1.15.2. This flaw primarily affects the use of untrusted X.509 data and is particularly relevant for systems using the certauth plugin.

What to do

If exploited, this could lead to a buffer overflow, resulting in application crashes or worse, arbitrary code execution! That means a malicious user could potentially take control of the system, which is absolutely devastating for any environment relying on these functions. To secure your systems, check if you’re using vulnerable versions - specifically through 1.15.2 - and consider upgrading to a patched version. Additionally, review your usage of the KDC certauth plugin in Red Hat environments to ensure it’s not processing untrusted X.509 data. This is fixable! By following these steps, you’ll bolster your defenses and keep your environment safe! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.08302 · 94.9th percentile
Weakness
CWE-121 · Stack-based Buffer Overflow
Published
2017-11-23T17:00Z
EPSS history
Timeline
  • 23 NOV 17:00Z
    plugins/preauth/pkinit/pkinit_crypto_openssl.c in MIT Kerberos 5 (aka krb5) through 1.15.2 mishandles Distinguished Name (DN) fields, which allows remote…
    cvelistv5