Debian DLA-2166-1 : libpam-krb5 security update

critical Nessus Plugin ID 135101

Synopsis

The remote Debian host is missing a security update.

Description

The krb5 PAM module (pam_krb5.so) had a buffer overflow that might have caused remote code execution in situations involving supplemental prompting by a Kerberos library. It might have overflown a buffer provided by the underlying Kerberos library by a single '\0' byte if an attacker responded to a prompt with an answer of a carefully chosen length. The effect may have ranged from heap corruption to stack corruption depending on the structure of the underlying Kerberos library, with unknown effects but possibly including code execution.
This code path had not been used for normal authentication, but only when the Kerberos library did supplemental prompting, such as with PKINIT or when using the non-standard no_prompt PAM configuration option.

For Debian 8 'Jessie', this problem has been fixed in version 4.6-3+deb8u1. The fix was prepared by Mike Gabriel.

We recommend that you upgrade your libpam-krb5 packages.

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected libpam-heimdal, and libpam-krb5 packages.

See Also

https://lists.debian.org/debian-lts-announce/2020/04/msg00000.html

https://packages.debian.org/source/jessie/libpam-krb5

Plugin Details

Severity: Critical

ID: 135101

File Name: debian_DLA-2166.nasl

Version: 1.5

Type: local

Agent: unix

Published: 4/2/2020

Updated: 3/20/2024

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2020-10595

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libpam-heimdal, p-cpe:/a:debian:debian_linux:libpam-krb5, cpe:/o:debian:debian_linux:8.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 4/1/2020

Vulnerability Publication Date: 3/31/2020

Reference Information

CVE: CVE-2020-10595