Wget NULL Character CA SSL Certificate Validation Security Bypass Vulnerability
BID:36205
Info
Wget NULL Character CA SSL Certificate Validation Security Bypass Vulnerability
| Bugtraq ID: | 36205 |
| Class: | Design Error |
| CVE: |
CVE-2009-3490 |
| Remote: | Yes |
| Local: | No |
| Published: | Aug 05 2009 12:00AM |
| Updated: | Apr 13 2015 09:28PM |
| Credit: | Micah Cowan |
| Vulnerable: |
Ubuntu Ubuntu Linux 9.04 sparc Ubuntu Ubuntu Linux 9.04 powerpc Ubuntu Ubuntu Linux 9.04 lpia Ubuntu Ubuntu Linux 9.04 i386 Ubuntu Ubuntu Linux 9.04 amd64 Ubuntu Ubuntu Linux 8.10 sparc Ubuntu Ubuntu Linux 8.10 powerpc Ubuntu Ubuntu Linux 8.10 lpia Ubuntu Ubuntu Linux 8.10 i386 Ubuntu Ubuntu Linux 8.10 amd64 Ubuntu Ubuntu Linux 8.04 LTS sparc Ubuntu Ubuntu Linux 8.04 LTS powerpc Ubuntu Ubuntu Linux 8.04 LTS lpia Ubuntu Ubuntu Linux 8.04 LTS i386 Ubuntu Ubuntu Linux 8.04 LTS amd64 Ubuntu Ubuntu Linux 6.06 LTS sparc Ubuntu Ubuntu Linux 6.06 LTS powerpc Ubuntu Ubuntu Linux 6.06 LTS i386 Ubuntu Ubuntu Linux 6.06 LTS amd64 Sun Solaris 9_x86 Sun Solaris 9_sparc Sun Solaris 10_x86 Sun Solaris 10_sparc Sun OpenSolaris build snv_99 Sun OpenSolaris build snv_98 Sun OpenSolaris build snv_96 Sun OpenSolaris build snv_95 Sun OpenSolaris build snv_94 Sun OpenSolaris build snv_93 Sun OpenSolaris build snv_92 Sun OpenSolaris build snv_91 Sun OpenSolaris build snv_90 Sun OpenSolaris build snv_89 Sun OpenSolaris build snv_88 Sun OpenSolaris build snv_87 Sun OpenSolaris build snv_86 Sun OpenSolaris build snv_85 Sun OpenSolaris build snv_84 Sun OpenSolaris build snv_83 Sun OpenSolaris build snv_82 Sun OpenSolaris build snv_81 Sun OpenSolaris build snv_80 Sun OpenSolaris build snv_78 Sun OpenSolaris build snv_77 Sun OpenSolaris build snv_76 Sun OpenSolaris build snv_68 Sun OpenSolaris build snv_67 Sun OpenSolaris build snv_64 Sun OpenSolaris build snv_61 Sun OpenSolaris build snv_59 Sun OpenSolaris build snv_58 Sun OpenSolaris build snv_57 Sun OpenSolaris build snv_54 Sun OpenSolaris build snv_51 Sun OpenSolaris build snv_50 Sun OpenSolaris build snv_49 Sun OpenSolaris build snv_48 Sun OpenSolaris build snv_47 Sun OpenSolaris build snv_45 Sun OpenSolaris build snv_41 Sun OpenSolaris build snv_39 Sun OpenSolaris build snv_38 Sun OpenSolaris build snv_37 Sun OpenSolaris build snv_36 Sun OpenSolaris build snv_29 Sun OpenSolaris build snv_28 Sun OpenSolaris build snv_22 Sun OpenSolaris build snv_19 Sun OpenSolaris build snv_13 Sun OpenSolaris build snv_125 Sun OpenSolaris build snv_124 Sun OpenSolaris build snv_123 Sun OpenSolaris build snv_122 Sun OpenSolaris build snv_121 Sun OpenSolaris build snv_120 Sun OpenSolaris build snv_119 Sun OpenSolaris build snv_118 Sun OpenSolaris build snv_117 Sun OpenSolaris build snv_116 Sun OpenSolaris build snv_115 Sun OpenSolaris build snv_114 Sun OpenSolaris build snv_113 Sun OpenSolaris build snv_112 Sun OpenSolaris build snv_111a Sun OpenSolaris build snv_111 Sun OpenSolaris build snv_110 Sun OpenSolaris build snv_109 Sun OpenSolaris build snv_108 Sun OpenSolaris build snv_107 Sun OpenSolaris build snv_106 Sun OpenSolaris build snv_105 Sun OpenSolaris build snv_104 Sun OpenSolaris build snv_103 Sun OpenSolaris build snv_102 Sun OpenSolaris build snv_101a Sun OpenSolaris build snv_101 Sun OpenSolaris build snv_100 Sun OpenSolaris build snv_02 Sun OpenSolaris build snv_01 Redhat Enterprise Linux WS 4 Redhat Enterprise Linux WS 3 Redhat Enterprise Linux Virtualization 5 Server Redhat Enterprise Linux ES 4 Redhat Enterprise Linux ES 3 Redhat Enterprise Linux Desktop 5 client Redhat Enterprise Linux AS 4 Redhat Enterprise Linux AS 3 Redhat Enterprise Linux Desktop version 4 Redhat Enterprise Linux 5 Server Redhat Desktop 3.0 Mandriva Linux Mandrake 2008.0 x86_64 Mandriva Linux Mandrake 2008.0 GNU wget 1.11.4 GNU wget 1.10.2 GNU wget 1.10.1 GNU wget 1.10 GNU wget 1.9.1 GNU wget 1.9 GNU wget 1.8.2 GNU wget 1.8.1 GNU wget 1.8 GNU wget 1.7.1 GNU wget 1.7 GNU wget 1.6 GNU wget 1.5.3 Gentoo Linux Debian Linux 5.0 sparc Debian Linux 5.0 s/390 Debian Linux 5.0 powerpc Debian Linux 5.0 mipsel Debian Linux 5.0 mips Debian Linux 5.0 m68k Debian Linux 5.0 ia-64 Debian Linux 5.0 ia-32 Debian Linux 5.0 hppa Debian Linux 5.0 armel Debian Linux 5.0 arm Debian Linux 5.0 amd64 Debian Linux 5.0 alpha Debian Linux 5.0 Debian Linux 4.0 sparc Debian Linux 4.0 s/390 Debian Linux 4.0 powerpc Debian Linux 4.0 mipsel Debian Linux 4.0 mips Debian Linux 4.0 m68k Debian Linux 4.0 ia-64 Debian Linux 4.0 ia-32 Debian Linux 4.0 hppa Debian Linux 4.0 armel Debian Linux 4.0 arm Debian Linux 4.0 amd64 Debian Linux 4.0 alpha Debian Linux 4.0 Avaya Aura SIP Enablement Services 5.1 Avaya Aura Communication Manager 5.1 Avaya Aura Application Enablement Services 3.1.6 Avaya Aura Application Enablement Services 4.0 Avaya Aura Application Enablement Services 3.1 |
| Not Vulnerable: |
Sun OpenSolaris build snv_126 Avaya Aura SIP Enablement Services 5.2.1 SSP#1 |
Discussion
Wget NULL Character CA SSL Certificate Validation Security Bypass Vulnerability
Wget is prone to a security-bypass vulnerability because the application fails to properly validate the domain name in a signed CA certificate, allowing attackers to substitute malicious SSL certificates for trusted ones.
Successfully exploiting this issue allows attackers to perform man-in-the-middle attacks or impersonate trusted servers, which will aid in further attacks.
Wget 1.11.4 is vulnerable; other versions may also be affected.
Wget is prone to a security-bypass vulnerability because the application fails to properly validate the domain name in a signed CA certificate, allowing attackers to substitute malicious SSL certificates for trusted ones.
Successfully exploiting this issue allows attackers to perform man-in-the-middle attacks or impersonate trusted servers, which will aid in further attacks.
Wget 1.11.4 is vulnerable; other versions may also be affected.
Exploit / POC
Wget NULL Character CA SSL Certificate Validation Security Bypass Vulnerability
Attackers use man-in-the-middle attacks to exploit this issue.
Attackers use man-in-the-middle attacks to exploit this issue.
Solution / Fix
Wget NULL Character CA SSL Certificate Validation Security Bypass Vulnerability
Solution:
Updates are available. Please see the references for more information.
Ubuntu Ubuntu Linux 8.10 powerpc
Debian Linux 5.0 alpha
Mandriva Linux Mandrake 2008.0
Ubuntu Ubuntu Linux 9.04 sparc
Debian Linux 4.0 amd64
Debian Linux 4.0 ia-32
Ubuntu Ubuntu Linux 8.10 sparc
Ubuntu Ubuntu Linux 9.04 lpia
Debian Linux 5.0 armel
Debian Linux 5.0 mips
Ubuntu Ubuntu Linux 9.04 amd64
Debian Linux 5.0 sparc
Debian Linux 4.0 arm
Debian Linux 4.0 powerpc
Ubuntu Ubuntu Linux 8.10 i386
Debian Linux 5.0 s/390
Ubuntu Ubuntu Linux 8.04 LTS lpia
Ubuntu Ubuntu Linux 6.06 LTS i386
Debian Linux 5.0 hppa
Debian Linux 4.0 sparc
Ubuntu Ubuntu Linux 8.04 LTS i386
Solution:
Updates are available. Please see the references for more information.
Ubuntu Ubuntu Linux 8.10 powerpc
-
Ubuntu wget-udeb_1.11.4-1ubuntu1.1_powerpc.udeb
http://ports.ubuntu.com/pool/universe/w/wget/wget-udeb_1.11.4-1ubuntu1 .1_powerpc.udeb -
Ubuntu wget_1.11.4-1ubuntu1.1_powerpc.deb
http://ports.ubuntu.com/pool/main/w/wget/wget_1.11.4-1ubuntu1.1_powerp c.deb
Debian Linux 5.0 alpha
-
Debian wget_1.11.4-2+lenny1_alpha.deb
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenn y1_alpha.deb
Mandriva Linux Mandrake 2008.0
-
Mandriva wget-1.10.2-6.1mdv2008.0.i586.rpm
http://www.mandriva.com/en/download/
Ubuntu Ubuntu Linux 9.04 sparc
-
Ubuntu wget-udeb_1.11.4-2ubuntu1.1_sparc.udeb
http://ports.ubuntu.com/pool/universe/w/wget/wget-udeb_1.11.4-2ubuntu1 .1_sparc.udeb -
Ubuntu wget_1.11.4-2ubuntu1.1_sparc.deb
http://ports.ubuntu.com/pool/main/w/wget/wget_1.11.4-2ubuntu1.1_sparc. deb
Debian Linux 4.0 amd64
-
Debian wget_1.10.2-2+etch1_amd64.deb
http://security.debian.org/pool/updates/main/w/wget/wget_1.10.2-2+etch 1_amd64.deb
Debian Linux 4.0 ia-32
-
Debian wget_1.10.2-2+etch1_i386.deb
http://security.debian.org/pool/updates/main/w/wget/wget_1.10.2-2+etch 1_i386.deb
Ubuntu Ubuntu Linux 8.10 sparc
-
Ubuntu wget-udeb_1.11.4-1ubuntu1.1_sparc.udeb
http://ports.ubuntu.com/pool/universe/w/wget/wget-udeb_1.11.4-1ubuntu1 .1_sparc.udeb -
Ubuntu wget_1.11.4-1ubuntu1.1_sparc.deb
http://ports.ubuntu.com/pool/main/w/wget/wget_1.11.4-1ubuntu1.1_sparc. deb
Ubuntu Ubuntu Linux 9.04 lpia
-
Ubuntu wget-udeb_1.11.4-2ubuntu1.1_lpia.udeb
http://ports.ubuntu.com/pool/universe/w/wget/wget-udeb_1.11.4-2ubuntu1 .1_lpia.udeb -
Ubuntu wget_1.11.4-2ubuntu1.1_lpia.deb
http://ports.ubuntu.com/pool/main/w/wget/wget_1.11.4-2ubuntu1.1_lpia.d eb
Debian Linux 5.0 armel
-
Debian wget_1.11.4-2+lenny1_armel.deb
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenn y1_armel.deb
Debian Linux 5.0 mips
-
Debian wget_1.11.4-2+lenny1_mips.deb
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenn y1_mips.deb
Ubuntu Ubuntu Linux 9.04 amd64
-
Ubuntu wget-udeb_1.11.4-2ubuntu1.1_amd64.udeb
http://security.ubuntu.com/ubuntu/pool/universe/w/wget/wget-udeb_1.11. 4-2ubuntu1.1_amd64.udeb -
Ubuntu wget_1.11.4-2ubuntu1.1_amd64.deb
http://security.ubuntu.com/ubuntu/pool/main/w/wget/wget_1.11.4-2ubuntu 1.1_amd64.deb
Debian Linux 5.0 sparc
-
Debian wget_1.11.4-2+lenny1_sparc.deb
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenn y1_sparc.deb
Debian Linux 4.0 arm
-
Debian wget_1.10.2-2+etch1_arm.deb
http://security.debian.org/pool/updates/main/w/wget/wget_1.10.2-2+etch 1_arm.deb
Debian Linux 4.0 powerpc
-
Debian wget_1.10.2-2+etch1_powerpc.deb
http://security.debian.org/pool/updates/main/w/wget/wget_1.10.2-2+etch 1_powerpc.deb
Ubuntu Ubuntu Linux 8.10 i386
-
Ubuntu wget-udeb_1.11.4-1ubuntu1.1_i386.udeb
http://security.ubuntu.com/ubuntu/pool/universe/w/wget/wget-udeb_1.11. 4-1ubuntu1.1_i386.udeb -
Ubuntu wget_1.11.4-1ubuntu1.1_i386.deb
http://security.ubuntu.com/ubuntu/pool/main/w/wget/wget_1.11.4-1ubuntu 1.1_i386.deb
Debian Linux 5.0 s/390
-
Debian wget_1.11.4-2+lenny1_s390.deb
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenn y1_s390.deb
Ubuntu Ubuntu Linux 8.04 LTS lpia
-
Ubuntu wget-udeb_1.10.2-3ubuntu1.1_lpia.udeb
http://ports.ubuntu.com/pool/universe/w/wget/wget-udeb_1.10.2-3ubuntu1 .1_lpia.udeb -
Ubuntu wget_1.10.2-3ubuntu1.1_lpia.deb
http://ports.ubuntu.com/pool/main/w/wget/wget_1.10.2-3ubuntu1.1_lpia.d eb
Ubuntu Ubuntu Linux 6.06 LTS i386
-
Ubuntu wget_1.10.2-1ubuntu1.1_i386.deb
http://security.ubuntu.com/ubuntu/pool/main/w/wget/wget_1.10.2-1ubuntu 1.1_i386.deb
Debian Linux 5.0 hppa
-
Debian wget_1.11.4-2+lenny1_hppa.deb
http://security.debian.org/pool/updates/main/w/wget/wget_1.11.4-2+lenn y1_hppa.deb
Debian Linux 4.0 sparc
-
Debian wget_1.10.2-2+etch1_sparc.deb
http://security.debian.org/pool/updates/main/w/wget/wget_1.10.2-2+etch 1_sparc.deb
Ubuntu Ubuntu Linux 8.04 LTS i386
-
Ubuntu wget-udeb_1.10.2-3ubuntu1.1_i386.udeb
http://security.ubuntu.com/ubuntu/pool/universe/w/wget/wget-udeb_1.10. 2-3ubuntu1.1_i386.udeb -
Ubuntu wget_1.10.2-3ubuntu1.1_i386.deb
http://security.ubuntu.com/ubuntu/pool/main/w/wget/wget_1.10.2-3ubuntu 1.1_i386.deb
References
Wget NULL Character CA SSL Certificate Validation Security Bypass Vulnerability
References:
References:
- [wget-notify] [bug #27183] Wget likely suffers from the \0 SSL cert vulnerabilit (Micah Cowan)
- changeset: Add NUL-character fix to NEWS file. (Micah Cowan)
- changeset: Detect NULs in common name. (Joao Ferreira)
- changeset: Only warn of attack if the hostname would have matched. (Micah Cowan)
- GNU Wget Homepage (GNU)
- ASA-2009-497 (RHSA-2009-1549) (Avaya)
- Security Vulnerability in wget(1) Related to Certificate Parsing may Allow Encry (Sun Microsystems)