CVE-2009-4484
Multiple stack-based buffer overflows in the CertDecoder::GetName function in src/asn.cpp in TaoCrypt in yaSSL before 1.9.9, as used in mysqld in MySQL 5.0.x b…
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- MySQL - yaSSL CertDecoder::GetName Buffer Overflow (Metasploit)2010-04-30 · remote · linux · Verified
Impact
Multiple stack-based buffer overflows in the CertDecoder::GetName function in src/asn.cpp in TaoCrypt in yaSSL before 1.9.9, as used in mysqld in MySQL 5.0.x before 5.0.90, MySQL 5.1.x before 5.1.43, MySQL 5.5.x through 5.5.0-m2, and other products, allow remote attackers to execute arbitrary code or cause a denial of service (memory corruption and daemon crash) by establishing an SSL connection and sending an X.509 client certificate with a crafted name field, as demonstrated by mysql_overflow1.py and the vd_mysql5 module in VulnDisco Pack Professional 8.11. NOTE: this was originally reported for MySQL 5.0.51a.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Oracle | Mysql | from 5.0.0 before 5.0.90 from 5.1.0 before 5.1.43 Version 5.0.0 |
| Wolfssl | Yassl | before 1.9.9 |
| Canonical | Ubuntu Linux | Versions 6.06, 8.04, 8.10, 9.04, 9.10, 10.04 |
| Debian | Debian Linux | Versions 4.0, 5.0, 6.0 |
| Mariadb | Mariadb | from 5.1 before 5.1.42 |
Weakness classification
References
- NVD record
- CVE.org record
- http://archives.neohapsis.com/archives/dailydave/2010-q1/0002.html
- http://bazaar.launchpad.net/~mysql/mysql-server/mysql-5.0/revision/2837.1.1
- http://bugs.mysql.com/bug.php?id=50227
- http://dev.mysql.com/doc/refman/5.0/en/news-5-0-90.html
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-43.html
- http://intevydis.blogspot.com/2010/01/mysq-yassl-stack-overflow.html
- http://intevydis.com/mysql_demo.html
- http://intevydis.com/mysql_overflow1.py.txt
- http://intevydis.com/vd-list.shtml
- http://isc.sans.org/diary.html?storyid=7900
- http://lists.immunitysec.com/pipermail/dailydave/2010-January/006020.html
- http://lists.mysql.com/commits/96697
- http://secunia.com/advisories/37493
- http://secunia.com/advisories/38344
- http://secunia.com/advisories/38364
- http://secunia.com/advisories/38517
- http://secunia.com/advisories/38573
- http://securitytracker.com/id?1023402
- http://securitytracker.com/id?1023513
- http://ubuntu.com/usn/usn-897-1
- http://www.debian.org/security/2010/dsa-1997
- http://www.intevydis.com/blog/?p=106
- http://www.intevydis.com/blog/?p=57
- http://www.metasploit.com/modules/exploit/linux/mysql/mysql_yassl_getname
- http://www.osvdb.org/61956