CVE-2007-3278 json
PostgreSQL 8.1 and probably later versions, when local trust authentication is enabled and the Database Link library (dblink) is installed,…
published 2007-06-19 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-3268
- cvss
- 6.9
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- postgresql postgresql 7.3.21, 7.4.19, 8.0.15, 8.1.11, 8.2.6
- postgresql RHEL 1 APPLICATION_STACK 8.1.11-1.el4s1.1
- postgresql-pl RHEL 1 APPLICATION_STACK 8.1.11-1.el4s1.1
- postgresql-tcl RHEL 1 APPLICATION_STACK 8.1.11-1.el4s1.1
- postgresql-libs RHEL 1 APPLICATION_STACK 8.1.11-1.el4s1.1
- postgresql-test RHEL 1 APPLICATION_STACK 8.1.11-1.el4s1.1
- postgresql-python RHEL 1 APPLICATION_STACK 8.1.11-1.el4s1.1
- postgresql-server RHEL 1 APPLICATION_STACK 8.1.11-1.el4s1.1
- postgresql-contrib RHEL 1 APPLICATION_STACK 8.1.11-1.el4s1.1
red hat advisories RHSA-2008:0040RHSA-2008:0039RHSA-2008:0038
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-3278 updated
dblink allows proxying of database connections via 127.0.0.1
-
Red Hat Application Stack v1 for Enterprise Linux AS (v.4) postgresql 8.1.11-1.el4s1.1, postgresql-pl 8.1.11-1.el4s1.1, postgresql-tcl 8.1.11-1.el4s1.1, postgresql-libs 8.1.11-1.el4s1.1, postgresql-test 8.1.11-1.el4s1.1, postgresql-python 8.1.11-1.el4s1.1, +2 more Red Hat Application Stack v1 for Enterprise Linux ES (v.4) postgresql 8.1.11-1.el4s1.1, postgresql-pl 8.1.11-1.el4s1.1, postgresql-tcl 8.1.11-1.el4s1.1, postgresql-libs 8.1.11-1.el4s1.1, postgresql-test 8.1.11-1.el4s1.1, postgresql-python 8.1.11-1.el4s1.1, +2 morefixed: vendor fix RHSA-2008:0040
-
Red Hat Desktop version 3 rh-postgresql 7.3.21-1, rh-postgresql-pl 7.3.21-1, rh-postgresql-tcl 7.3.21-1, rh-postgresql-jdbc 7.3.21-1, rh-postgresql-libs 7.3.21-1, rh-postgresql-test 7.3.21-1, +3 morefixed: vendor fix RHSA-2008:0039
-
Red Hat Enterprise Linux (v. 5 server) postgresql 8.1.11-1.el5_1.1, postgresql-pl 8.1.11-1.el5_1.1, postgresql-tcl 8.1.11-1.el5_1.1, postgresql-libs 8.1.11-1.el5_1.1, postgresql-test 8.1.11-1.el5_1.1, postgresql-python 8.1.11-1.el5_1.1, +2 morefixed: vendor fix RHSA-2008:0038
-
Red Hat Enterprise Linux AS version 3 rh-postgresql 7.3.21-1, rh-postgresql-pl 7.3.21-1, rh-postgresql-tcl 7.3.21-1, rh-postgresql-jdbc 7.3.21-1, rh-postgresql-libs 7.3.21-1, rh-postgresql-test 7.3.21-1, +3 morefixed: vendor fix RHSA-2008:0039
-
Red Hat Enterprise Linux AS version 4 postgresql 7.4.19-1.el4_6.1, postgresql-pl 7.4.19-1.el4_6.1, postgresql-tcl 7.4.19-1.el4_6.1, postgresql-jdbc 7.4.19-1.el4_6.1, postgresql-libs 7.4.19-1.el4_6.1, postgresql-test 7.4.19-1.el4_6.1, +3 more Red Hat Enterprise Linux Desktop (v. 5 client) postgresql 8.1.11-1.el5_1.1, postgresql-pl 8.1.11-1.el5_1.1, postgresql-tcl 8.1.11-1.el5_1.1, postgresql-libs 8.1.11-1.el5_1.1, postgresql-test 8.1.11-1.el5_1.1, postgresql-python 8.1.11-1.el5_1.1, +2 more Red Hat Enterprise Linux Desktop version 4 postgresql 7.4.19-1.el4_6.1, postgresql-pl 7.4.19-1.el4_6.1, postgresql-tcl 7.4.19-1.el4_6.1, postgresql-jdbc 7.4.19-1.el4_6.1, postgresql-libs 7.4.19-1.el4_6.1, postgresql-test 7.4.19-1.el4_6.1, +3 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) postgresql 8.1.11-1.el5_1.1, postgresql-pl 8.1.11-1.el5_1.1, postgresql-tcl 8.1.11-1.el5_1.1, postgresql-libs 8.1.11-1.el5_1.1, postgresql-test 8.1.11-1.el5_1.1, postgresql-python 8.1.11-1.el5_1.1, +2 morefixed: vendor fix RHSA-2008:0038
-
Red Hat Enterprise Linux ES version 3 rh-postgresql 7.3.21-1, rh-postgresql-pl 7.3.21-1, rh-postgresql-tcl 7.3.21-1, rh-postgresql-jdbc 7.3.21-1, rh-postgresql-libs 7.3.21-1, rh-postgresql-test 7.3.21-1, +3 morefixed: vendor fix RHSA-2008:0039
-
Red Hat Enterprise Linux ES version 4 postgresql 7.4.19-1.el4_6.1, postgresql-pl 7.4.19-1.el4_6.1, postgresql-tcl 7.4.19-1.el4_6.1, postgresql-jdbc 7.4.19-1.el4_6.1, postgresql-libs 7.4.19-1.el4_6.1, postgresql-test 7.4.19-1.el4_6.1, +3 morefixed: vendor fix RHSA-2008:0038
-
Red Hat Enterprise Linux WS version 3 rh-postgresql 7.3.21-1, rh-postgresql-pl 7.3.21-1, rh-postgresql-tcl 7.3.21-1, rh-postgresql-jdbc 7.3.21-1, rh-postgresql-libs 7.3.21-1, rh-postgresql-test 7.3.21-1, +3 morefixed: vendor fix RHSA-2008:0039
show 2 moreshow fewer
-
Red Hat Enterprise Linux WS version 4 postgresql 7.4.19-1.el4_6.1, postgresql-pl 7.4.19-1.el4_6.1, postgresql-tcl 7.4.19-1.el4_6.1, postgresql-jdbc 7.4.19-1.el4_6.1, postgresql-libs 7.4.19-1.el4_6.1, postgresql-test 7.4.19-1.el4_6.1, +3 morefixed: vendor fix RHSA-2008:0038
-
Red Hat Application Stack v2 for Enterprise Linux (v.5) postgresql 8.2.6-1.el5s2, postgresql-tcl 8.2.6-1.el5s2, postgresql-libs 8.2.6-1.el5s2, postgresql-test 8.2.6-1.el5s2, postgresql-pltcl 8.2.6-1.el5s2, postgresql-plperl 8.2.6-1.el5s2, +4 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.26% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.9 | AV:L/AC:M/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-264 Permissions, Privileges, and Access Controls
- Technology feeds
References
-
debian.org
/security/2008/dsa-1460
vendor-advisory, third-party-advisory
-
redhat.com
/support/errata/RHSA-2008-0038.html
vendor-advisory, third-party-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:188
vendor-advisory, third-party-advisory
-
sunsolve.sun.com
/search/document.do?assetkey=1-26-103197-1
vendor-advisory, broken-link
-
debian.org
/security/2008/dsa-1463
vendor-advisory, third-party-advisory
-
redhat.com
/support/errata/RHSA-2008-0040.html
vendor-advisory, third-party-advisory
-
h20000.www2.hp.com
/bizsupport/TechSupport/Document.jsp?objectID=c01420154
vendor-advisory, third-party-advisory
-
sunsolve.sun.com
/search/document.do?assetkey=1-66-200559-1
vendor-advisory, broken-link
-
usn.ubuntu.com
/568-1/
vendor-advisory, third-party-advisory
-
redhat.com
/support/errata/RHSA-2008-0039.html
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/glsa-200801-15.xml
vendor-advisory, third-party-advisory
-
secunia.com
/advisories/28445
third-party-advisory, broken-link
-
securityfocus.com
/archive/1/471644/100/0/threaded
mailing-list, third-party-advisory, vdb-entry
-
secunia.com
/advisories/28454
third-party-advisory, broken-link
-
leidecker.info
/pgshell/Having_Fun_With_PostgreSQL.txt
third-party-advisory
-
secunia.com
/advisories/28679
third-party-advisory, broken-link
-
vupen.com
/english/advisories/2008/0109
vdb-entry, permissions-required
-
exchange.xforce.ibmcloud.com
/vulnerabilities/35142
vdb-entry, third-party-advisory
-
secunia.com
/advisories/28376
third-party-advisory, broken-link
-
secunia.com
/advisories/28437
third-party-advisory, broken-link
-
secunia.com
/advisories/28477
third-party-advisory, broken-link
-
secunia.com
/advisories/29638
third-party-advisory, broken-link
-
secunia.com
/advisories/28479
third-party-advisory, broken-link
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10334
vdb-entry, signature, third-party-advisory
-
secunia.com
/advisories/28438
third-party-advisory, broken-link
-
portcullis.co.uk
/uplds/whitepapers/Having_Fun_With_PostgreSQL.pdf
third-party-advisory
-
securityfocus.com
/archive/1/471541/100/0/threaded
mailing-list, third-party-advisory, vdb-entry
-
osvdb.org
/40899
vdb-entry, broken-link
-
vupen.com
/english/advisories/2008/1071/references
vdb-entry, permissions-required
Sources
- CVE List CVE-2007-3278
- NVD CVE-2007-3278
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.