CVE-2009-4136
Summary
| CVE | CVE-2009-4136 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2009-12-15 18:30:01 UTC |
| Updated | 2026-04-23 00:35:47 UTC |
| Description | PostgreSQL 7.4.x before 7.4.27, 8.0.x before 8.0.23, 8.1.x before 8.1.19, 8.2.x before 8.2.15, 8.3.x before 8.3.9, and 8.4.x before 8.4.2 does not properly manage session-local state during execution of an index function by a database superuser, which allows remote authenticated users to gain privileges via a table with crafted index functions, as demonstrated by functions that modify (1) search_path or (2) a prepared statement, a related issue to CVE-2007-6600 and CVE-2009-3230. |
Risk And Classification
Primary CVSS: v2.0 6.5 from [email protected]
AV:N/AC:L/Au:S/C:P/I:P/A:P
Problem Types: NVD-CWE-Other | n/a
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
SingleConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:L/Au:S/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Postgresql | Postgresql | 7.4.1 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.10 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.11 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.12 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.13 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.14 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.15 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.16 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.17 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.18 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.19 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.2 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.20 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.21 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.22 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.23 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.24 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.25 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.26 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.3 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.4 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.5 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.6 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.7 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.8 | All | All | All |
| Application | Postgresql | Postgresql | 7.4.9 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.0 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.1 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.10 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.11 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.12 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.13 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.14 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.15 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.16 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.17 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.18 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.19 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.2 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.20 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.21 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.22 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.3 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.4 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.5 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.6 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.7 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.8 | All | All | All |
| Application | Postgresql | Postgresql | 8.0.9 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.0 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.1 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.10 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.11 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.12 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.13 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.14 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.15 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.16 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.17 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.18 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.2 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.3 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.4 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.5 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.6 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.7 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.8 | All | All | All |
| Application | Postgresql | Postgresql | 8.1.9 | All | All | All |
| Application | Postgresql | Postgresql | 8.2 | All | All | All |
| Application | Postgresql | Postgresql | 8.2.1 | All | All | All |
| Application | Postgresql | Postgresql | 8.2.10 | All | All | All |
| Application | Postgresql | Postgresql | 8.2.11 | All | All | All |
| Application | Postgresql | Postgresql | 8.2.12 | All | All | All |
| Application | Postgresql | Postgresql | 8.2.13 | All | All | All |
| Application | Postgresql | Postgresql | 8.2.14 | All | All | All |
| Application | Postgresql | Postgresql | 8.2.2 | All | All | All |
| Application | Postgresql | Postgresql | 8.2.3 | All | All | All |
| Application | Postgresql | Postgresql | 8.2.4 | All | All | All |
| Application | Postgresql | Postgresql | 8.2.5 | All | All | All |
| Application | Postgresql | Postgresql | 8.2.6 | All | All | All |
| Application | Postgresql | Postgresql | 8.2.7 | All | All | All |
| Application | Postgresql | Postgresql | 8.2.8 | All | All | All |
| Application | Postgresql | Postgresql | 8.2.9 | All | All | All |
| Application | Postgresql | Postgresql | 8.3.1 | All | All | All |
| Application | Postgresql | Postgresql | 8.3.2 | All | All | All |
| Application | Postgresql | Postgresql | 8.3.3 | All | All | All |
| Application | Postgresql | Postgresql | 8.3.4 | All | All | All |
| Application | Postgresql | Postgresql | 8.3.5 | All | All | All |
| Application | Postgresql | Postgresql | 8.3.6 | All | All | All |
| Application | Postgresql | Postgresql | 8.3.7 | All | All | All |
| Application | Postgresql | Postgresql | 8.3.8 | All | All | All |
| Application | Postgresql | Postgresql | 8.4.1 | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| PostgreSQL: Documentation: Manuals: PostgreSQL 8.4: Release 8.2.15 | af854a3a-2127-422b-91ae-364da2661108 | www.postgresql.org | Patch, Vendor Advisory |
| SecurityFocus | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| '[security bulletin] HPSBMU02781 SSRT100617 rev.1 - HP Network Node Manager i (NNMi) for HP-UX, Linux' - MARC | af854a3a-2127-422b-91ae-364da2661108 | marc.info | |
| Support | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | |
| Webmail- OVH | af854a3a-2127-422b-91ae-364da2661108 | www.vupen.com | |
| PostgreSQL: Documentation: Manuals: PostgreSQL 8.4: Release 8.3.9 | af854a3a-2127-422b-91ae-364da2661108 | www.postgresql.org | Patch, Vendor Advisory |
| PostgreSQL: Documentation: Manuals: PostgreSQL 8.4: Release 8.1.19 | af854a3a-2127-422b-91ae-364da2661108 | www.postgresql.org | Patch, Vendor Advisory |
| PostgreSQL Index Function Session State Modification Local Privilege Escalation Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| osvdb.org/61039 | af854a3a-2127-422b-91ae-364da2661108 | osvdb.org | |
| Support / Security / Advisories / / MDVSA-2009:333 | Mandriva | af854a3a-2127-422b-91ae-364da2661108 | www.mandriva.com | |
| PostgreSQL: Documentation: Manuals: PostgreSQL 8.4: Release 8.0.23 | af854a3a-2127-422b-91ae-364da2661108 | www.postgresql.org | Patch, Vendor Advisory |
| Support | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | |
| [SECURITY] Fedora 11 Update: postgresql-8.3.9-1.fc11 | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | |
| Red Hat update for postgresql - Secunia.com | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| [security-announce] SUSE Security Summary Report: SUSE-SR:2010:001 | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| wiki.rpath.com/wiki/Advisories:rPSA-2010-0012 | af854a3a-2127-422b-91ae-364da2661108 | wiki.rpath.com | |
| PostgreSQL: Documentation: Manuals: PostgreSQL 8.4: Release 7.4.27 | af854a3a-2127-422b-91ae-364da2661108 | www.postgresql.org | Patch, Vendor Advisory |
| Bug 546321 – CVE-2009-4136 postgresql: SQL privilege escalation via modifications to session-local state | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Patch |
| SecurityTracker.com Archives - PostgreSQL Index Function State Changing Flaw Lets Remote Authenticated Users Gain Elevated Privileges | af854a3a-2127-422b-91ae-364da2661108 | www.securitytracker.com | |
| Support | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | |
| PostgreSQL: Security Information | af854a3a-2127-422b-91ae-364da2661108 | www.postgresql.org | Vendor Advisory |
| PostgreSQL SSL Certificate Processing and Privilege Escalation Vulnerabilities - Secunia Advisories - Vulnerability Information - Secunia.com | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| Webmail : Solution de messagerie professionnelle - OVHcloud- OVH | af854a3a-2127-422b-91ae-364da2661108 | www.vupen.com | |
| PostgreSQL: Documentation: Manuals: PostgreSQL 8.4: Release 8.4.2 | af854a3a-2127-422b-91ae-364da2661108 | www.postgresql.org | Patch, Vendor Advisory |
| [SECURITY] Fedora 12 Update: postgresql-8.4.2-1.fc12 | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | |
| Repository / Oval Repository | af854a3a-2127-422b-91ae-364da2661108 | oval.cisecurity.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
| Organization | Published | Contributor | Statement |
|---|---|---|---|
| Red Hat | 2010-05-20 | Mark Cox | This issue was addressed in Red Hat Enterprise Linux 3 via https://rhn.redhat.com/errata/RHSA-2010-0427.html This issue was addressed in Red Hat Enterprise Linux 4 via https://rhn.redhat.com/errata/RHSA-2010-0428.html This issue was addressed in Red Hat Enterprise Linux 5 via https://rhn.redhat.com/errata/RHSA-2010-0429.html and https://rhn.redhat.com/errata/RHSA-2010-0430.html |
There are currently no legacy QID mappings associated with this CVE.