#VU45486 Stack-based buffer overflow in OpenSC - CVE-2010-4523
Published: January 7, 2011 / Updated: October 12, 2022
Vulnerability identifier: #VU45486
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2010-4523
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerable software:
OpenSC
OpenSC
Software vendor:
OpenSC
OpenSC
Description
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.
Remediation
Install update from vendor's website.
External links
- 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