Secunia Logo
Netsikker nu! 2008
 
PostgreSQL Privilege Escalation and Denial of Service
Secunia Advisory: SA18890
Release Date: 2006-02-15
Last Update: 2006-02-28
Popularity: 10,641 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

7th Oct, 2008
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 387 views
Debian update for php5
Moderately // 312 views
Atarone CMS Multiple Vulnerabilities
Moderately // 340 views
Debian update for squid
Less // 335 views
SUSE update for mercurial
Moderately // 384 views
SUSE update for openssh
Less // 313 views
Fedora update for mediawiki

Solutions | More...  


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. ArticleBeach Script "page" File Inclusion Vulnerability // 76 views
2. phpBB "url" bbcode Script Insertion Vulnerability // 70 views
3. phpBB BBcode "url" Script Insertion Vulnerability // 63 views
4. phpBB Two Security Bypass Vulnerabilities // 45 views
5. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 31 views
6. Debian update for php5 // 28 views
7. MetaGauge Directory Traversal Vulnerability // 27 views
8. Debian update for squid // 26 views
9. HP-UX NFS/ONCplus Denial of Service Vulnerability // 25 views
10. SUSE update for dovecot and graphicsmagic // 24 views