Lucene search

K
hackeroneXixabangm4H1:283644
HistoryOct 28, 2017 - 12:16 a.m.

Internet Bug Bounty: Out-Of-Bounds Read in timelib_meridian()

2017-10-2800:16:57
xixabangm4
hackerone.com
35

0.009 Low

EPSS

Percentile

82.9%

Description
While deserializing an invalid dateTime value, wddx_deserialize() would result in a heap out-of-bounds read in timelib_meridian(). As wddx_deserialize() is exposed to network data, and sometimes echo the results back to client, this issue could potentially allow remote peeking of the process memory. It should also affect other PHP APIs that make use of timelib_meridian().
This issue is similar to but is a separate issue of CVE-2017-11145, it is related to the “back of” and “front of” directives in the timelib format.

Details can be found at: https://bugs.php.net/bug.php?id=75055

Impact
Affects both PHP 5 before 5.6.32 (ChangeLog http://www.php.net/ChangeLog-5.php#5.6.32) and PHP 7 before 7.1.11 (ChangeLog http://www.php.net/ChangeLog-7.php#7.1.11).
Resolved PHP bug report, will update the pending CVE.