CVE-2005-0227
CVSS4.3
发布时间 :2005-05-02 00:00:00
修订时间 :2016-10-17 23:08:49
NMCOS    

[原文]PostgreSQL (pgsql) 7.4.x, 7.2.x, and other versions allows local users to load arbitrary shared libraries and execute code via the LOAD extension.


[CNNVD]PostgreSQL LOAD Extension本地提权漏洞(CNNVD-200505-115)

        PostgreSQL (pgsql) 7.4.x, 7.2.x以及其他的版本,允许本地用户通过LOAD extension来加载任意共享的库并执行代码。

- CVSS (基础分值)

CVSS分值: 4.3 [中等(MEDIUM)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: SINGLE_INSTANCE [--]

- CWE (弱点类目)

CWE-94 [对生成代码的控制不恰当(代码注入)]

- CPE (受影响的平台与产品)

cpe:/a:postgresql:postgresql:7.2.2
cpe:/a:postgresql:postgresql:7.2.1
cpe:/a:postgresql:postgresql:7.2.6
cpe:/a:postgresql:postgresql:7.4.4PostgreSQL PostgreSQL 7.4.4
cpe:/a:postgresql:postgresql:7.2.5
cpe:/a:postgresql:postgresql:7.4.3PostgreSQL PostgreSQL 7.4.3
cpe:/a:postgresql:postgresql:7.2.4
cpe:/a:postgresql:postgresql:7.4.2PostgreSQL PostgreSQL 7.4.2
cpe:/a:postgresql:postgresql:7.2.3
cpe:/a:postgresql:postgresql:7.4.1PostgreSQL PostgreSQL 7.4.1
cpe:/a:postgresql:postgresql:7.4.7PostgreSQL PostgreSQL 7.4.7
cpe:/a:postgresql:postgresql:7.4.6PostgreSQL PostgreSQL 7.4.6
cpe:/a:postgresql:postgresql:7.2.7
cpe:/a:postgresql:postgresql:7.4.5PostgreSQL PostgreSQL 7.4.5

- OVAL (用于检测的技术细节)

oval:org.mitre.oval:def:10234Buffer overflow in the readline function in util/texindex.c, as used by the (1) texi2dvi and (2) texindex commands, in texinfo 4.8 and earli...
*OVAL详细的描述了检测该漏洞的方法,你可以从相关的OVAL定义中找到更多检测该漏洞的技术细节。

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0227
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-0227
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200505-115
(官方数据源) CNNVD

- 其它链接及资源

http://archives.postgresql.org/pgsql-announce/2005-02/msg00000.php
(PATCH)  MLIST  [pgsql-announce] 20050201 PostgreSQL Security Release
http://archives.postgresql.org/pgsql-bugs/2005-01/msg00269.php
(VENDOR_ADVISORY)  MLIST  [pgsql-bugs] 20050121 Privilege escalation via LOAD
http://marc.info/?l=bugtraq&m=110726899107148&w=2
(UNKNOWN)  BUGTRAQ  20050201 [USN-71-1] PostgreSQL vulnerability
http://security.gentoo.org/glsa/glsa-200502-08.xml
(PATCH)  GENTOO  200502-08
http://www.debian.org/security/2005/dsa-668
(VENDOR_ADVISORY)  DEBIAN  DSA-668
http://www.mandriva.com/security/advisories?name=MDKSA-2005:040
(UNKNOWN)  MANDRAKE  MDKSA-2005:040
http://www.novell.com/linux/security/advisories/2005_36_sudo.html
(UNKNOWN)  SUSE  SUSE-SA:2005:036
http://www.redhat.com/support/errata/RHSA-2005-138.html
(VENDOR_ADVISORY)  REDHAT  RHSA-2005:138
http://www.redhat.com/support/errata/RHSA-2005-150.html
(VENDOR_ADVISORY)  REDHAT  RHSA-2005:150
http://www.securityfocus.com/bid/12411
(UNKNOWN)  BID  12411
http://www.trustix.org/errata/2005/0003/
(VENDOR_ADVISORY)  TRUSTIX  2005-0003

- 漏洞信息

PostgreSQL LOAD Extension本地提权漏洞
中危 访问验证错误
2005-05-02 00:00:00 2005-10-20 00:00:00
本地  
        PostgreSQL (pgsql) 7.4.x, 7.2.x以及其他的版本,允许本地用户通过LOAD extension来加载任意共享的库并执行代码。

- 公告与补丁

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

- 漏洞信息

13354
PostgreSQL LOAD Arbitrary Command Execution

- 漏洞描述

Unknown or Incomplete

- 时间线

2005-01-31 Unknow
Unknow Unknow

- 解决方案

Upgrade to version 8.0.1 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

PostgreSQL LOAD Extension Local Privilege Escalation Vulnerability
Access Validation Error 12411
No Yes
2005-02-01 12:00:00 2007-02-15 11:37:00
John Heasman is credited with the discovery of this issue.

- 受影响的程序版本

Trustix Secure Linux 2.2
Trustix Secure Linux 2.1
Trustix Secure Linux 1.5
Trustix Secure Enterprise Linux 2.0
SGI ProPack 3.0
S.u.S.E. Linux Personal 9.2 x86_64
S.u.S.E. Linux Personal 9.2
S.u.S.E. Linux Personal 9.1 x86_64
S.u.S.E. Linux Personal 9.1
S.u.S.E. Linux Personal 9.0 x86_64
S.u.S.E. Linux Personal 9.0
S.u.S.E. Linux Personal 8.2
S.u.S.E. Linux 8.1
RedHat Enterprise Linux WS 2.1 IA64
RedHat Enterprise Linux WS 2.1
RedHat Enterprise Linux ES 2.1 IA64
RedHat Enterprise Linux ES 2.1
RedHat Advanced Workstation for the Itanium Processor 2.1 IA64
RedHat Advanced Workstation for the Itanium Processor 2.1
Red Hat Fedora Core3
Red Hat Fedora Core2
Red Hat Enterprise Linux AS 2.1 IA64
Red Hat Enterprise Linux AS 2.1
PostgreSQL PostgreSQL 8.0
+ Trustix Secure Linux 2.2
PostgreSQL PostgreSQL 7.4.6
+ Trustix Secure Linux 2.1
PostgreSQL PostgreSQL 7.4.5
+ Turbolinux Appliance Server 1.0 Workgroup Edition
+ Turbolinux Appliance Server 1.0 Hosting Edition
+ Turbolinux Appliance Server Hosting Edition 1.0
+ Turbolinux Appliance Server Workgroup Edition 1.0
+ Turbolinux Home
+ Turbolinux Turbolinux Desktop 10.0
+ Turbolinux Turbolinux Server 10.0
+ Turbolinux Turbolinux Server 9.0
+ Turbolinux Turbolinux Server 8.0
+ Turbolinux Turbolinux Server 7.0
+ Turbolinux Turbolinux Workstation 8.0
+ Turbolinux Turbolinux Workstation 7.0
+ Ubuntu Ubuntu Linux 4.1 ppc
+ Ubuntu Ubuntu Linux 4.1 ia64
+ Ubuntu Ubuntu Linux 4.1 ia32
PostgreSQL PostgreSQL 7.4.3
PostgreSQL PostgreSQL 7.4
PostgreSQL PostgreSQL 7.3.4
+ OpenPKG OpenPKG Current
PostgreSQL PostgreSQL 7.3.3
+ OpenPKG OpenPKG Current
PostgreSQL PostgreSQL 7.3.2
+ Conectiva Linux 9.0
PostgreSQL PostgreSQL 7.3.1
+ OpenPKG OpenPKG 1.2
PostgreSQL PostgreSQL 7.3
PostgreSQL PostgreSQL 7.2.4
+ RedHat Linux 8.0
+ RedHat Linux 7.3
PostgreSQL PostgreSQL 7.2.3
PostgreSQL PostgreSQL 7.2.2
+ Mandriva Linux Mandrake 9.0
+ Turbolinux Turbolinux Server 8.0
+ Turbolinux Turbolinux Server 7.0
+ Turbolinux Turbolinux Workstation 8.0
PostgreSQL PostgreSQL 7.2.1
+ Conectiva Linux 8.0
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0
+ Gentoo Linux 0.7
+ Gentoo Linux 0.5
PostgreSQL PostgreSQL 7.2
+ Mandriva Linux Mandrake 8.2 ppc
+ Mandriva Linux Mandrake 8.2
+ S.u.S.E. Linux 8.0 i386
+ S.u.S.E. Linux 8.0
PostgreSQL PostgreSQL 7.1.3
+ Conectiva Linux 7.0
+ RedHat Linux 7.2
+ S.u.S.E. Linux 7.3 sparc
+ S.u.S.E. Linux 7.3 ppc
+ S.u.S.E. Linux 7.3 i386
+ S.u.S.E. Linux 7.3
+ Trustix Secure Linux 1.5
+ Trustix Secure Linux 1.2
+ Trustix Secure Linux 1.1
PostgreSQL PostgreSQL 7.1.2
+ Mandriva Linux Mandrake 8.1 ia64
+ Mandriva Linux Mandrake 8.1
PostgreSQL PostgreSQL 7.1.1
PostgreSQL PostgreSQL 7.1
PostgreSQL PostgreSQL 7.0.3
+ Conectiva Linux 6.0
+ Mandriva Linux Mandrake 8.0 ppc
+ Mandriva Linux Mandrake 8.0
+ S.u.S.E. Linux 7.1 x86
+ S.u.S.E. Linux 7.1 sparc
+ S.u.S.E. Linux 7.1 ppc
+ S.u.S.E. Linux 7.1 alpha
+ S.u.S.E. Linux 7.1
PostgreSQL PostgreSQL 7.0.2
+ MandrakeSoft Single Network Firewall 7.2
+ Mandriva Linux Mandrake 7.2
+ Wirex Immunix OS 7.0
+ Wirex Immunix OS 7+
PostgreSQL PostgreSQL 6.5.3
+ Wirex Immunix OS 6.2
PostgreSQL PostgreSQL 6.3.2
Gentoo Linux
Conectiva Linux 10.0
PostgreSQL PostgreSQL 8.0.1
PostgreSQL PostgreSQL 7.4.7
+ Gentoo Linux
+ S.u.S.E. Linux Personal 9.2 x86_64
+ S.u.S.E. Linux Personal 9.2
+ S.u.S.E. Linux Personal 9.1 x86_64
+ S.u.S.E. Linux Personal 9.1
+ Trustix Secure Linux 2.1
+ Ubuntu Ubuntu Linux 5.0 4 powerpc
+ Ubuntu Ubuntu Linux 5.0 4 i386
+ Ubuntu Ubuntu Linux 5.0 4 amd64
PostgreSQL PostgreSQL 7.3.9
+ Red Hat Enterprise Linux AS 3
+ RedHat Desktop 3.0
+ RedHat Enterprise Linux ES 3
+ RedHat Enterprise Linux WS 3
+ S.u.S.E. Linux Personal 9.0 x86_64
+ S.u.S.E. Linux Personal 9.0
+ S.u.S.E. Linux Personal 8.2
PostgreSQL PostgreSQL 7.2.7
+ S.u.S.E. Linux 8.1

- 不受影响的程序版本

PostgreSQL PostgreSQL 8.0.1
PostgreSQL PostgreSQL 7.4.7
+ Gentoo Linux
+ S.u.S.E. Linux Personal 9.2 x86_64
+ S.u.S.E. Linux Personal 9.2
+ S.u.S.E. Linux Personal 9.1 x86_64
+ S.u.S.E. Linux Personal 9.1
+ Trustix Secure Linux 2.1
+ Ubuntu Ubuntu Linux 5.0 4 powerpc
+ Ubuntu Ubuntu Linux 5.0 4 i386
+ Ubuntu Ubuntu Linux 5.0 4 amd64
PostgreSQL PostgreSQL 7.3.9
+ Red Hat Enterprise Linux AS 3
+ RedHat Desktop 3.0
+ RedHat Enterprise Linux ES 3
+ RedHat Enterprise Linux WS 3
+ S.u.S.E. Linux Personal 9.0 x86_64
+ S.u.S.E. Linux Personal 9.0
+ S.u.S.E. Linux Personal 8.2
PostgreSQL PostgreSQL 7.2.7
+ S.u.S.E. Linux 8.1

- 漏洞讨论

A local privilege-escalation vulnerability affects PostgreSQL because it fails to restrict critical functionality to privileged users.

An attacker may leverage this issue to execute arbitrary code with the privileges of the affected database, potentially facilitating privilege escalation.

- 漏洞利用

No exploit is required to leverage this issue.

- 解决方案

The vendor has released updates dealing with this issue. Please see the references for more information.


Red Hat Fedora Core2

Red Hat Fedora Core3

SGI ProPack 3.0

PostgreSQL PostgreSQL 6.3.2

PostgreSQL PostgreSQL 6.5.3

PostgreSQL PostgreSQL 7.0.2

PostgreSQL PostgreSQL 7.0.3

PostgreSQL PostgreSQL 7.1

PostgreSQL PostgreSQL 7.1.1

PostgreSQL PostgreSQL 7.1.2

PostgreSQL PostgreSQL 7.1.3

PostgreSQL PostgreSQL 7.2

PostgreSQL PostgreSQL 7.2.1

PostgreSQL PostgreSQL 7.2.2

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站