CVE-2007-3280
publishedDatabase superuser can execute code on behalf of postgresql server
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
Description
The Database Link library (dblink) in PostgreSQL 8.1 implements functions via CREATE statements that map to arbitrary libraries based on the C programming language, which allows remote authenticated superusers to map and execute a function from any library, as demonstrated by using the system function in libc.so.6 to gain shell access.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
6- 40901 http://osvdb.org/40901
- http://www.leidecker.info/pgshell/Having_Fun_With_PostgreSQL.txt
- MDKSA-2007:188 http://www.mandriva.com/security/advisories?name=MDKSA-2007:188
- http://www.portcullis.co.uk/uplds/whitepapers/Having_Fun_With_PostgreSQL.pdf
- 20070616 Having Fun With PostgreSQL http://www.securityfocus.com/archive/1/471541/100/0/threaded
- postgresql-dblink-command-execution(35145) https://exchange.xforce.ibmcloud.com/vulnerabilities/35145
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3a1ea243c534d8201c51650cf419ba852c8a2bc28b3053317652d430231e7bad
- Ingested
- 23 Sep 2026, 07:38:14 UTC
- Source record
- Official CVE record