Stack-based buffer overflow vulnerability in add_password in pam_radius_auth.c in pam_radius 1.4.0 allows for arbitrary code execution

Stack-based buffer overflow vulnerability in add_password in pam_radius_auth.c in pam_radius 1.4.0 allows for arbitrary code execution

CVE-2015-9542 · HIGH Severity

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

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.

Learn more about our Web Application Penetration Testing UK.