National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2007-3278 Detail

Description

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.

Source:  MITRE      Last Modified:  06/19/2007

Quick Info

CVE Dictionary Entry:
CVE-2007-3278
Original release date:
06/19/2007
Last revised:
10/10/2017
Source:
US-CERT/NIST

Impact

CVSS Severity (version 2.0):
CVSS v2 Base Score:
6.9 MEDIUM
Vector:
(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:
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 nvd@nist.gov.

Hyperlink Resource Type Source Name
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01420154 External Source HP SSRT080006
http://security.gentoo.org/glsa/glsa-200801-15.xml External Source GENTOO GLSA-200801-15
http://sunsolve.sun.com/search/document.do?assetkey=1-26-103197-1 External Source SUNALERT 103197
http://sunsolve.sun.com/search/document.do?assetkey=1-66-200559-1 External Source SUNALERT 200559
http://www.debian.org/security/2008/dsa-1460 External Source DEBIAN DSA-1460
http://www.debian.org/security/2008/dsa-1463 External Source DEBIAN DSA-1463
http://www.leidecker.info/pgshell/Having_Fun_With_PostgreSQL.txt External Source MISC http://www.leidecker.info/pgshell/Having_Fun_With_PostgreSQL.txt
http://www.mandriva.com/security/advisories?name=MDKSA-2007:188 External Source MANDRIVA MDKSA-2007:188
http://www.portcullis.co.uk/uplds/whitepapers/Having_Fun_With_PostgreSQL.pdf External Source MISC http://www.portcullis.co.uk/uplds/whitepapers/Having_Fun_With_PostgreSQL.pdf
http://www.redhat.com/support/errata/RHSA-2008-0038.html External Source REDHAT RHSA-2008:0038
http://www.redhat.com/support/errata/RHSA-2008-0039.html External Source REDHAT RHSA-2008:0039
http://www.redhat.com/support/errata/RHSA-2008-0040.html External Source REDHAT RHSA-2008:0040
http://www.securityfocus.com/archive/1/471644/100/0/threaded External Source BUGTRAQ 20070618 Re: Having Fun With PostgreSQL
http://www.securityfocus.com/archive/1/archive/1/471541/100/0/threaded External Source BUGTRAQ 20070616 Having Fun With PostgreSQL
http://www.ubuntulinux.org/support/documentation/usn/usn-568-1 External Source UBUNTU USN-568-1
http://www.vupen.com/english/advisories/2008/0109 External Source VUPEN ADV-2008-0109
http://www.vupen.com/english/advisories/2008/1071/references External Source VUPEN ADV-2008-1071
https://exchange.xforce.ibmcloud.com/vulnerabilities/35142 External Source XF postgresql-dblink-sql-injection(35142)
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10334 External Source OVAL oval:org.mitre.oval:def:10334

References to Check Content

Identifier:
oval:org.mitre.oval:def:10334
Check System:
http://oval.mitre.org/XMLSchema/oval-definitions-5
Hyperlink:
http://oval.mitre.org/repository/data/DownloadDefinition?id=oval:org.mitre.oval:def:10334

Technical Details

Vulnerability Type (View All)

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

Vulnerable software and versions Switch to CPE 2.2

Configuration 1
OR
cpe:2.3:a:postgresql:postgresql:8.1:*:*:*:*:*:*:*

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

Change History 3 change records found - show changes