National Cyber Awareness System
Vulnerability Summary for CVE-2009-4034
Original release date:12/15/2009
Last revised:03/26/2010
Source:
US-CERT/NIST
Overview
PostgreSQL 7.4.x before 7.4.27, 8.0.x before 8.0.23, 8.1.x before 8.1.19, 8.2.x before 8.2.15, 8.3.x before 8.3.9, and 8.4.x before 8.4.2 does not properly handle a '\0' character in a domain name in the subject's Common Name (CN) field of an X.509 certificate, which (1) allows man-in-the-middle attackers to spoof arbitrary SSL-based PostgreSQL servers via a crafted server certificate issued by a legitimate Certification Authority, and (2) allows remote attackers to bypass intended client-hostname restrictions via a crafted client certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.
Impact
CVSS Severity (version 2.0):
Impact Subscore:
4.9
Exploitability Subscore:
8.6
CVSS Version 2 Metrics:
Access Vector: Network exploitable
Access Complexity: Medium
Authentication: Not required to exploit
Impact Type:Allows unauthorized modification; Allows disruption of service
Official Statement from Red Hat (01/07/2010)
This issue is only security-relevant in PostgreSQL versions 8.4 and later as previous versions did not compare the connection host name with the certificate CommonName at all. Client certificate authentication was introduced in version 8.4. Red Hat Enterprise Linux 5 and earlier provided PostgreSQL versions 8.1.x and earlier, and are thus not affected by this issue.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.
External Source: CONFIRM
Name: http://www.postgresql.org/docs/current/static/release-8-4-2.html
Type: Advisory; Patch Information
External Source: CONFIRM
Name: http://www.postgresql.org/docs/current/static/release-8-3-9.html
Type: Advisory; Patch Information
External Source: CONFIRM
Name: http://www.postgresql.org/docs/current/static/release-8-2-15.html
Type: Advisory; Patch Information
External Source: CONFIRM
Name: http://www.postgresql.org/docs/current/static/release-8-1-19.html
Type: Advisory; Patch Information
External Source: CONFIRM
Name: http://www.postgresql.org/docs/current/static/release-8-0-23.html
Type: Advisory; Patch Information
External Source: CONFIRM
Name: http://www.postgresql.org/docs/current/static/release-7-4-27.html
Type: Advisory; Patch Information
External Source: FEDORA
Name: FEDORA-2009-13381
External Source: FEDORA
Name: FEDORA-2009-13363
External Source: VUPEN
Name: ADV-2009-3519
External Source: SECTRACK
Name: 1023325
External Source: BID
Name: 37334
External Source: BUGTRAQ
Name: 20100307 rPSA-2010-0012-1 postgresql postgresql-contrib postgresql-server
External Source: CONFIRM
Name: http://www.postgresql.org/support/security.html
Type: Advisory
External Source: MANDRIVA
Name: MDVSA-2009:333
External Source: CONFIRM
Name: http://wiki.rpath.com/wiki/Advisories:rPSA-2010-0012
External Source: SECUNIA
Name: 37663
External Source: OSVDB
Name: 61038
External Source: SUSE
Name: SUSE-SR:2010:001