National Cyber Awareness System
Vulnerability Summary for CVE-2007-3278
Original release date:06/19/2007
Last revised:03/08/2011
Source:
US-CERT/NIST
Overview
PostgreSQL 8.1 and probably later versions, when local trust authentication is enabled and the Database Link library (dblink) is installed, allows remote attackers to access arbitrary accounts and execute arbitrary SQL queries via a dblink host parameter that proxies the connection from 127.0.0.1.
Impact
CVSS Severity (version 2.0):
Impact Subscore:
10.0
Exploitability Subscore:
3.4
CVSS Version 2 Metrics:
Access Vector: Locally exploitable
Access Complexity: Medium
Authentication: Not required to exploit
Impact Type:Provides administrator access, Allows complete confidentiality, integrity, and availability violation; Allows unauthorized disclosure of information; Allows disruption of service
Official Statement from Red Hat (02/01/2008)
Red Hat does not consider this do be a security issue. dblink is disabled in default configuration of PostgreSQL packages as shipped with Red Hat Enterprise Linux versions 2.1, 3, 4 and 5, and it is a configuration decision whether to grant local users arbitrary access.
Fixes to correct this bug were included in PostgreSQL updates:
http:rhn.redhat.comcveCVE-2007-3278.html
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.
External Source: XF
Name: postgresql-dblink-sql-injection(35142)
External Source: VUPEN
Name: ADV-2008-1071
External Source: VUPEN
Name: ADV-2008-0109
External Source: UBUNTU
Name: USN-568-1
External Source: BUGTRAQ
Name: 20070616 Having Fun With PostgreSQL
External Source: BUGTRAQ
Name: 20070618 Re: Having Fun With PostgreSQL
External Source: REDHAT
Name: RHSA-2008:0039
External Source: REDHAT
Name: RHSA-2008:0038
External Source: MISC
Name: http://www.portcullis.co.uk/uplds/whitepapers/Having_Fun_With_PostgreSQL.pdf
External Source: MANDRIVA
Name: MDKSA-2007:188
External Source: MISC
Name: http://www.leidecker.info/pgshell/Having_Fun_With_PostgreSQL.txt
External Source: DEBIAN
Name: DSA-1463
External Source: DEBIAN
Name: DSA-1460
External Source: SUNALERT
Name: 103197
External Source: GENTOO
Name: GLSA-200801-15
External Source: SECUNIA
Name: 28679
Type: Advisory
External Source: SECUNIA
Name: 28479
Type: Advisory
External Source: SECUNIA
Name: 28477
Type: Advisory
External Source: SECUNIA
Name: 28454
Type: Advisory
External Source: SECUNIA
Name: 28445
Type: Advisory
External Source: SECUNIA
Name: 28438
Type: Advisory
External Source: SECUNIA
Name: 28437
Type: Advisory
External Source: SECUNIA
Name: 28376
Type: Advisory
External Source: OVAL
Name: oval:org.mitre.oval:def:10334
External Source: OSVDB
Name: 40899
External Source: HP
Name: SSRT080006
External Source: REDHAT
Name: RHSA-2008:0040
External Source: SUNALERT
Name: 200559
External Source: SECUNIA
Name: 29638
External Source: HP
Name: SSRT080006
References to Check Content
Identifier:oval:org.mitre.oval:def:10334
Check System:http://oval.mitre.org/XMLSchema/oval-definitions-5
Technical Details
- Permissions, Privileges, and Access Control (CWE-264)