RCE in PostgreSQL
CVE-2010-1169
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 does not properly restrict PL/perl procedures, which allows remote authenticated users, with database-creation privileges, to execute arbitrary Perl code via a crafted script, related to the Safe module (aka Safe.pm) for Perl. NOTE: some sources report that this issue is the same as CVE-2010-1447.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 8.5 (High). Vector: AV:N/AC:M/Au:S/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.041, 90.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PostgreSQL — versions 7.4.22, 8.2.4, 8.0.13
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 12 other repositories (ARPSyndicate/cvemon, DButter/whitehat_public, Dokukin1/Metasploitable, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.postgresql.org/docs/current/static/release-8-1-21.html
- FEDORA-2010-8715 (vendor-advisory)
- www.postgresql.org/about/news.1203 (Patch)
- RHSA-2010:0427 (vendor-advisory)
- RHSA-2010:0428 (vendor-advisory)
- HPSBMU02781 (vendor-advisory)
- postgresql-safe-code-execution(58693) (vdb-entry)
- DSA-2051 (vendor-advisory)
- secunia.com/advisories/39898 (third-party-advisory)
- www.postgresql.org/docs/current/static/release-7-4-29.html