PostgreSQL SET ROLE command privilege elevation

postgresql-setrole-privilege-elevation (24718) The risk level is classified as MediumMedium Risk

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.

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

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.

Consequences:

Gain Privileges

References:

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 (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.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page