TTCSIRT-055.103017: TT-CSIRT Advisory – PHP Security Updates

TTCSIRT-055.103017: TT-CSIRT Advisory – PHP Security Updates

Multiple vulnerabilities have been discovered in PHP, the most severe of which could allow an attacker to execute arbitrary code. Details of these vulnerabilities are as below:

Version 7.1.11

Bug #75241 (Null pointer dereference in zend_mm_alloc_small()).
Bug #75236 (infinite loop when printing an error-message).
Bug #75252 (Incorrect token formatting on two parse errors in one request).
Bug #75220 (Segfault when calling is_callable on parent).
Bug #75290 (debug info of Closures of internal functions contain garbage argument names).
Bug #75055 (Out-Of-Bounds Read in timelib_meridian()).
Bug #75311 (error: ‘zend_hash_key’ has no member named ‘arKey’ in apache2handler).
Bug #75303 (sha3 hangs on bigendian).
Bug #75318 (The parameter of UConverter::getAliases() is not optional).
Bug #75248 (Binary directory doesn’t get created when building only litespeed SAPI).
Bug #75251 (Missing program prefix and suffix).
Bug #72535 (arcfour encryption stream filter crashes php).
Bug #75018 (Data corruption when reading fields of bit type).
Bug #75255 (Request hangs and not finished).
Bug #75207 (applied upstream patch for CVE-2016-1283).
Bug #75177 (Type ‘bit’ is fetched as unexpected string).
Bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags).

Version 7.0.25

Bug #75241 (Null pointer dereference in zend_mm_alloc_small()).
Bug #75236 (infinite loop when printing an error-message).
Bug #75252 (Incorrect token formatting on two parse errors in one request).
Bug #75220 (Segfault when calling is_callable on parent).
Bug #75290 (debug info of Closures of internal functions contain garbage argument names).
Bug #75311 (error: ‘zend_hash_key’ has no member named ‘arKey’ in apache2handler).
Bug #75055 (Out-Of-Bounds Read in timelib_meridian()).
Bug #75318 (The parameter of UConverter::getAliases() is not optional).
Bug #72535 (arcfour encryption stream filter crashes php).
Bug #75207 (applied upstream patch for CVE-2016-1283).
Bug #75248 (Binary directory doesn’t get created when building only litespeed SAPI).
Bug #75251 (Missing program prefix and suffix).
Bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags).

Version 5.6.32

Bug #75055 (out-of-bounds read in timelib_meridian()).
Bug #72535 (arcfour encryption stream filter crashes php).
Bug #75207 (applied upstream patch for CVE-2016-1283).

Successfully exploiting the most severe of these vulnerabilities could allow for arbitrary code execution in the context of the affected application. Depending on the privileges associated with the application, an attacker could install programs; view, change, or delete data; or create new accounts with full user rights. Failed exploitation could result in a denial-of-service condition.

Further information on these vulnerabilities and how they can be fixed can be found at https://www.cisecurity.org/advisory/multiple-vulnerabilities-in-php-could-allow-for-arbitrary-code-execution_2017-104/