Bug 522084 (CVE-2009-3231)

Summary: CVE-2009-3231 postgresql: LDAP authentication bypass when anonymous LDAP bind are allowed
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: jlieskov, kaigai, ldimaggi, tgl, vdanen
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-29 10:02:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 522221    
Bug Blocks:    

Description Tomas Hoger 2009-09-09 13:03:29 UTC
Quoting upstream PostgreSQL security page:
  http://www.postgresql.org/support/security.html

  If PostgreSQL is configured with LDAP authentication, and your LDAP
  configuration allows anonymous binds, it is possible for a user to
  authenticate themselves with an empty password.

Affected versions: 8.3, 8.2

Fixed in versions: 8.3.8, 8.2.14

Severity: A - A vulnerability that is exploitable for privilege escalation without requiring a prior login.

Comment 1 Fedora Update System 2009-09-09 18:14:48 UTC
postgresql-8.3.8-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/postgresql-8.3.8-1.fc11

Comment 2 Fedora Update System 2009-09-09 18:15:03 UTC
postgresql-8.3.8-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/postgresql-8.3.8-1.fc10

Comment 4 Fedora Update System 2009-09-11 23:20:55 UTC
postgresql-8.3.8-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2009-09-11 23:21:31 UTC
postgresql-8.3.8-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Tomas Hoger 2009-09-17 06:55:11 UTC
LDAP authentication support is not available in PostgreSQL packages in Red Hat Enterprise Linux 3, 4 and 5, and Red Hat Application Stack v1.  PostgreSQL packages shipped in those products are not affected by this flaw.

Comment 8 errata-xmlrpc 2009-09-23 21:38:46 UTC
This issue has been addressed in following products:

  Red Hat Web Application Stack for RHEL 5

Via RHSA-2009:1461 https://rhn.redhat.com/errata/RHSA-2009-1461.html