search menu icon-carat-right cmu-wordmark

CERT Coordination Center

PostgreSQL database privilege escalation vulnerability

Vulnerability Note VU#567452

Original Release Date: 2006-02-27 | Last Revised: 2006-05-17

Overview

PostgreSQL fails to properly recover from errors. This may allow an authenticated attacker to gain elevated privileges on a PostgreSQL database.

Description

PostgreSQL Database

PostgreSQL is an open source database management system.

The Problem

There is a vulnerability in the way that PostgreSQL recovers from errors. According to the release notes for PostgreSQL 8.1.3:

Due to inadequate validity checking, a user could exploit the special case that SET ROLE normally uses to restore the previous role setting after an error. This allowed ordinary users to acquire superuser status, for example.
Considerations

This issue only exists in PostgreSQL versions 8.1.0 to 8.1.2. An attacker must have valid credentials to exploit this vulnerability.

Impact

An authenticated attacker may be able to gain elevated privileges on a PostgreSQL database.

Solution

Upgrade

This issue has been corrected in PostgreSQL version 8.1.3.

Vendor Information

567452
 
Affected   Unknown   Unaffected

PostgreSQL

Updated:  February 27, 2006

Status

  Vulnerable

Vendor Statement

No statement is currently available from the vendor regarding this vulnerability.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

Please see http://www.postgresql.org/docs/8.1/static/release.html#RELEASE-8-1-3.

If you have feedback, comments, or additional information about this vulnerability, please send us email.

Red Hat, Inc.

Updated:  May 17, 2006

Status

  Unknown

Vendor Statement

This issue does not affect the PostgreSQL packages supplied by Red Hat in Red Hat Enterprise Linux 2.1, 3, or 4.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.


CVSS Metrics

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A

References

Acknowledgements

This issue was reported in the release notes for PostgreSQL 8.1.3. PostgreSQL credits Akio Ishida with providing information regarding this issue.

This document was written by Jeff Gennari.

Other Information

CVE IDs: CVE-2006-0553
Severity Metric: 2.55
Date Public: 2006-02-14
Date First Published: 2006-02-27
Date Last Updated: 2006-05-17 12:27 UTC
Document Revision: 17

Sponsored by the Department of Homeland Security Office of Cybersecurity and Communications.