Secunia Logo  
 
PostgreSQL Privilege Escalation and Denial of Service
Secunia Advisory: SA18890
Release Date: 2006-02-15
Last Update: 2006-02-28
Popularity: 11,182 views

Critical:
Less critical
Impact: Privilege escalation
DoS
Where: From local network
Solution Status: Vendor Patch

Software:PostgreSQL 7.x
PostgreSQL 8.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-0553
CVE-2006-0678


Description:
Two vulnerabilities have been reported in PostgreSQL, which can be exploited by malicious users to cause a DoS (Denial of Service) or gain escalated privileges.

1) A validation error exists within the handling of the SET ROLE command when restoring the previous role setting after an error. This can be exploited by an authenticated user to gain superuser privileges.

The vulnerability has been reported in the 8.1 branch.

2) An error in the SET SESSION AUTHORIZATION command can be exploited to crash the server process, if it has been compiled with Asserts enabled.

The vulnerability has been reported in the 7.3, 7.4, 8.0 and 8.1 branch.

Solution:
Update to the fixed versions.
http://www.postgresql.org/download/

Version 7.3.x:
Update to version 7.3.14.

Version 7.4.x:
Update to version 7.4.12.

Version 8.0.x:
Update to version 8.0.7.

Version 8.1.x:
Update to version 8.1.3.

Provided and/or discovered by:
The vendor credits Akio Ishida.

Changelog:
2006-02-28: Added link to US-CERT vulnerability note.

Original Advisory:
http://archives.postgresql.org/pgsql-announce/2006-02/msg00008.php
http://www.postgresql.org/docs/8.1/static/release-7-3-14.html
http://www.postgresql.org/docs/8.1/static/release-7-4-12.html
http://www.postgresql.org/docs/8.1/static/release-8-0-7.html
http://www.postgresql.org/docs/8.1/static/release.html#RELEASE-8-1-3

Other References:
US-CERT VU#567452:
http://www.kb.cert.org/vuls/id/567452


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 // 89 views
2. Joomla! "X_CMS_LIBRARY_PATH" Directory Traversal Vulnerability // 85 views
3. Symantec Mail Security for SMTP Response Handling Denial of Service // 63 views
4. Red Hat update for openssl // 55 views
5. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 53 views
6. Red Hat update for xterm // 49 views
7. vBulletin Personal Sticky Threads Add-on Security Bypass Vulnerability // 43 views
8. ComponentOne SizerOne CTab ActiveX Control Caption List Buffer Overflow // 42 views
9. Red Hat update for dbus // 41 views
10. TSC2 Help Desk CTab ActiveX Control Caption List Buffer Overflow // 38 views