CVE-2013-6420
Vulnerability Summary
Timeline
Description
The asn1_time_to_time_t function in ext/openssl/openssl.c in PHP before 5.3.28, 5.4.x before 5.4.23, and 5.5.x before 5.5.7 does not properly parse (1) notBefore and (2) notAfter timestamps in X.509 certificates, which allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted certificate that is not properly handled by the openssl_x509_parse function.
CVSS Metrics
- v2.0•HIGH•Score: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 40.22%• Percentile: 97%
Techniques & Countermeasures
- CWE-119•Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Affected Systems
- apple•mac_os_x
≤ 10.9.1
- opensuse•opensuse
11.4 | 12.2 | 12.3 | 13.1
- Unknown•PHP
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.12:rc1 | 5.4.12:rc2 | 5.4.13 | 5.4.13:rc1 | 5.4.14 | 5.4.14:rc1 | 5.4.15 | 5.4.15:rc1 | 5.4.16 | 5.4.16:rc1 | 5.4.17 | 5.4.18 | 5.4.19 | 5.4.20 | 5.4.21 | 5.4.22 | ≤ 5.3.27 | 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.5.0 | 5.5.0:alpha1 | 5.5.0:alpha2 | 5.5.0:alpha3 | 5.5.0:alpha4 | 5.5.0:alpha5 | 5.5.0:alpha6 | 5.5.0:beta1 | 5.5.0:beta2 | 5.5.0:beta3 | 5.5.0:beta4 | 5.5.0:rc1 | 5.5.0:rc2 | 5.5.1 | 5.5.2 | 5.5.3 | 5.5.4 | 5.5.5 | 5.5.6
References (19)
- http://www.debian.org/security/2013/dsa-2816
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=c1224573c773b6845e83505f717fbf820fc18415
- http://rhn.redhat.com/errata/RHSA-2013-1824.html
- https://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c04463322
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00126.html
- http://forums.interworx.com/threads/8000-InterWorx-Version-5-0-14-Released-on-Beta-Channel%21
- http://secunia.com/advisories/59652
- http://www.securityfocus.com/bid/64225
- http://rhn.redhat.com/errata/RHSA-2013-1826.html
- http://support.apple.com/kb/HT6150
- http://www.php.net/ChangeLog-5.php
- http://rhn.redhat.com/errata/RHSA-2013-1815.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1036830
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00125.html
- http://rhn.redhat.com/errata/RHSA-2013-1813.html
- http://www.securitytracker.com/id/1029472
- https://www.sektioneins.de/advisories/advisory-012013-php-openssl_x509_parse-memory-corruption-vulnerability.html
- http://rhn.redhat.com/errata/RHSA-2013-1825.html
- http://www.ubuntu.com/usn/USN-2055-1