CVE-2010-1170 Code injection in n/a

Medium 6.0 Published Updated

Authenticated users with database-creation privileges can execute arbitrary Tcl code by manipulating the pltcl_modules table in PostgreSQL.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2010-1170?

CVE-2010-1170 is a medium-severity code injection vulnerability in Postgresql Postgresql, published on 19 May 2010. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The PL/Tcl implementation in PostgreSQL 7.4 before 7.4.29, 8.0 before 8.0.25, 8.1 before 8.1.21, 8.2 before 8.2.17, 8.3 before 8.3.11, 8.4 before 8.4.4, and 9.0 Beta before 9.0 Beta 2 loads Tcl code from the pltcl_modules table regardless of the table's ownership and permissions, which allows remote authenticated users, with database-creation privileges, to execute arbitrary Tcl code by creating this table and inserting a crafted Tcl script.

Weakness: CWE-264

Which versions are affected by CVE-2010-1170?

It affects 1 product.

Products include Postgresql Postgresql.

How do I fix CVE-2010-1170?

Upgrade to a fixed version.

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

Is CVE-2010-1170 being exploited?

There is no known exploitation of CVE-2010-1170 in the wild and no public exploit code.

All Postgresql Postgresql vulnerabilities

Sources

Also known as GHSA-8gjp-4m59-38hv.

Is CVE-2010-1170 in your software?

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

Check your SBOMs for free