Multiple Vulnerabilities in PHP Could Allow for Arbitrary Code Execution

November 29, 2017

Summary

Multiple vulnerabilities have been discovered in PHP, the most severe of which could allow an attacker to execute arbitrary code.  Successfully exploiting the most severe of these vulnerabilities could allow for arbitrary code execution in the context of the affected application.  [1]

Impact

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.

Vulnerable

  • PHP 7.1 prior to 7.1.12  [2]
  • PHP 7.0 prior to 7.0.26  [3]

Recommendations

  • Upgrade to the latest version of PHP immediately, after appropriate testing.
  • Verify no unauthorized system modifications have occurred on system before applying 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.

References

[1]  https://www.cisecurity.org/advisory/multiple-vulnerabilities-in-php-coul...
[2]  http://php.net/ChangeLog-7.php#7.1.12
[3]  http://php.net/ChangeLog-7.php#7.0.26