Executive Summary

Summary
Title New PostgreSQL 7.4 packages fix privilege escalation
Informations
Name DSA-1311 First vendor Publication 2007-06-17
Vendor Debian Last vendor Modification 2007-06-17
Severity (Vendor) N/A Revision 1

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:S/C:P/I:P/A:P)
Cvss Base Score 6 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Medium
Cvss Expoit Score 6.8 Authentication Requires single instance
Calculate full CVSS 2.0 Vectors scores

Detail

It was discovered that the PostgreSQL database performs insufficient validation of variables passed to privileged SQL statement called "security definers", which could lead to SQL privilege escalation.

For the oldstable distribution (sarge) this problem has been fixed in version 7.4.7-6sarge5. A powerpc build is not yet available due to problems with the build host. It will be provided later.

For the stable distribution (etch) this problem has been fixed in version 7.4.17-0etch1.

For the unstable distribution (sid) this problem has been fixed in version 7.4.17-1.

We recommend that you upgrade your PostgreSQL packages.

Original Source

Url : http://www.debian.org/security/2007/dsa-1311

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-264 Permissions, Privileges, and Access Controls

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:10090
 
Oval ID: oval:org.mitre.oval:def:10090
Title: Untrusted search path vulnerability in PostgreSQL before 7.3.19, 7.4.x before 7.4.17, 8.0.x before 8.0.13, 8.1.x before 8.1.9, and 8.2.x before 8.2.4 allows remote authenticated users, when permitted to call a SECURITY DEFINER function, to gain the privileges of the function owner, related to "search_path settings."
Description: Untrusted search path vulnerability in PostgreSQL before 7.3.19, 7.4.x before 7.4.17, 8.0.x before 8.0.13, 8.1.x before 8.1.9, and 8.2.x before 8.2.4 allows remote authenticated users, when permitted to call a SECURITY DEFINER function, to gain the privileges of the function owner, related to "search_path settings."
Family: unix Class: vulnerability
Reference(s): CVE-2007-2138
Version: 5
Platform(s): Red Hat Enterprise Linux 3
CentOS Linux 3
Red Hat Enterprise Linux 4
CentOS Linux 4
Oracle Linux 4
Red Hat Enterprise Linux 5
CentOS Linux 5
Oracle Linux 5
Product(s):
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:20469
 
Oval ID: oval:org.mitre.oval:def:20469
Title: DSA-1309-1 postgresql-8.1
Description: It was discovered that the PostgreSQL database performs insufficient validation of variables passed to privileged SQL statements, so called <q>security definers</q>, which could lead to SQL privilege escalation.
Family: unix Class: patch
Reference(s): DSA-1309-1
CVE-2007-2138
Version: 5
Platform(s): Debian GNU/Linux 4.0
Product(s): postgresql-8.1
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:20481
 
Oval ID: oval:org.mitre.oval:def:20481
Title: DSA-1311-1 postgresql-7.4
Description: It was discovered that the PostgreSQL database performs insufficient validation of variables passed to privileged SQL statement called <q>security definers</q>, which could lead to SQL privilege escalation.
Family: unix Class: patch
Reference(s): DSA-1311-1
CVE-2007-2138
Version: 5
Platform(s): Debian GNU/Linux 4.0
Product(s): postgresql-7.4
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:21808
 
Oval ID: oval:org.mitre.oval:def:21808
Title: ELSA-2007:0336: postgresql security update (Moderate)
Description: Untrusted search path vulnerability in PostgreSQL before 7.3.19, 7.4.x before 7.4.17, 8.0.x before 8.0.13, 8.1.x before 8.1.9, and 8.2.x before 8.2.4 allows remote authenticated users, when permitted to call a SECURITY DEFINER function, to gain the privileges of the function owner, related to "search_path settings."
Family: unix Class: patch
Reference(s): ELSA-2007:0336-02
CVE-2007-2138
Version: 6
Platform(s): Oracle Linux 5
Product(s): rh-postgresql
postgresql
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 156
Os 3
Os 2

OpenVAS Exploits

Date Description
2009-04-09 Name : Mandriva Update for postgresql MDKSA-2007:094 (postgresql)
File : nvt/gb_mandriva_MDKSA_2007_094.nasl
2009-03-23 Name : Ubuntu Update for postgresql-8.1, postgresql-8.2 vulnerability USN-454-1
File : nvt/gb_ubuntu_USN_454_1.nasl
2009-02-27 Name : Fedora Update for postgresql FEDORA-2007-0174
File : nvt/gb_fedora_2007_0174_postgresql_fc7.nasl
2009-02-27 Name : Fedora Update for postgresql FEDORA-2007-565
File : nvt/gb_fedora_2007_565_postgresql_fc6.nasl
2009-02-27 Name : Fedora Update for postgresql FEDORA-2007-566
File : nvt/gb_fedora_2007_566_postgresql_fc5.nasl
2009-02-17 Name : Fedora Update for postgresql FEDORA-2008-0552
File : nvt/gb_fedora_2008_0552_postgresql_fc7.nasl
2008-09-24 Name : Gentoo Security Advisory GLSA 200705-12 (postgresql)
File : nvt/glsa_200705_12.nasl
2008-01-17 Name : Debian Security Advisory DSA 1309-1 (postgresql-8.1)
File : nvt/deb_1309_1.nasl
2008-01-17 Name : Debian Security Advisory DSA 1311-1 (postgresql-7.4)
File : nvt/deb_1311_1.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
34903 PostgreSQL SECURITY DEFINER Functions Search Path Subversion Local Privilege ...

Nessus® Vulnerability Scanner

Date Description
2013-07-12 Name : The remote Oracle Linux host is missing one or more security updates.
File : oraclelinux_ELSA-2007-0336.nasl - Type : ACT_GATHER_INFO
2012-08-01 Name : The remote Scientific Linux host is missing one or more security updates.
File : sl_20070508_postgresql_on_SL4.nasl - Type : ACT_GATHER_INFO
2012-08-01 Name : The remote Scientific Linux host is missing one or more security updates.
File : sl_20070508_postgresql_on_on_SL3_0_x.nasl - Type : ACT_GATHER_INFO
2008-01-14 Name : The remote Fedora host is missing a security update.
File : fedora_2008-0552.nasl - Type : ACT_GATHER_INFO
2007-11-10 Name : The remote Ubuntu host is missing one or more security-related patches.
File : ubuntu_USN-454-1.nasl - Type : ACT_GATHER_INFO
2007-11-06 Name : The remote Fedora host is missing a security update.
File : fedora_2007-0174.nasl - Type : ACT_GATHER_INFO
2007-06-21 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-1311.nasl - Type : ACT_GATHER_INFO
2007-06-18 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-1309.nasl - Type : ACT_GATHER_INFO
2007-06-07 Name : The remote Fedora Core host is missing a security update.
File : fedora_2007-565.nasl - Type : ACT_GATHER_INFO
2007-06-07 Name : The remote Fedora Core host is missing a security update.
File : fedora_2007-566.nasl - Type : ACT_GATHER_INFO
2007-05-11 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-200705-12.nasl - Type : ACT_GATHER_INFO
2007-05-10 Name : The remote CentOS host is missing one or more security updates.
File : centos_RHSA-2007-0336.nasl - Type : ACT_GATHER_INFO
2007-05-10 Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2007-0336.nasl - Type : ACT_GATHER_INFO
2007-04-30 Name : The remote Mandrake Linux host is missing one or more security updates.
File : mandrake_MDKSA-2007-094.nasl - Type : ACT_GATHER_INFO
2007-03-18 Name : The remote host is missing Sun Security Patch number 123590-12
File : solaris10_123590.nasl - Type : ACT_GATHER_INFO
2007-03-18 Name : The remote host is missing Sun Security Patch number 123591-12
File : solaris10_x86_123591.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:26:41
  • Multiple Updates