PostgreSQL SET ROLE command privilege elevation
| postgresql-setrole-privilege-elevation (24718) |
Description:
PostgreSQL could allow an authenticated database user to gain elevated privileges. An attacker could exploit this vulnerability by sending a specially-crafted SET ROLE command to other database users after an error has occurred to gain the privileges of the targeted user.
*CVSS:
| Base Score: | 4.2 |
| Access Vector: | Remote |
| Access Complexity: | Low |
| Authentication: | Required |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 3.1 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Privileges
Remedy:
Upgrade to the latest version of PostgreSQL (8.1.3 or later), available from the PostgreSQL Web site. See references.
For OpenPKG:
Refer to OpenPKG Security Advisory OpenPKG-SA-2006.004 for patch, upgrade, or suggested workaround information. See References.
References:
- BugTraq Mailing List, Wed Feb 15 2006 - 09:05:22 CST : PostgreSQL security releases 8.1.3, 8.0.7, 7.4.12, 7.3.14.
- PostgreSQL Web site: Downloads.
- BID-16649: PostgreSQL Remote SET ROLE Privilege Escalation Vulnerability
- CVE-2006-0553: PostgreSQL 8.1.0 through 8.1.2 allows authenticated database users to gain additional privileges via knowledge of the backend protocol using a crafted SET ROLE to other database users, a different vulnerability than CVE-2006-0678.
- OpenPKG-SA-2006.004: PostgreSQL
- SA18890: PostgreSQL Privilege Escalation and Denial of Service
- SECTRACK ID: 1015636: PostgreSQL SET ROLE Validation Error Lets Remote Authenticated Users Obtain Elevated Privileges
- US-CERT VU#567452: PostgreSQL database privilege escalation vulnerability
- VUPEN/ADV-2006-0605: PostgreSQL Privilege Escalation and Denial of Service Vulnerabilities
Platforms Affected:
- OpenPKG OpenPKG 2.3
- OpenPKG OpenPKG 2.4
- OpenPKG OpenPKG 2.5
- OpenPKG OpenPKG CURRENT
- PostgreSQL PostgreSQL 8.1.0
- PostgreSQL PostgreSQL 8.1.1
- PostgreSQL PostgreSQL 8.1.2
Reported:
Feb 15, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
