Secunia Logo  
 
PostgreSQL Multiple Vulnerabilities
Secunia Advisory: SA12948
Release Date: 2005-02-01
Last Update: 2005-02-15
Popularity: 14,543 views

Critical:
Less critical
Impact: Unknown
Security Bypass
Privilege escalation
DoS
Where: From remote
Solution Status: Vendor Patch

Software:PostgreSQL 7.x
PostgreSQL 8.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-0227
CVE-2005-0244
CVE-2005-0245
CVE-2005-0246
CVE-2005-0247


Description:
Various vulnerabilities have been reported in PostgreSQL. Some have an unknown impact and others can can be exploited by malicious users to cause a DoS (Denial of Service), bypass certain security restrictions, or gain escalated privileges.

1) An error in the "LOAD" option can be exploited by malicious, unprivileged database users to load arbitrary libraries.

Successful exploitation may allow execution of arbitrary code with escalated privileges, but requires that the platform automatically executes initialization functions of shared libraries (includes Windows and ELF-based Unix / Linux systems).

2) A missing permissions check makes it possible for a creator of an aggregate function to execute the specified transition functions. This bypasses the denial of "EXECUTE" permissions on a function.

3) An unspecified security issue in "contrib/intagg" can be exploited to cause a DoS via specially crafted arrays.

4) Multiple boundary errors in the PL/PgSQL parser may be exploited to cause buffer overflows.

NOTE: Other issues have also been reported, which may be security related.

Solution:
Update to version 8.0.1, 7.4.7, 7.3.9, or 7.2.7 to fix all vulnerabilities but CAN-2005-0247.
http://wwwmaster.postgresql.org/download/mirrors-ftp

Patches have been issued for CAN-2005-0247.

Patch for version 7.4.7:
http://developer.postgresql.org/cvswe...=1.48.2.3;only_with_tag=REL7_4_STABLE

Patch for version 8.0.1:
http://developer.postgresql.org/cvswe...=1.64.4.3;only_with_tag=REL8_0_STABLE

Provided and/or discovered by:
1) John Heasman, NGSSoftware.
2-4) Reported by vendor.

Changelog:
2005-02-07: Added CVE reference.
2005-02-10: Added CVE references.
2005-02-11: Added CVE reference.
2005-02-15: Added patch information for CAN-2005-0247, which is not fixed by the latest versions.

Original Advisory:
http://archives.postgresql.org/pgsql-announce/2005-02/msg00000.php
http://archives.postgresql.org/pgsql-committers/2005-02/msg00049.php


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. OpenSSL DSA / ECDSA "EVP_VerifyFinal()" Spoofing Vulnerability // 65 views
2. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 46 views
3. Symantec Mail Security for SMTP Response Handling Denial of Service // 41 views
4. Joomla! "X_CMS_LIBRARY_PATH" Directory Traversal Vulnerability // 40 views
5. vBulletin Personal Sticky Threads Add-on Security Bypass Vulnerability // 27 views
6. Red Hat update for openssl // 27 views
7. ComponentOne SizerOne CTab ActiveX Control Caption List Buffer Overflow // 27 views
8. TSC2 Help Desk CTab ActiveX Control Caption List Buffer Overflow // 26 views
9. Red Hat update for xterm // 25 views
10. Red Hat update for dbus // 24 views