National Vulnerability Database

National Vulnerability Database

National Vulnerability

CVE-2007-3278 Detail


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

Source:  MITRE      Last Modified:  06/19/2007

Quick Info

CVE Dictionary Entry:
Original release date:
Last revised:


CVSS Severity (version 2.0):
CVSS v2 Base Score:
(AV:L/AC:M/Au:N/C:C/I:C/A:C) (legend)
Impact Subscore:
Exploitability Subscore:
CVSS Version 2 Metrics:
Access Vector:
Locally exploitable
Access Complexity:
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

Vendor Statements (disclaimer)

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

Hyperlink Resource Type Source Name External Source HP SSRT080006 External Source GENTOO GLSA-200801-15 External Source SUNALERT 103197 External Source SUNALERT 200559 External Source DEBIAN DSA-1460 External Source DEBIAN DSA-1463 External Source MISC External Source MANDRIVA MDKSA-2007:188 External Source MISC External Source REDHAT RHSA-2008:0038 External Source REDHAT RHSA-2008:0039 External Source REDHAT RHSA-2008:0040 External Source BUGTRAQ 20070618 Re: Having Fun With PostgreSQL External Source BUGTRAQ 20070616 Having Fun With PostgreSQL External Source UBUNTU USN-568-1 External Source VUPEN ADV-2008-0109 External Source VUPEN ADV-2008-1071 External Source XF postgresql-dblink-sql-injection(35142) External Source OVAL oval:org.mitre.oval:def:10334

References to Check Content

Check System:

Technical Details

Vulnerability Type (View All)

  • Permissions, Privileges, and Access Control (CWE-264)

Vulnerable software and versions Switch to CPE 2.2

Configuration 1

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History 3 change records found - show changes