CVE-2013-4248

Summary

CVECVE-2013-4248
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2013-08-18 02:52:23 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 4.3 from [email protected]

AV:N/AC:M/Au:N/C:N/I:P/A:N

Problem Types: CWE-20 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:M/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 10.04 - lts All
Operating System Canonical Ubuntu Linux 12.04 - lts All
Operating System Canonical Ubuntu Linux 12.10 All All All
Operating System Canonical Ubuntu Linux 13.04 All All All
Application Php Php 5.0.0 All All All
Application Php Php 5.0.0 beta1 All All
Application Php Php 5.0.0 beta2 All All
Application Php Php 5.0.0 beta3 All All
Application Php Php 5.0.0 beta4 All All
Application Php Php 5.0.0 rc1 All All
Application Php Php 5.0.0 rc2 All All
Application Php Php 5.0.0 rc3 All All
Application Php Php 5.0.1 All All All
Application Php Php 5.0.2 All All All
Application Php Php 5.0.3 All All All
Application Php Php 5.0.4 All All All
Application Php Php 5.0.5 All All All
Application Php Php 5.1.0 All All All
Application Php Php 5.1.1 All All All
Application Php Php 5.1.2 All All All
Application Php Php 5.1.3 All All All
Application Php Php 5.1.4 All All All
Application Php Php 5.1.5 All All All
Application Php Php 5.1.6 All All All
Application Php Php 5.2.0 All All All
Application Php Php 5.2.1 All All All
Application Php Php 5.2.10 All All All
Application Php Php 5.2.11 All All All
Application Php Php 5.2.12 All All All
Application Php Php 5.2.13 All All All
Application Php Php 5.2.14 All All All
Application Php Php 5.2.15 All All All
Application Php Php 5.2.16 All All All
Application Php Php 5.2.17 All All All
Application Php Php 5.2.2 All All All
Application Php Php 5.2.3 All All All
Application Php Php 5.2.4 All All All
Application Php Php 5.2.5 All All All
Application Php Php 5.2.6 All All All
Application Php Php 5.2.7 All All All
Application Php Php 5.2.8 All All All
Application Php Php 5.2.9 All All All
Application Php Php 5.3.0 All All All
Application Php Php 5.3.1 All All All
Application Php Php 5.3.10 All All All
Application Php Php 5.3.11 All All All
Application Php Php 5.3.12 All All All
Application Php Php 5.3.13 All All All
Application Php Php 5.3.14 All All All
Application Php Php 5.3.15 All All All
Application Php Php 5.3.16 All All All
Application Php Php 5.3.17 All All All
Application Php Php 5.3.18 All All All
Application Php Php 5.3.19 All All All
Application Php Php 5.3.2 All All All
Application Php Php 5.3.20 All All All
Application Php Php 5.3.21 All All All
Application Php Php 5.3.22 All All All
Application Php Php 5.3.23 All All All
Application Php Php 5.3.24 All All All
Application Php Php 5.3.25 All All All
Application Php Php 5.3.26 All All All
Application Php Php 5.3.27 All All All
Application Php Php 5.3.3 All All All
Application Php Php 5.3.4 All All All
Application Php Php 5.3.5 All All All
Application Php Php 5.3.6 All All All
Application Php Php 5.3.7 All All All
Application Php Php 5.3.8 All All All
Application Php Php 5.3.9 All All All
Application Php Php 5.4.0 All All All
Application Php Php 5.4.1 All All All
Application Php Php 5.4.10 All All All
Application Php Php 5.4.11 All All All
Application Php Php 5.4.12 All All All
Application Php Php 5.4.12 rc1 All All
Application Php Php 5.4.12 rc2 All All
Application Php Php 5.4.13 All All All
Application Php Php 5.4.13 rc1 All All
Application Php Php 5.4.14 All All All
Application Php Php 5.4.14 rc1 All All
Application Php Php 5.4.15 rc1 All All
Application Php Php 5.4.16 rc1 All All
Application Php Php 5.4.2 All All All
Application Php Php 5.4.3 All All All
Application Php Php 5.4.4 All All All
Application Php Php 5.4.5 All All All
Application Php Php 5.4.6 All All All
Application Php Php 5.4.7 All All All
Application Php Php 5.4.8 All All All
Application Php Php 5.4.9 All All All
Application Php Php 5.5.0 All All All
Application Php Php 5.5.1 All All All
Application Php Php All All All All
Operating System Redhat Enterprise Linux 5 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Security Advisory SA54657 - Ubuntu update for php - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
openSUSE-SU-2013:1963-1: moderate: update for php5 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
openSUSE-SU-2013:1964-1: moderate: update for php5 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
'[security bulletin] HPSBUX03150 SSRT101681 rev.1 - HP-UX Apache Server Suite running Apache Tomcat o' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info
PHP SSL Certificate Validation CVE-2013-4248 Security Bypass Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
About the security content of OS X Mavericks v10.9.2 and Security Update 2014-001 - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Vendor Advisory
PHP: PHP 5 ChangeLog af854a3a-2127-422b-91ae-364da2661108 www.php.net
208.43.231.11 Git - php-src.git/commit af854a3a-2127-422b-91ae-364da2661108 git.php.net
PHP OpenSSL subjectAltName Null Byte Processing Flaw Lets Remote Users Spoof SSL Servers - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
Security Advisory SA59652 - SUSE update for php5 - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Debian -- Security Information -- DSA-2742-1 php5 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Security Advisory SA54478 - Debian update for php5 - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
About Secunia Research | Flexera af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
USN-1937-1: PHP vulnerability | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com Vendor Advisory
208.43.231.11 Git - php-src.git/commit MITRE git.php.net
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

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.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report