Show vulnerabilities with patch / with exploit

Buffer overflow in pam-krb5



Published: 2020-03-31
Severity High
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2020-10595
CWE ID CWE-119
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
pam-krb5
Universal components / Libraries / Libraries used by multiple products

Vendor Russ Allbery

Security Advisory

This security advisory describes one high risk vulnerability.

1) Buffer overflow

Severity: High

CVSSv3: 7.1 [CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C] [PCI]

CVE-ID: CVE-2020-10595

CWE-ID: CWE-119 - Improper Restriction of Operations within the Bounds of a Memory Buffer

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing data passed during supplemental prompting. A remote attacker can pass an overly long string to pam-krb5 via the underlying Kerberos library, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system but requires that the Kerberos library does supplemental prompting, such as with PKINIT or when using the non-standard no_prompt PAM configuration option.

Mitigation

Install update from vendor's website.

Vulnerable software versions

pam-krb5: 1.0, 1.2.0, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, 3.14, 3.15, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5, 4.6, 4.7, 4.8

CPE External links

http://www.openwall.com/lists/oss-security/2020/03/31/1
https://github.com/rra/pam-krb5/commit/e7879e27a37119fad4faf133a9f70bdcdc75d760

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.