Public Date:
997097: CVE-2013-4248 php: hostname check bypassing vulnerability in SSL client

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2013-4248 from the MITRE CVE dictionary dictionary and NIST NVD.


This issue does not affect the version of php as shipped with Red Hat Enterprise Linux 5 or the version of php54 as shipped with Red Hat Software Collections 1.

CVSS v2 metrics

NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.

Base Score 4.3
Base Metrics AV:N/AC:M/Au:N/C:N/I:P/A:N
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux version 6 (php) RHSA-2013:1615 2013-11-20
Red Hat Enterprise Linux version 5 (php53) RHSA-2013:1307 2013-09-30

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 5 php Not affected
Red Hat Enterprise Linux 7 php Not affected