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.0: 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/E:U/U:Green
CVE-ID: CVE-2015-9542
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: FreeRADIUS
Debian
Affected software:
pam_radius
Debian Linux

Detailed vulnerability description

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.


How to mitigate CVE-2015-9542

Install update from vendor's website.

Sources