中危 MySQL - yaSSL CertDecoder::GetName Buffer Overflow (Metasploit)

CVE编号

CVE-2009-4484

利用情况

POC 已公开

补丁情况

官方补丁

披露时间

2009-12-31
漏洞描述
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.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
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
http://www.securityfocus.com/bid/37640
http://www.securityfocus.com/bid/37943
http://www.securityfocus.com/bid/37974
http://www.ubuntu.com/usn/USN-1397-1
http://www.vupen.com/english/advisories/2010/0233
http://www.vupen.com/english/advisories/2010/0236
http://www.yassl.com/news.html#yassl199
http://www.yassl.com/release.html
http://yassl.cvs.sourceforge.net/viewvc/yassl/yassl/taocrypt/src/asn.cpp?r1=1...
https://bugzilla.redhat.com/show_bug.cgi?id=555313
https://exchange.xforce.ibmcloud.com/vulnerabilities/55416
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 oracle mysql * From
(including)
5.0.0
Up to
(excluding)
5.0.90
运行在以下环境
应用 oracle mysql * From
(including)
5.1.0
Up to
(excluding)
5.1.43
运行在以下环境
应用 oracle mysql 5.0.0 -
运行在以下环境
应用 wolfssl yassl * Up to
(excluding)
1.9.9
运行在以下环境
系统 canonical ubuntu_linux 10.04 -
运行在以下环境
系统 canonical ubuntu_linux 10.10 -
运行在以下环境
系统 canonical ubuntu_linux 11.04 -
运行在以下环境
系统 canonical ubuntu_linux 11.10 -
运行在以下环境
系统 canonical ubuntu_linux 6.06 -
运行在以下环境
系统 canonical ubuntu_linux 8.04 -
运行在以下环境
系统 canonical ubuntu_linux 8.10 -
运行在以下环境
系统 canonical ubuntu_linux 9.04 -
运行在以下环境
系统 canonical ubuntu_linux 9.10 -
运行在以下环境
系统 debian debian_linux 4.0 -
运行在以下环境
系统 debian debian_linux 5.0 -
运行在以下环境
系统 debian debian_linux 6.0 -
运行在以下环境
系统 suse_11 libmysqlclient15 * Up to
(excluding)
5.0.67-13.20
阿里云评分
6.3
  • 攻击路径
    本地
  • 攻击复杂度
    复杂
  • 权限要求
    无需权限
  • 影响范围
    越权影响
  • EXP成熟度
    POC 已公开
  • 补丁情况
    官方补丁
  • 数据保密性
    数据泄露
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-787 跨界内存写
阿里云安全产品覆盖情况