Mission and Overview
NVD is the U.S. government repository of standards based vulnerability management data. This data enables automation of vulnerability management, security measurement, and compliance (e.g. FISMA).
Resource Status
NVD contains:

Last updated: 5/5/2015 12:13:20 PM

CVE Publication rate: 16.7

Email List

NVD provides four mailing lists to the public. For information and subscription instructions please visit NVD Mailing Lists

Workload Index
Vulnerability Workload Index: 6.67
About Us
NVD is a product of the NIST Computer Security Division and is sponsored by the Department of Homeland Security's National Cyber Security Division. It supports the U.S. government multi-agency (OSD, DHS, NSA, DISA, and NIST) Information Security Automation Program. It is the U.S. government content repository for the Security Content Automation Protocol (SCAP).

National Cyber Awareness System

Vulnerability Summary for CVE-2007-3278

Original release date: 06/19/2007
Last revised: 03/07/2011


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


CVSS Severity (version 2.0):
CVSS v2 Base Score: 6.9 (MEDIUM) (AV:L/AC:M/Au:N/C:C/I:C/A:C) (legend)
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: Allows unauthorized disclosure of information; Allows unauthorized modification; 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 nvd@nist.gov.

External Source: BUGTRAQ
Name: 20070616 Having Fun With PostgreSQL
External Source: SUNALERT
Name: 103197
External Source: GENTOO
Name: GLSA-200801-15
External Source: VUPEN
Name: ADV-2008-0109
External Source: REDHAT
Name: RHSA-2008:0040
External Source: DEBIAN
Name: DSA-1460
External Source: HP
Name: SSRT080006
External Source: MISC
Name: http://www.portcullis.co.uk/uplds/whitepapers/Having_Fun_With_PostgreSQL.pdf
External Source: REDHAT
Name: RHSA-2008:0038
External Source: REDHAT
Name: RHSA-2008:0039
External Source: XF
Name: postgresql-dblink-sql-injection(35142)
External Source: OVAL
Name: oval:org.mitre.oval:def:10334
External Source: BUGTRAQ
Name: 20070618 Re: Having Fun With PostgreSQL
External Source: SUNALERT
Name: 200559
External Source: DEBIAN
Name: DSA-1463
External Source: VUPEN
Name: ADV-2008-1071
External Source: MISC
Name: http://www.leidecker.info/pgshell/Having_Fun_With_PostgreSQL.txt
External Source: MANDRIVA
Name: MDKSA-2007:188
External Source: OSVDB
Name: 40899
External Source: UBUNTU
Name: USN-568-1

References to Check Content

Identifier: oval:org.mitre.oval:def:10334
Check System: http://oval.mitre.org/XMLSchema/oval-definitions-5

Vulnerable software and versions

+ Configuration 1
+ OR
* cpe:/a:postgresql:postgresql:8.1

* Denotes Vulnerable Software
Changes related to vulnerability configurations

Technical Details

Vulnerability Type (View All)
  • Permissions, Privileges, and Access Control (CWE-264)