高危 PostgreSQL 拒绝服务漏洞

CVE编号

CVE-2007-4772

利用情况

POC 已公开

补丁情况

官方补丁

披露时间

2008-01-10
漏洞描述
PostgreSQL是PostgreSQL开发组所研发的一套自由的对象关系型数据库管理系统。该系统支持大部分SQL标准并且提供了许多其他特性,例如外键、触发器、视图等。 使用在PostgreSQL 8.2.6之前的8.2版本,8.1.11之前的8.1版本,8.0.15之前的8.0版本,7.4.19之前的7.4版本中的TCL 8.4.17之前版版本中的正则表达式解析器中存在漏洞。通过特制的正则表达式,上下文相关的攻击者利用该漏洞导致拒绝服务(无限循环)。

解决建议

目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接: http://www.postgresql.org/


参考链接
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01420154
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00000.html
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00049.html
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00052.html
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00054.html
http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00056.html
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00016.html
http://rhn.redhat.com/errata/RHSA-2013-0122.html
http://secunia.com/advisories/28359
http://secunia.com/advisories/28376
http://secunia.com/advisories/28437
http://secunia.com/advisories/28438
http://secunia.com/advisories/28454
http://secunia.com/advisories/28455
http://secunia.com/advisories/28464
http://secunia.com/advisories/28477
http://secunia.com/advisories/28479
http://secunia.com/advisories/28679
http://secunia.com/advisories/28698
http://secunia.com/advisories/29070
http://secunia.com/advisories/29248
http://secunia.com/advisories/29638
http://secunia.com/advisories/30535
http://security.gentoo.org/glsa/glsa-200801-15.xml
http://securitytracker.com/id?1019157
http://sourceforge.net/project/shownotes.php?release_id=565440&group_id=10894
http://sourceforge.net/tracker/index.php?func=detail&aid=1810264&group_id=108...
http://sunsolve.sun.com/search/document.do?assetkey=1-26-103197-1
http://sunsolve.sun.com/search/document.do?assetkey=1-66-200559-1
http://www.debian.org/security/2008/dsa-1460
http://www.debian.org/security/2008/dsa-1463
http://www.mandriva.com/security/advisories?name=MDVSA-2008:004
http://www.mandriva.com/security/advisories?name=MDVSA-2008:059
http://www.postgresql.org/about/news.905
http://www.redhat.com/support/errata/RHSA-2008-0038.html
http://www.redhat.com/support/errata/RHSA-2008-0040.html
http://www.redhat.com/support/errata/RHSA-2008-0134.html
http://www.securityfocus.com/archive/1/485864/100/0/threaded
http://www.securityfocus.com/archive/1/486407/100/0/threaded
http://www.securityfocus.com/archive/1/493080/100/0/threaded
http://www.securityfocus.com/bid/27163
http://www.vmware.com/security/advisories/VMSA-2008-0009.html
http://www.vupen.com/english/advisories/2008/0061
http://www.vupen.com/english/advisories/2008/0109
http://www.vupen.com/english/advisories/2008/1071/references
http://www.vupen.com/english/advisories/2008/1744
https://exchange.xforce.ibmcloud.com/vulnerabilities/39497
https://issues.rpath.com/browse/RPL-1768
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.ova...
https://usn.ubuntu.com/568-1/
https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00397.html
https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00469.html
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 postgresql postgresql * From
(including)
7.4
Up to
(excluding)
7.4.19
运行在以下环境
应用 postgresql postgresql * From
(including)
8.0
Up to
(excluding)
8.0.15
运行在以下环境
应用 postgresql postgresql * From
(including)
8.1
Up to
(excluding)
8.1.11
运行在以下环境
应用 postgresql postgresql * From
(including)
8.2
Up to
(excluding)
8.2.6
运行在以下环境
应用 tcl tcl/tk * Up to
(excluding)
8.4.17
运行在以下环境
系统 canonical ubuntu_linux 6.06 -
运行在以下环境
系统 canonical ubuntu_linux 6.10 -
运行在以下环境
系统 canonical ubuntu_linux 7.04 -
运行在以下环境
系统 canonical ubuntu_linux 7.10 -
运行在以下环境
系统 centos_5 tcl * Up to
(excluding)
8.1.11-1.el5_1.1
运行在以下环境
系统 debian debian_linux 3.1 -
运行在以下环境
系统 opensuse_10.1 postgresql * Up to
(excluding)
8.1.11-0.2
运行在以下环境
系统 opensuse_10.2 postgresql * Up to
(excluding)
8.1.11-0.1
运行在以下环境
系统 opensuse_10.3 postgresql * Up to
(excluding)
8.2.6-0.1
运行在以下环境
系统 opensuse_13.2 postgresql93-libs-debugsource * Up to
(excluding)
9.3.11-2.10.1
运行在以下环境
系统 opensuse_Leap_42.1 postgresql93-devel * Up to
(excluding)
9.4.6-4.1
运行在以下环境
系统 oracle_5 oraclelinux-release * Up to
(excluding)
8.1.11-1.el5_1.1
运行在以下环境
系统 redhat_5 tcl * Up to
(excluding)
0:8.4.13-6.el5
运行在以下环境
系统 suse_11_SP4 libpq5 * Up to
(excluding)
9.4.6-0.14.3
运行在以下环境
系统 suse_12 libecpg6 * Up to
(excluding)
9.4.6-7.2
运行在以下环境
系统 suse_12_SP1 libpq5 * Up to
(excluding)
9.4.6-7.2
运行在以下环境
系统 ubuntu_12.04.5_lts tcl8.4 * Up to
(excluding)
8.4.19-2
阿里云评分
7.7
  • 攻击路径
    远程
  • 攻击复杂度
    容易
  • 权限要求
    无需权限
  • 影响范围
    全局影响
  • EXP成熟度
    POC 已公开
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    DoS
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-399 资源管理错误
阿里云安全产品覆盖情况