CVE-2007-3280 Code injection in n/a

Critical 9.0 Published Updated

Authenticated superusers can execute arbitrary code via the dblink library, leading to full system compromise.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2007-3280?

CVE-2007-3280 is a critical code injection vulnerability in Postgresql Postgresql, published on 19 Jun 2007. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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.

Which versions are affected by CVE-2007-3280?

It affects 1 product.

Products include Postgresql Postgresql.

How do I fix CVE-2007-3280?

No fix has been published for CVE-2007-3280 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2007-3280 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-3280 exists.

Public exploit code: 1 Metasploit module and 1 proofs of concept on GitHub.

All Postgresql Postgresql vulnerabilities

Sources

Also known as GHSA-h7vx-cf93-p4j3.

Is CVE-2007-3280 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free