PT-2015-1021
CVE-2015-0273
·
Published
2015-02-23
·
Updated
2024-06-15
Description by
CVSS 2.0
7.5
HighMetricsAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions
PHP versions prior to 5.4.38
PHP versions 5.5.x prior to 5.5.22
PHP versions 5.6.x prior to 5.6.6
Description
The issue allows remote attackers to execute arbitrary code via crafted serialized input containing a (1) R or (2) r type specifier in (a) DateTimeZone data handled by the
php date timezone initialize from hash function or (b) DateTime data handled by the php date initialize from hash function. This is due to multiple use-after-free vulnerabilities in the ext/date/php date.c component of PHP.Recommendations
For PHP versions prior to 5.4.38, update to version 5.4.38 or later.
For PHP versions 5.5.x prior to 5.5.22, update to version 5.5.22 or later.
For PHP versions 5.6.x prior to 5.6.6, update to version 5.6.6 or later.
As a temporary workaround, consider restricting the use of the
php date timezone initialize from hash and php date initialize from hash functions until a patch is available. Avoid using crafted serialized input containing R or r type specifiers in DateTimeZone and DateTime data.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾