PostgreSQL DBLink functions privilege escalation

postgresql-dblink-privilege-escalation (39500) The risk level is classified as HighHigh Risk

Description:

PostgreSQL could allow a remote attacker to gain elevated privileges, caused by an unspecified vulnerability when DBLink functions are combined with local trust or ident authentication. An attacker could exploit this vulnerability using unknown attack vectors to gain superuser privileges.

Platforms Affected:

  • Canonical, Ubuntu 6.06 LTS
  • Canonical, Ubuntu 6.10
  • Canonical, Ubuntu 7.04
  • Canonical, Ubuntu 7.10
  • Debian, Debian Linux 3.1
  • Debian, Debian Linux 4.0
  • Gentoo, Linux
  • HP, Internet Express 6.6
  • HP, Internet Express 6.7
  • MandrakeSoft, Mandrake Linux 2007
  • MandrakeSoft, Mandrake Linux 2007 X86_64
  • MandrakeSoft, Mandrake Linux 2007.1 X86_64
  • MandrakeSoft, Mandrake Linux 2007.1
  • MandrakeSoft, Mandrake Linux 2008.0
  • MandrakeSoft, Mandrake Linux 2008.0 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 4.0
  • MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
  • Novell, Linux Desktop 9
  • Novell, Linux POS 9
  • Novell, Open Enterprise Server
  • Novell, Open Enterprise Server
  • Novell, OpenSUSE 10.2
  • Novell, OpenSUSE 10.3
  • Novell, SLE SDK 10 SP1
  • Novell, SUSE Linux Enterprise Desktop 10 SP1
  • Novell, SUSE Linux Enterprise Server 10
  • Novell, SUSE Linux Enterprise Server 10 SP1
  • PostgreSQL, PostgreSQL 7.3
  • PostgreSQL, PostgreSQL 7.3.1
  • PostgreSQL, PostgreSQL 7.3.10
  • PostgreSQL, PostgreSQL 7.3.11
  • PostgreSQL, PostgreSQL 7.3.12
  • PostgreSQL, PostgreSQL 7.3.13
  • PostgreSQL, PostgreSQL 7.3.14
  • PostgreSQL, PostgreSQL 7.3.15
  • PostgreSQL, PostgreSQL 7.3.16
  • PostgreSQL, PostgreSQL 7.3.19
  • PostgreSQL, PostgreSQL 7.3.2
  • PostgreSQL, PostgreSQL 7.3.3
  • PostgreSQL, PostgreSQL 7.3.4
  • PostgreSQL, PostgreSQL 7.3.6
  • PostgreSQL, PostgreSQL 7.3.8
  • PostgreSQL, PostgreSQL 7.3.9
  • PostgreSQL, PostgreSQL 7.4
  • PostgreSQL, PostgreSQL 7.4.1
  • PostgreSQL, PostgreSQL 7.4.10
  • PostgreSQL, PostgreSQL 7.4.11
  • PostgreSQL, PostgreSQL 7.4.12
  • PostgreSQL, PostgreSQL 7.4.13
  • PostgreSQL, PostgreSQL 7.4.14
  • PostgreSQL, PostgreSQL 7.4.16
  • PostgreSQL, PostgreSQL 7.4.17
  • PostgreSQL, PostgreSQL 7.4.2
  • PostgreSQL, PostgreSQL 7.4.3
  • PostgreSQL, PostgreSQL 7.4.4
  • PostgreSQL, PostgreSQL 7.4.5
  • PostgreSQL, PostgreSQL 7.4.6
  • PostgreSQL, PostgreSQL 7.4.7
  • PostgreSQL, PostgreSQL 7.4.8
  • PostgreSQL, PostgreSQL 7.4.9
  • PostgreSQL, PostgreSQL 8.0
  • PostgreSQL, PostgreSQL 8.0.1
  • PostgreSQL, PostgreSQL 8.0.11
  • PostgreSQL, PostgreSQL 8.0.13
  • PostgreSQL, PostgreSQL 8.0.2
  • PostgreSQL, PostgreSQL 8.0.3
  • PostgreSQL, PostgreSQL 8.0.317
  • PostgreSQL, PostgreSQL 8.0.4
  • PostgreSQL, PostgreSQL 8.0.5
  • PostgreSQL, PostgreSQL 8.0.7
  • PostgreSQL, PostgreSQL 8.0.8
  • PostgreSQL, PostgreSQL 8.0.9
  • PostgreSQL, PostgreSQL 8.1.1
  • PostgreSQL, PostgreSQL 8.1.3
  • PostgreSQL, PostgreSQL 8.1.4
  • PostgreSQL, PostgreSQL 8.1.5
  • PostgreSQL, PostgreSQL 8.1.7
  • PostgreSQL, PostgreSQL 8.1.8
  • PostgreSQL, PostgreSQL 8.1.9
  • PostgreSQL, PostgreSQL 8.2
  • PostgreSQL, PostgreSQL 8.2.2
  • PostgreSQL, PostgreSQL 8.2.3
  • PostgreSQL, PostgreSQL 8.2.4
  • RedHat, Application Stack v1 for EL AS 4
  • RedHat, Application Stack v1 for EL ES 4
  • RedHat, Enterprise Linux 3 Desktop
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Enterprise Linux 3 WS
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Enterprise Linux 4 Desktop
  • RedHat, Enterprise Linux 4 ES
  • RedHat, Enterprise Linux 4 WS
  • RedHat, Enterprise Linux 4 AS
  • RedHat, Enterprise Linux 5 Client Workstation
  • RedHat, Enterprise Linux 5 Client
  • RedHat, Enterprise Linux 5
  • RedHat, RHEL Application Stack 2
  • Sun, Solaris 10 SPARC
  • Sun, Solaris 10 x86
  • SuSE, SLE SDK 10
  • SuSE, SuSE Linux Enterprise Server 9.0
  • SuSE, SuSE SLES 9
  • Turbolinux, Turbolinux 10 Server
  • Turbolinux, Turbolinux 10 Server x64 Ed
  • Turbolinux, Turbolinux 11 Server
  • Turbolinux, Turbolinux 11 Server x64 Ed
  • Turbolinux, Turbolinux FUJI
  • Turbolinux, Turbolinux Multimedia
  • Turbolinux, Turbolinux Personal
  • Turbolinux, Turbolinux Appliance Server 1.0 Hosting Ed
  • Turbolinux, Turbolinux Appliance Server 1.0 Workgroup Ed
  • Turbolinux, Turbolinux Appliance Server 2.0

Remedy:

Refer to the PostgreSQL Web site 2008-01-07 Cumulative Security Update Release for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Apply the appropriate update for your system. See References.

Consequences:

Gain Privileges

References:

  • HPSBTU02325 SSRT080006 rev.1, HP Internet Express for Tru64 UNIX running PostgreSQL, Arbitrary Code Execution, Privilege Elevation, or Denial of Service (DoS) at http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01420154.
  • PostgreSQL Web site, 2008-01-07 Cumulative Security Update Release at http://www.postgresql.org/about/news.905.
  • Sun Alert ID: 103197, Multiple Security Vulnerabilities in PostgreSQL Shipped with Solaris 10 May Allow Elevation of Privileges or Denial of Service (DoS) at http://sunsolve.sun.com/search/document.do?assetkey=1-26-103197-1.
  • ASA-2008-025: PostgreSQL security update (RHSA-2008-0039)
  • ASA-2008-033: PostgreSQL security update (RHSA-2008-0038)
  • ASA-2008-046: Multiple Security Vulnerabilities in PostgreSQL Shipped with Solaris 10 May Allow Elevation of Privileges or Denial of Service (DoS) (Sun 103197)
  • ASA-2008-052: postgresql security update (RHSA-2008-0040)
  • ASA-2008-074: Multiple Security Vulnerabilities in PostgreSQL Shipped with Solaris 10 May Allow Elevation of Privileges or Denial of Service (DoS) (Sun 200559)
  • BID-27163: PostgreSQL Multiple Privilege Escalation and Denial of Service Vulnerabilities
  • CVE-2007-6601: The DBLink module in PostgreSQL 8.2 before 8.2.6, 8.1 before 8.1.11, 8.0 before 8.0.15, 7.4 before 7.4.19, and 7.3 before 7.3.21, when local trust or ident authentication is used, allows remote attackers to gain privileges via unspecified vectors. NOTE: this issue exists because of an incomplete fix for CVE-2007-3278.
  • DSA-1460: postgresql-8.1 -- several vulnerabilities
  • DSA-1463: postgresql-7.4 -- several vulnerabilities
  • FrSIRT/ADV-2008-0061: PostgreSQL Privilege Escalation and Denial of Service Vulnerabilities
  • FrSIRT/ADV-2008-0109: Sun Solaris PostgreSQL Privilege Escalation and Denial of Service Issues
  • FrSIRT/ADV-2008-1071: HP Internet Express for Tru64 UNIX PostgreSQL Vulnerabilities
  • GLSA-200801-15: PostgreSQL: Multiple vulnerabilities
  • MDVSA-2008:004: Updated postgresql packages fix denial of service and privilege escalation issues
  • RHSA-2008-0038: Moderate: postgresql security update
  • RHSA-2008-0039: Moderate: postgresql security update
  • RHSA-2008-0040: Moderate: postgresql security update
  • SA28359: PostgreSQL Multiple Vulnerabilities
  • SA28437: Sun Solaris 10 PostgreSQL Multiple Vulnerabilities
  • SA29638: HP Internet Express for Tru64 UNIX Multiple PostgreSQL Vulnerabilities
  • SECTRACK ID: 1019157: PostgreSQL Bugs Let Remote Authenticated Users Deny Service and Obtain Elevated Privileges
  • SUSE-SA:2008:005: PostgreSQL security problems

Reported:

Jan 06, 2008

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page