Multiple Vulnerabilities Discovered in PHP

Multiple Vulnerabilities Discovered in PHP

A cybersecurity alert was issued today, Sept. 3, 2019, regarding multiple vulnerabilities in PHP. The vulnerabilities could allow an attacker to execute arbitrary code, which could potentially lead to a breach.

What It Is:
Multiple vulnerabilities have been discovered in PHP, the most severe of which could allow for arbitrary code execution. PHP is a programming language originally designed for use in web-based applications with HTML content. PHP supports a wide variety of platforms and is used by numerous web-based software applications.

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.

Read the original PHP security updates below to learn more:

PHP 7 ChangeLog 7.1.32
PHP 7 ChangeLog 7.2.22
PHP 7 ChangeLog 7.3.9

Threat Intelligence:
There are currently no reports of these vulnerabilities being exploited in the wild.

Systems Affected:

• PHP 7.1 versions prior to 7.1.32
• PHP 7.2 versions prior to 7.2.22
• PHP 7.3 versions prior to 7.3.9

Risk:
Government:
• Large and medium government entities: High
• Small government entities: High
Businesses:
• Large and medium business entities: High
• Small business entities: High
Home users: Low

What It Means:
If you and/or your business utilize the PHP products mentioned above, you will need to apply the appropriate update following proper testing.

Technical Summary:
Multiple vulnerabilities have been discovered in PHP, the most severe of which could allow for arbitrary code execution. Details of these vulnerabilities are as below:

Version 7.3.9
• Bug #78363 (Buffer overflow in zendparse)
• Bug #78379 (Cast to object confuses GC, causes crash)
• Bug #78412 (Generator incorrectly reports non-releasable $this as GC child)
• Bug #77946 (Bad cURL resources returned by curl_multi_info_read())
• Bug #78333 (Exif crash (bus error))
• Bug #77185 (Use-after-free in FPM master event handling)
• Bug #78342 (Bus error in configure test for iconv //IGNORE)
• Bug #78380 (Oniguruma 6.9.3 fixes CVEs)
• Bug #78179 (MariaDB server version incorrectly detected)
• Bug #78213 (Empty row pocket)
• Bug #77191 (Assertion failure in dce_live_ranges())
• Bug #69100 (Bus error from stream_copy_to_stream (file -> SSL stream))
• Bug #78282 (atime and mtime mismatch)
• Bug #78326 (improper memory deallocation on stream_get_contents())
• Bug #78346 (strip_tags no longer handling nested php tags)

Version 7.2.22
• Bug #78363 (Buffer overflow in zendparse)
• Bug #78379 (Cast to object confuses GC, causes crash)
• Bug #77946 (Bad cURL resources returned by curl_multi_info_read())
• Bug #78333 (Exif crash (bus error))
• Bug #78342 (Bus error in configure test for iconv //IGNORE)
• Bug #78179 (MariaDB server version incorrectly detected)
• Bug #77191 (Assertion failure in dce_live_ranges())
• Bug #69100 (Bus error from stream_copy_to_stream (file -> SSL stream))
• Bug #78282 (atime and mtime mismatch)
• Bug #78326 (improper memory deallocation on stream_get_contents())

Version 7.1.32
• Bug #75457 (heap use-after-free in pcrelib)

What To Do:
We recommend the following actions be taken:

• Upgrade to the latest version of PHP immediately, after appropriate testing.
• Verify no unauthorized system modifications have occurred on the system before applying the patch.
• Apply the principle of least privilege to all systems and services.
• Remind users not to visit websites or follow links provided by unknown or untrusted sources.

Negative Consequences of Lost or Stolen Data:
The loss or theft of proprietary data can have severe impacts, particularly if the compromise becomes public and sensitive information is exposed. Possible impacts include:

• Temporary or permanent loss of sensitive or proprietary information.
• Disruption to regular operations.
• Financial losses incurred to restore systems and files.
• Potential harm to an organization’s reputation.

Should your agency or business need assistance with issues arising from vulnerabilities in Adobe Acrobat and Reader or Microsoft products including updates and/or patches, Dox can help. Please contact Dox if there is anything we can do to assist in securing your agency, business, or organization.

Thank you for your time and stay safe online.