CVE-2013-4248
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 3.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.3% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.3% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- Canonical Ubuntu Linux 10.04
- Canonical Ubuntu Linux 12.04
- Canonical Ubuntu Linux 12.10
- Canonical Ubuntu Linux 13.04
- PHP ≤ 5.4.17
- PHP 5.0.0
- PHP 5.0.1
- PHP 5.0.2
Attack profile CVSS 2.0 · 4.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2013-4248.md and follow it. Check whether this project is affected by CVE-2013-4248. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://rhn.redhat.com/errata/RHSA-2013-1307.html
- http://secunia.com/advisories/54478
- http://secunia.com/advisories/54657
- http://secunia.com/advisories/55078
- http://www.ubuntu.com/usn/USN-1937-1
- http://rhn.redhat.com/errata/RHSA-2013-1307.html
- http://secunia.com/advisories/54478
- http://secunia.com/advisories/54657
- http://secunia.com/advisories/55078
- http://www.ubuntu.com/usn/USN-1937-1
References
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=2874696a5a8d46639d261571f915c493cd875897
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00125.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00126.html
- http://marc.info/?l=bugtraq&m=141390017113542&w=2
- http://rhn.redhat.com/errata/RHSA-2013-1307.html
- http://rhn.redhat.com/errata/RHSA-2013-1615.html
- http://secunia.com/advisories/54478
- http://secunia.com/advisories/54657
- http://secunia.com/advisories/55078
- http://secunia.com/advisories/59652
- http://support.apple.com/kb/HT6150
- http://www.debian.org/security/2013/dsa-2742
- http://www.php.net/ChangeLog-5.php
- http://www.securityfocus.com/bid/61776
- http://www.securitytracker.com/id/1028924
- http://www.ubuntu.com/usn/USN-1937-1
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=2874696a5a8d46639d261571f915c493cd875897
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00125.html
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00126.html
- http://marc.info/?l=bugtraq&m=141390017113542&w=2
- http://rhn.redhat.com/errata/RHSA-2013-1307.html
- http://rhn.redhat.com/errata/RHSA-2013-1615.html
- http://secunia.com/advisories/54478
- http://secunia.com/advisories/54657
- http://secunia.com/advisories/55078