dblink allows proxying of database connections via 127.0.0.1
Published Jun 19, 2007
6.9
MEDIUMCVSS 2.0
EPSS 1.26%
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.
Affected products
No data.
Configuration 1
- ≥ 7.3 · < 7.3.21
- ≥ 7.4 · < 7.4.19
- ≥ 8.0 · < 8.0.15
- ≥ 8.1 · < 8.1.11
- ≥ 8.2 · < 8.2.6
Configuration 2
- 3.1
- 4.0
No data.
Red Hat Enterprise Linux 3
rh-postgresql-0:7.3.21-1
Fixed · RHSA-2008:0039
Red Hat Enterprise Linux 4
postgresql-0:7.4.19-1.el4_6.1
Fixed · RHSA-2008:0038
Red Hat Enterprise Linux 5
postgresql-0:8.1.11-1.el5_1.1
Fixed · RHSA-2008:0038
Red Hat Web Application Stack for RHEL 4
postgresql-0:8.1.11-1.el4s1.1
Fixed · RHSA-2008:0040
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 3 | rh-postgresql-0:7.3.21-1 | Fixed | RHSA-2008:0039 |
| Red Hat Enterprise Linux 4 | postgresql-0:7.4.19-1.el4_6.1 | Fixed | RHSA-2008:0038 |
| Red Hat Enterprise Linux 5 | postgresql-0:8.1.11-1.el5_1.1 | Fixed | RHSA-2008:0038 |
| Red Hat Web Application Stack for RHEL 4 | postgresql-0:8.1.11-1.el4s1.1 | Fixed | RHSA-2008:0040 |
No package ranges for this CVE.
Remediation
Red Hat statement
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.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:M/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.26% (0.01257) | 68.47th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.26% (0.01257) | 65.57th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.58% (0.00584) | 67.12th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.31% (0.00310) | 70.89th | v3 (v2023.03.01) |
| May 30, 2024 | 0.31% (0.00310) | 69.98th | v3 (v2023.03.01) |
| Mar 15, 2024 | 0.24% (0.00238) | 61.10th | v3 (v2023.03.01) |
| Feb 6, 2024 | 0.26% (0.00256) | 63.50th | v3 (v2023.03.01) |
| Nov 21, 2023 | 0.23% (0.00229) | 60.98th | v3 (v2023.03.01) |
| Jun 25, 2023 | 0.25% (0.00254) | 62.09th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.24% (0.00238) | 60.06th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.53% (0.02528) | 81.92th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.53% (0.02528) | 80.15th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.53% (0.02528) | 58.66th | v2 (v2022.01.01) |
References (33)
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01420154 vendor-advisoryx_refsource_HPThird Party Advisory
- http://osvdb.org/40899 vdb-entryx_refsource_OSVDBBroken Link
- http://secunia.com/advisories/28376 third-party-advisoryx_refsource_SECUNIABroken Link
- http://secunia.com/advisories/28437 third-party-advisoryx_refsource_SECUNIABroken Link
- http://secunia.com/advisories/28438 third-party-advisoryx_refsource_SECUNIABroken Link
- http://secunia.com/advisories/28445 third-party-advisoryx_refsource_SECUNIABroken Link
- http://secunia.com/advisories/28454 third-party-advisoryx_refsource_SECUNIABroken Link
- http://secunia.com/advisories/28477 third-party-advisoryx_refsource_SECUNIABroken Link
- http://secunia.com/advisories/28479 third-party-advisoryx_refsource_SECUNIABroken Link
- http://secunia.com/advisories/28679 third-party-advisoryx_refsource_SECUNIABroken Link
- http://secunia.com/advisories/29638 third-party-advisoryx_refsource_SECUNIABroken Link
- http://security.gentoo.org/glsa/glsa-200801-15.xml vendor-advisoryx_refsource_GENTOOThird Party Advisory
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-103197-1 vendor-advisoryx_refsource_SUNALERTBroken Link
- http://sunsolve.sun.com/search/document.do?assetkey=1-66-200559-1 vendor-advisoryx_refsource_SUNALERTBroken Link
- http://www.debian.org/security/2008/dsa-1460 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.debian.org/security/2008/dsa-1463 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.leidecker.info/pgshell/Having_Fun_With_PostgreSQL.txt x_refsource_MISCThird Party Advisory
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:188 vendor-advisoryx_refsource_MANDRIVAThird Party Advisory
- http://www.portcullis.co.uk/uplds/whitepapers/Having_Fun_With_PostgreSQL.pdf x_refsource_MISCThird Party Advisory
- http://www.redhat.com/support/errata/RHSA-2008-0038.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.redhat.com/support/errata/RHSA-2008-0039.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.redhat.com/support/errata/RHSA-2008-0040.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.securityfocus.com/archive/1/471541/100/0/threaded mailing-listx_refsource_BUGTRAQThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/archive/1/471644/100/0/threaded mailing-listx_refsource_BUGTRAQThird Party AdvisoryVDB Entry
- http://www.vupen.com/english/advisories/2008/0109 vdb-entryx_refsource_VUPENPermissions Required
- http://www.vupen.com/english/advisories/2008/1071/references vdb-entryx_refsource_VUPENPermissions Required
- https://access.redhat.com/security/cve/CVE-2007-3278 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=309141 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/35142 vdb-entryx_refsource_XFThird Party AdvisoryVDB Entry
- https://nvd.nist.gov/vuln/detail/CVE-2007-3278
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10334 vdb-entrysignaturex_refsource_OVALThird Party Advisory
- https://usn.ubuntu.com/568-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2007-3278
Change history (0)
No recorded changes yet.