Stack-based buffer overflow in OpenSC - CVE-2010-4523
Published: January 7, 2011 / Updated: October 12, 2022
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error when processing a long serial-number field on a smart card, related to (1) card-acos5.c, (2) card-atrust-acos.c, and (3) card-starcos.c. A remote unauthenticated attacker can trigger stack-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
How to mitigate CVE-2010-4523
External References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607427
- http://labs.mwrinfosecurity.com/files/Advisories/mwri_opensc-get-serial-buffer-overflow_2010-12-13.pdf
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052777.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052796.html
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00006.html
- http://openwall.com/lists/oss-security/2010/12/21/2
- http://openwall.com/lists/oss-security/2010/12/22/3
- http://secunia.com/advisories/42658
- http://secunia.com/advisories/42807
- http://secunia.com/advisories/43068
- http://www.h-online.com/open/news/item/When-a-smart-card-can-root-your-computer-1154829.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:011
- http://www.securityfocus.com/bid/45435
- http://www.vupen.com/english/advisories/2011/0009
- http://www.vupen.com/english/advisories/2011/0109
- http://www.vupen.com/english/advisories/2011/0212
- https://bugs.launchpad.net/ubuntu/+source/opensc/+bug/692483
- https://bugzilla.redhat.com/show_bug.cgi?id=664831
- https://www.opensc-project.org/opensc/changeset/4913