Vulnerability identifier: #VU111766
Vulnerability risk: Medium
CVSSv4.0: 1.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID:
CWE-ID:
CWE-264
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
PostgreSQL
Server applications /
Database software
Vendor: PostgreSQL Global Development Group
Description
The vulnerability allows a remote user to read and manipulate data.
The PL/perl and PL/Tcl implementations in PostgreSQL 7.4 before 7.4.30, 8.0 before 8.0.26, 8.1 before 8.1.22, 8.2 before 8.2.18, 8.3 before 8.3.12, 8.4 before 8.4.5, and 9.0 before 9.0.1 do not properly protect script execution by a different SQL user identity within the same session, which allows remote authenticated users to gain privileges via crafted script code in a SECURITY DEFINER function, as demonstrated by (1) redefining standard functions or (2) redefining operators, a different vulnerability than CVE-2010-1168, CVE-2010-1169, CVE-2010-1170, and CVE-2010-1447.
Mitigation
Install update from vendor's website.
Vulnerable software versions
PostgreSQL: 7.4, 7.4.1 - 7.4.19, 7.4.2, 7.4.3, 7.4.4, 7.4.5 - 8.1.1, 7.4.6, 7.4.7, 7.4.8, 7.4.9, 7.4.10 - 8.3.9, 7.4.11 - 9.0.0, 7.4.12, 7.4.13, 7.4.14, 7.4.15, 7.4.16, 7.4.20, 7.4.21, 7.4.22, 7.4.23, 7.4.24, 7.4.25, 7.4.26, 7.4.27, 7.4.28, 7.4.29, 8.0, 8.0.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.0.5, 8.0.6, 8.0.7, 8.0.8, 8.0.9, 8.0.10, 8.0.11, 8.0.12, 8.0.13, 8.0.14, 8.0.15, 8.0.16, 8.0.17, 8.0.18, 8.1.2, 8.1.3, 8.1.4, 8.1.5, 8.1.6, 8.1.7, 8.1.8, 8.1.9, 8.1.10, 8.1.11, 8.1.12, 8.1.13, 8.1.14, 8.1.15, 8.1.16, 8.1.17, 8.1.18, 8.1.19, 8.1.20, 8.1.21, 8.2, 8.2.0, 8.2.1, 8.2.2, 8.2.3, 8.2.4, 8.2.5, 8.2.6, 8.2.7, 8.2.8, 8.2.9, 8.2.10, 8.2.11, 8.2.12, 8.2.13, 8.2.14, 8.2.15, 8.2.16, 8.2.17, 8.3
External links
https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
https://lists.fedoraproject.org/pipermail/package-announce/2010-October/049591.html
https://lists.fedoraproject.org/pipermail/package-announce/2010-October/049592.html
https://lists.opensuse.org/opensuse-security-announce/2010-10/msg00006.html
https://lists.opensuse.org/opensuse-security-announce/2010-11/msg00001.html
https://marc.info/?l=bugtraq&m=134124585221119&w=2
https://secunia.com/advisories/42325
https://www.debian.org/security/2010/dsa-2120
https://www.mandriva.com/security/advisories?name=MDVSA-2010:197
https://www.postgresql.org/about/news.1244
https://www.postgresql.org/docs/9.0/static/release-9-0-1.html
https://www.redhat.com/support/errata/RHSA-2010-0742.html
https://www.redhat.com/support/errata/RHSA-2010-0908.html
https://www.securityfocus.com/bid/43747
https://www.ubuntu.com/usn/USN-1002-1
https://www.ubuntu.com/usn/USN-1002-2
https://www.vupen.com/english/advisories/2010/3051
https://bugzilla.redhat.com/show_bug.cgi?id=639371
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7291
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.