{"id":"CVE-2007-3280","aliases":["EUVD-2007-3270","GHSA-h7vx-cf93-p4j3"],"status":"published","title":"The Database Link library (dblink) in PostgreSQL 8.1 implements functions via CREATE statements...","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.","severity":{"version":"2.0","score":9,"vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.2549,"percentile":0.97966,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2007-06-19T21:00:00Z","modified":"2026-06-16T22:41:24Z","exploits":[{"source":"metasploit","id":"exploit/linux/postgres/postgres_payload","title":"PostgreSQL for Linux Payload Execution","type":"exploit","platform":"Linux","date":"2007-06-05","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/linux/postgres/postgres_payload"},{"source":"pocgithub","id":"denuwanjayasekara/CVE-Exploitation-Reports","title":"denuwanjayasekara/CVE-Exploitation-Reports","date":"2024-09-11","url":"https://github.com/denuwanjayasekara/CVE-Exploitation-Reports"}],"products":[{"vendor":"postgresql","product":"postgresql"}],"references":[{"url":"http://www.leidecker.info/pgshell/Having_Fun_With_PostgreSQL.txt","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:188","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://osvdb.org/40901","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/35145","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.portcullis.co.uk/uplds/whitepapers/Having_Fun_With_PostgreSQL.pdf","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/471541/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-3280"},{"url":"https://github.com/advisories/GHSA-h7vx-cf93-p4j3"}],"sources":{"cve":[{"id":"CVE-2007-3280","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.","status":"published","published":"2007-06-19T21:00:00Z","modified":"2024-08-07T14:14:11.897Z","updated_at":"2026-11-02T13:32:45.563938Z"}],"euvd":[{"id":"EUVD-2007-3270","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.","status":"published","published":"2007-06-19T21:00:00Z","modified":"2024-08-07T14:14:11Z","updated_at":"2026-11-03T01:38:16.991878Z"}],"ghsa":[{"id":"GHSA-h7vx-cf93-p4j3","title":"The Database Link library (dblink) in PostgreSQL 8.1 implements functions via CREATE statements...","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.","status":"published","published":"2022-05-01T18:12:18Z","modified":"2023-01-31T05:03:56Z","updated_at":"2026-11-02T14:48:34.878158Z"}],"nvd":[{"id":"CVE-2007-3280","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.","status":"published","published":"2007-06-19T21:30:00Z","modified":"2026-06-16T22:41:24.717Z","cvss":[{"version":"2.0","score":9,"vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:01:17.002124Z"}]}}
