Skip to content
Fencer Intel
medium 6.9

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 19y ago modified 4mo 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 70%
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

Is CVE-2007-3278 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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 more
    fixed: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: vendor fix RHSA-2008:0039
show 2 more
  • 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 more
    fixed: 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 more
    not 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 70% of all scored CVEs (FIRST EPSS, 2026-11-14).

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

Sources

Fencer Intel 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.