Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Freeradius | Pam Radius | 1.4.0 |
| Debian | Debian Linux | 8.0 |
| Canonical | Ubuntu Linux | 12.04 |
Related Weaknesses (CWE)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2015-9542Issue TrackingPatchThird Party Advisory
- https://github.com/FreeRADIUS/pam_radius/commit/01173ec2426627dbb1e0d96c06c3ffa0PatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/02/msg00023.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00000.htmlMailing ListThird Party Advisory
- https://usn.ubuntu.com/4290-1/Third Party Advisory
- https://usn.ubuntu.com/4290-2/Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2015-9542Issue TrackingPatchThird Party Advisory
- https://github.com/FreeRADIUS/pam_radius/commit/01173ec2426627dbb1e0d96c06c3ffa0PatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/02/msg00023.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00000.htmlMailing ListThird Party Advisory
- https://usn.ubuntu.com/4290-1/Third Party Advisory
- https://usn.ubuntu.com/4290-2/Third Party Advisory
FAQ
What is CVE-2015-9542?
CVE-2015-9542 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 s...
How severe is CVE-2015-9542?
CVE-2015-9542 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2015-9542?
Check the references section above for vendor advisories and patch information. Affected products include: Freeradius Pam Radius, Debian Debian Linux, Canonical Ubuntu Linux.