CVE-2009-4484
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 69.6% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 69.6% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 69.6% · EPSS, next 30 days
- Weakness
- CWE-787 · Out-of-bounds write
- Record status
- Modified
Affected
- Oracle MySQL < 5.0.90
- Oracle MySQL < 5.1.43
- Oracle MySQL 5.0.0
- Wolfssl Yassl < 1.9.9
- Canonical Ubuntu Linux 6.06
- Canonical Ubuntu Linux 8.04
- Canonical Ubuntu Linux 8.10
- Canonical Ubuntu Linux 9.04
Attack profile CVSS 2.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2009-4484.md and follow it. Check whether this project is affected by CVE-2009-4484. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://bugs.mysql.com/bug.php?id=50227
- http://lists.mysql.com/commits/96697
- http://bugs.mysql.com/bug.php?id=50227
- http://lists.mysql.com/commits/96697
References
- 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