中危 PHP5.2.1gd扩展名-‘.wbmp’文件整数溢出漏洞

CVE编号

CVE-2007-1001

利用情况

POC 已公开

补丁情况

没有补丁

披露时间

2007-04-06
漏洞描述
(1)createwbmp中的多个整数溢出和(2)PHP 4.0.0到4.4.6和5.0.0到5.2.1中GD库(libgd)中wbmp.c中的readwbmp函数允许依赖于上下文的攻击者执行通过具有大宽度或高度值的无线位图(WBMP)图像的任意代码。

解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/wbmp.c?r1=1.2.4.1&r2=1.2.4.1.8.1
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/wbmp.c?revision=1.2.4.1.8....
http://docs.info.apple.com/article.html?artnum=306172
http://ifsec.blogspot.com/2007/04/php-521-wbmp-file-handling-integer.html
http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html
http://rhn.redhat.com/errata/RHSA-2007-0155.html
http://secunia.com/advisories/24814
http://secunia.com/advisories/24909
http://secunia.com/advisories/24924
http://secunia.com/advisories/24945
http://secunia.com/advisories/24965
http://secunia.com/advisories/25056
http://secunia.com/advisories/25151
http://secunia.com/advisories/25445
http://secunia.com/advisories/26235
http://security.gentoo.org/glsa/glsa-200705-19.xml
http://us2.php.net/releases/4_4_7.php
http://us2.php.net/releases/5_2_2.php
http://www.mandriva.com/security/advisories?name=MDKSA-2007:087
http://www.mandriva.com/security/advisories?name=MDKSA-2007:088
http://www.mandriva.com/security/advisories?name=MDKSA-2007:089
http://www.mandriva.com/security/advisories?name=MDKSA-2007:090
http://www.novell.com/linux/security/advisories/2007_32_php.html
http://www.redhat.com/support/errata/RHSA-2007-0153.html
http://www.redhat.com/support/errata/RHSA-2007-0162.html
http://www.securityfocus.com/archive/1/464957/100/0/threaded
http://www.securityfocus.com/archive/1/466166/100/0/threaded
http://www.securityfocus.com/bid/23357
http://www.securityfocus.com/bid/25159
http://www.slackware.org/security/viewer.php?l=slackware-security&y=2007&m=sl...
http://www.vupen.com/english/advisories/2007/1269
http://www.vupen.com/english/advisories/2007/2732
https://exchange.xforce.ibmcloud.com/vulnerabilities/33453
https://issues.rpath.com/browse/RPL-1268
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.ova...
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 php php 4.0 -
运行在以下环境
应用 php php 4.0.0 -
运行在以下环境
应用 php php 4.0.1 -
运行在以下环境
应用 php php 4.0.2 -
运行在以下环境
应用 php php 4.0.3 -
运行在以下环境
应用 php php 4.0.4 -
运行在以下环境
应用 php php 4.0.5 -
运行在以下环境
应用 php php 4.0.6 -
运行在以下环境
应用 php php 4.0.7 -
运行在以下环境
应用 php php 4.1.0 -
运行在以下环境
应用 php php 4.1.1 -
运行在以下环境
应用 php php 4.1.2 -
运行在以下环境
应用 php php 4.2 -
运行在以下环境
应用 php php 4.2.0 -
运行在以下环境
应用 php php 4.2.1 -
运行在以下环境
应用 php php 4.2.2 -
运行在以下环境
应用 php php 4.2.3 -
运行在以下环境
应用 php php 4.3.0 -
运行在以下环境
应用 php php 4.3.1 -
运行在以下环境
应用 php php 4.3.10 -
运行在以下环境
应用 php php 4.3.11 -
运行在以下环境
应用 php php 4.3.2 -
运行在以下环境
应用 php php 4.3.3 -
运行在以下环境
应用 php php 4.3.4 -
运行在以下环境
应用 php php 4.3.5 -
运行在以下环境
应用 php php 4.3.6 -
运行在以下环境
应用 php php 4.3.7 -
运行在以下环境
应用 php php 4.3.8 -
运行在以下环境
应用 php php 4.3.9 -
运行在以下环境
应用 php php 4.4.0 -
运行在以下环境
应用 php php 4.4.1 -
运行在以下环境
应用 php php 4.4.2 -
运行在以下环境
应用 php php 4.4.3 -
运行在以下环境
应用 php php 4.4.4 -
运行在以下环境
应用 php php 4.4.5 -
运行在以下环境
应用 php php 4.4.6 -
运行在以下环境
应用 php php 5.0 -
运行在以下环境
应用 php php 5.0.0 -
运行在以下环境
应用 php php 5.0.1 -
运行在以下环境
应用 php php 5.0.2 -
运行在以下环境
应用 php php 5.0.3 -
运行在以下环境
应用 php php 5.0.4 -
运行在以下环境
应用 php php 5.0.5 -
运行在以下环境
应用 php php 5.1.0 -
运行在以下环境
应用 php php 5.1.1 -
运行在以下环境
应用 php php 5.1.2 -
运行在以下环境
应用 php php 5.1.3 -
运行在以下环境
应用 php php 5.1.4 -
运行在以下环境
应用 php php 5.1.5 -
运行在以下环境
应用 php php 5.1.6 -
运行在以下环境
应用 php php 5.2.0 -
运行在以下环境
应用 php php 5.2.1 -
运行在以下环境
系统 centos_5 php-pdo * Up to
(excluding)
5.1.6-11.el5.x86_64.rpm
运行在以下环境
系统 debian_10 libgd2 * Up to
(excluding)
2.0.33-1
运行在以下环境
系统 debian_11 libgd2 * Up to
(excluding)
2.0.33-1
运行在以下环境
系统 debian_12 libgd2 * Up to
(excluding)
2.0.33-1
运行在以下环境
系统 redhat_5 php * Up to
(excluding)
0:5.1.6-11.el5
阿里云评分
6.7
  • 攻击路径
    远程
  • 攻击复杂度
    复杂
  • 权限要求
    无需权限
  • 影响范围
    全局影响
  • EXP成熟度
    POC 已公开
  • 补丁情况
    没有补丁
  • 数据保密性
    数据泄露
  • 数据完整性
    传输被破坏
  • 服务器危害
    DoS
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-189 数值错误
阿里云安全产品覆盖情况