Out-of-bounds write in pam_radius and Debian Linux - CVE-2015-9542

 

Out-of-bounds write in pam_radius and Debian Linux - CVE-2015-9542

Published: February 24, 2020 / Updated: August 8, 2020


Vulnerability identifier: #VU34810
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-9542
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.

add_password in pam_radius_auth.c in pam_radius 1.4.0 does not correctly check the length of the input password, and is vulnerable to a stack-based buffer overflow during memcpy(). An attacker could send a crafted password to an application (loading the pam_radius library) and crash it. Arbitrary code execution might be possible, depending on the application, C library, compiler, and other factors.


Affected software

pam_radius
Debian Linux
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager Server
SUSE CaaS Platform
Fedora
SUSE Enterprise Storage
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Module for Server Applications
pam_radius
pam_radius-debuginfo
pam_radius-debugsource

How to mitigate CVE-2015-9542

Install update from vendor's website.

pam_radius - update to 1.4.0-3.3.1
pam_radius-debuginfo - update to 1.4.0-3.3.1
pam_radius-debugsource - update to 1.4.0-3.3.1
pam_radius - update to 1.4.0-4.el6

External References

Related Security Bulletins