Heap-based buffer overflow in GNU C Library (glibc) - CVE-2012-4412
Published: October 10, 2013 / Updated: August 11, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in Integer overflow in string/strcoll_l.c in the GNU C Library (aka glibc or libc6) 2.17 and earlier. A remote attacker can use a long string to trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
SUSE Linux
Slackware Linux
glibc
glibc-i18n
glibc-profile
glibc-solibs
sys-libs/glibc
How to mitigate CVE-2012-4412
glibc-i18n - update to 2.17
glibc-profile - update to 2.17
glibc-solibs - update to 2.17
sys-libs/glibc - update to 2.19-r1
Links to Public Exploits and PoC-codes
External References
- http://packetstormsecurity.com/files/153278/WAGO-852-Industrial-Managed-Switch-Series-Code-Execution-Hardcoded-Credentials.html
- http://seclists.org/fulldisclosure/2019/Jun/18
- http://secunia.com/advisories/55113
- http://sourceware.org/bugzilla/show_bug.cgi?id=14547
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:283
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:284
- http://www.openwall.com/lists/oss-security/2012/09/07/9
- http://www.ubuntu.com/usn/USN-1991-1
- https://bugzilla.redhat.com/show_bug.cgi?id=855385
- https://seclists.org/bugtraq/2019/Jun/14
- https://security.gentoo.org/glsa/201503-04