CVE-2013-4248
MEDIUM
4.3
CVSS 2.0
Description
The openssl_x509_parse function in openssl.c in the OpenSSL module in PHP before 5.4.18 and 5.5.x before 5.5.2 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.
Affected products and versions
- PHP — Up to and including 5.4.17
- PHP versions 5.0.0, 5.0.0beta1, 5.0.0beta2, 5.0.0beta3, 5.0.0beta4, 5.0.0rc1, 5.0.0rc2, 5.0.0rc3, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.1.4, 5.1.5, 5.1.6, 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.2.4, 5.2.5, 5.2.6, 5.2.7, 5.2.8, 5.2.9, 5.2.10, 5.2.11, 5.2.12, 5.2.13, 5.2.14, 5.2.15, 5.2.16, 5.2.17, 5.3.0, 5.3.1, 5.3.2, 5.3.3, 5.3.4, 5.3.5, 5.3.6, 5.3.7, 5.3.8, 5.3.9, 5.3.10, 5.3.11, 5.3.12, 5.3.13, 5.3.14, 5.3.15, 5.3.16, 5.3.17, 5.3.18, 5.3.19, 5.3.20, 5.3.21, 5.3.22, 5.3.23, 5.3.24, 5.3.25, 5.3.26, 5.3.27, 5.4.0, 5.4.1, 5.4.2, 5.4.3, 5.4.4, 5.4.5, 5.4.6, 5.4.7, 5.4.8, 5.4.9, 5.4.10, 5.4.11, 5.4.12, 5.4.12rc1, 5.4.12rc2, 5.4.13, 5.4.13rc1, 5.4.14, 5.4.14rc1, 5.4.15rc1, 5.4.16rc1, 5.5.0, 5.5.1
References
- git.php.net http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=2874696a5a8d46639d261571f915c493cd875897
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2013-12/msg00125.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2013-12/msg00126.html
- marc.info http://marc.info/?l=bugtraq&m=141390017113542&w=2
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-1307.html Vendor Advisory
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2013-1615.html
- secunia.com http://secunia.com/advisories/54478 Vendor Advisory
- secunia.com http://secunia.com/advisories/54657 Vendor Advisory
- secunia.com http://secunia.com/advisories/55078 Vendor Advisory
- secunia.com http://secunia.com/advisories/59652
- support.apple.com http://support.apple.com/kb/HT6150
- www.debian.org http://www.debian.org/security/2013/dsa-2742
- www.php.net http://www.php.net/ChangeLog-5.php
- www.securityfocus.com http://www.securityfocus.com/bid/61776
- www.securitytracker.com http://www.securitytracker.com/id/1028924
- www.ubuntu.com http://www.ubuntu.com/usn/USN-1937-1 Vendor Advisory
- nvd.nist.gov Official NVD record