CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2009-4034

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.
Publish Date : 2009-12-15 Last Update Date : 2018-10-10
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
5.8
Confidentiality Impact None (There is no impact to the confidentiality of the system.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Bypass a restriction or similar
CWE ID 310

- Vendor Statements

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.
Source: Redhat

- Related OVAL Definitions

Title Definition Id Class Family
CVE-2009-4034 oval:org.opensuse.security:def:20094034 unix
DSA-1964 postgresql-7.4, postgresql-8.1, postgresql-8.3 -- several vulnerabilities oval:org.mitre.oval:def:6869 unix
DSA-1964-1 postgresql-7.4, postgresql-8.1, postgresql-8.3 -- several oval:org.mitre.oval:def:13000 unix
USN-876-1 -- postgresql-8.1, postgresql-8.3, postgresql-8.4 vulnerabilities oval:org.mitre.oval:def:13259 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2009-4034

# Product Type Vendor Product Version Update Edition Language
1 Application Postgresql Postgresql 7.4.1 Version Details Vulnerabilities
2 Application Postgresql Postgresql 7.4.2 Version Details Vulnerabilities
3 Application Postgresql Postgresql 7.4.3 Version Details Vulnerabilities
4 Application Postgresql Postgresql 7.4.4 Version Details Vulnerabilities
5 Application Postgresql Postgresql 7.4.5 Version Details Vulnerabilities
6 Application Postgresql Postgresql 7.4.6 Version Details Vulnerabilities
7 Application Postgresql Postgresql 7.4.7 Version Details Vulnerabilities
8 Application Postgresql Postgresql 7.4.8 Version Details Vulnerabilities
9 Application Postgresql Postgresql 7.4.9 Version Details Vulnerabilities
10 Application Postgresql Postgresql 7.4.10 Version Details Vulnerabilities
11 Application Postgresql Postgresql 7.4.11 Version Details Vulnerabilities
12 Application Postgresql Postgresql 7.4.12 Version Details Vulnerabilities
13 Application Postgresql Postgresql 7.4.13 Version Details Vulnerabilities
14 Application Postgresql Postgresql 7.4.14 Version Details Vulnerabilities
15 Application Postgresql Postgresql 7.4.15 Version Details Vulnerabilities
16 Application Postgresql Postgresql 7.4.16 Version Details Vulnerabilities
17 Application Postgresql Postgresql 7.4.17 Version Details Vulnerabilities
18 Application Postgresql Postgresql 7.4.18 Version Details Vulnerabilities
19 Application Postgresql Postgresql 7.4.19 Version Details Vulnerabilities
20 Application Postgresql Postgresql 7.4.20 Version Details Vulnerabilities
21 Application Postgresql Postgresql 7.4.21 Version Details Vulnerabilities
22 Application Postgresql Postgresql 7.4.22 Version Details Vulnerabilities
23 Application Postgresql Postgresql 7.4.23 Version Details Vulnerabilities
24 Application Postgresql Postgresql 7.4.24 Version Details Vulnerabilities
25 Application Postgresql Postgresql 7.4.25 Version Details Vulnerabilities
26 Application Postgresql Postgresql 7.4.26 Version Details Vulnerabilities
27 Application Postgresql Postgresql 8.0.0 Version Details Vulnerabilities
28 Application Postgresql Postgresql 8.0.1 Version Details Vulnerabilities
29 Application Postgresql Postgresql 8.0.2 Version Details Vulnerabilities
30 Application Postgresql Postgresql 8.0.3 Version Details Vulnerabilities
31 Application Postgresql Postgresql 8.0.4 Version Details Vulnerabilities
32 Application Postgresql Postgresql 8.0.5 Version Details Vulnerabilities
33 Application Postgresql Postgresql 8.0.6 Version Details Vulnerabilities
34 Application Postgresql Postgresql 8.0.7 Version Details Vulnerabilities
35 Application Postgresql Postgresql 8.0.8 Version Details Vulnerabilities
36 Application Postgresql Postgresql 8.0.9 Version Details Vulnerabilities
37 Application Postgresql Postgresql 8.0.10 Version Details Vulnerabilities
38 Application Postgresql Postgresql 8.0.11 Version Details Vulnerabilities
39 Application Postgresql Postgresql 8.0.12 Version Details Vulnerabilities
40 Application Postgresql Postgresql 8.0.13 Version Details Vulnerabilities
41 Application Postgresql Postgresql 8.0.14 Version Details Vulnerabilities
42 Application Postgresql Postgresql 8.0.15 Version Details Vulnerabilities
43 Application Postgresql Postgresql 8.0.16 Version Details Vulnerabilities
44 Application Postgresql Postgresql 8.0.17 Version Details Vulnerabilities
45 Application Postgresql Postgresql 8.0.18 Version Details Vulnerabilities
46 Application Postgresql Postgresql 8.0.19 Version Details Vulnerabilities
47 Application Postgresql Postgresql 8.0.20 Version Details Vulnerabilities
48 Application Postgresql Postgresql 8.0.21 Version Details Vulnerabilities
49 Application Postgresql Postgresql 8.0.22 Version Details Vulnerabilities
50 Application Postgresql Postgresql 8.1.0 Version Details Vulnerabilities
51 Application Postgresql Postgresql 8.1.1 Version Details Vulnerabilities
52 Application Postgresql Postgresql 8.1.2 Version Details Vulnerabilities
53 Application Postgresql Postgresql 8.1.3 Version Details Vulnerabilities
54 Application Postgresql Postgresql 8.1.4 Version Details Vulnerabilities
55 Application Postgresql Postgresql 8.1.5 Version Details Vulnerabilities
56 Application Postgresql Postgresql 8.1.6 Version Details Vulnerabilities
57 Application Postgresql Postgresql 8.1.7 Version Details Vulnerabilities
58 Application Postgresql Postgresql 8.1.8 Version Details Vulnerabilities
59 Application Postgresql Postgresql 8.1.9 Version Details Vulnerabilities
60 Application Postgresql Postgresql 8.1.10 Version Details Vulnerabilities
61 Application Postgresql Postgresql 8.1.11 Version Details Vulnerabilities
62 Application Postgresql Postgresql 8.1.12 Version Details Vulnerabilities
63 Application Postgresql Postgresql 8.1.13 Version Details Vulnerabilities
64 Application Postgresql Postgresql 8.1.14 Version Details Vulnerabilities
65 Application Postgresql Postgresql 8.1.15 Version Details Vulnerabilities
66 Application Postgresql Postgresql 8.1.16 Version Details Vulnerabilities
67 Application Postgresql Postgresql 8.1.17 Version Details Vulnerabilities
68 Application Postgresql Postgresql 8.1.18 Version Details Vulnerabilities
69 Application Postgresql Postgresql 8.2 Version Details Vulnerabilities
70 Application Postgresql Postgresql 8.2.1 Version Details Vulnerabilities
71 Application Postgresql Postgresql 8.2.2 Version Details Vulnerabilities
72 Application Postgresql Postgresql 8.2.3 Version Details Vulnerabilities
73 Application Postgresql Postgresql 8.2.4 Version Details Vulnerabilities
74 Application Postgresql Postgresql 8.2.5 Version Details Vulnerabilities
75 Application Postgresql Postgresql 8.2.6 Version Details Vulnerabilities
76 Application Postgresql Postgresql 8.2.7 Version Details Vulnerabilities
77 Application Postgresql Postgresql 8.2.8 Version Details Vulnerabilities
78 Application Postgresql Postgresql 8.2.9 Version Details Vulnerabilities
79 Application Postgresql Postgresql 8.2.10 Version Details Vulnerabilities
80 Application Postgresql Postgresql 8.2.11 Version Details Vulnerabilities
81 Application Postgresql Postgresql 8.2.12 Version Details Vulnerabilities
82 Application Postgresql Postgresql 8.2.13 Version Details Vulnerabilities
83 Application Postgresql Postgresql 8.2.14 Version Details Vulnerabilities
84 Application Postgresql Postgresql 8.3.1 Version Details Vulnerabilities
85 Application Postgresql Postgresql 8.3.2 Version Details Vulnerabilities
86 Application Postgresql Postgresql 8.3.3 Version Details Vulnerabilities
87 Application Postgresql Postgresql 8.3.4 Version Details Vulnerabilities
88 Application Postgresql Postgresql 8.3.5 Version Details Vulnerabilities
89 Application Postgresql Postgresql 8.3.6 Version Details Vulnerabilities
90 Application Postgresql Postgresql 8.3.7 Version Details Vulnerabilities
91 Application Postgresql Postgresql 8.3.8 Version Details Vulnerabilities
92 Application Postgresql Postgresql 8.4.1 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Postgresql Postgresql 92

- References For CVE-2009-4034

http://www.securityfocus.com/bid/37334
BID 37334 PostgreSQL NULL Character CA SSL Certificate Validation Security Bypass Vulnerability Release Date:2012-07-02
https://www.redhat.com/archives/fedora-package-announce/2009-December/msg01056.html
FEDORA FEDORA-2009-13381
http://www.vupen.com/english/advisories/2009/3519
VUPEN ADV-2009-3519
https://www.redhat.com/archives/fedora-package-announce/2009-December/msg01035.html
FEDORA FEDORA-2009-13363
http://www.securitytracker.com/id?1023325
SECTRACK 1023325
http://www.postgresql.org/support/security.html CONFIRM
http://www.securityfocus.com/archive/1/509917/100/0/threaded
BUGTRAQ 20100307 rPSA-2010-0012-1 postgresql postgresql-contrib postgresql-server
http://www.postgresql.org/docs/current/static/release-8-3-9.html CONFIRM
http://www.postgresql.org/docs/current/static/release-8-4-2.html CONFIRM
http://www.mandriva.com/security/advisories?name=MDVSA-2009:333
MANDRIVA MDVSA-2009:333
http://www.postgresql.org/docs/current/static/release-7-4-27.html CONFIRM
http://www.postgresql.org/docs/current/static/release-8-0-23.html CONFIRM
http://www.postgresql.org/docs/current/static/release-8-2-15.html CONFIRM
http://www.postgresql.org/docs/current/static/release-8-1-19.html CONFIRM
http://wiki.rpath.com/wiki/Advisories:rPSA-2010-0012 CONFIRM
http://marc.info/?l=bugtraq&m=134124585221119&w=2
HP HPSBMU02781
http://lists.opensuse.org/opensuse-security-announce/2010-01/msg00007.html
SUSE SUSE-SR:2010:001

- Metasploit Modules Related To CVE-2009-4034

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.