Input validation error in PostgreSQL - CVE-2007-3280

 

Input validation error in PostgreSQL - CVE-2007-3280

Published: October 16, 2018 / Updated: June 23, 2025


Vulnerability identifier: #VU111779
CSH Severity: High
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2007-3280
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code.

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.


Affected software

PostgreSQL

How to mitigate CVE-2007-3280

Install update from vendor's website.

PostgreSQL - update to 8.1.0

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins