Zero-Day Advisory

Fortinet Discovers Multiple PHP 'Regular Expression' Parsing Memory Corruption Vulnerabilities

Summary

Fortinet's FortiGuard Labs has discovered multiple memory corruption vulnerabilities in PHP scripting language.
PHP is a popular general-purpose scripting language that is especially suited to web development.
These discovered vulnerabilities are caused due to incorrectly handling specially crafted regular expressions. They could be exploited by attackers via crafted regular expression with regex functions such as preg_match().

Solutions

Users should apply the solution provided by PHP.

Additional Information

The vulnerabilities actually exist in the 3rd-party PCRE library incorporated into PHP. The PCRE library 8.37 has fixed them.

Acknowledgement

This vulnerability was discovered by Kai Lu of Fortinet's FortiGuard Labs.

IPS Subscription

Fortinet customers who subscribe to Fortinet's intrusion prevention (IPS) service should be protected against this vulnerability with the appropriate configuration parameters in place. Fortinet's IPS service is one component of FortiGuard Subscription Services, which also offer comprehensive solutions such as antivirus, Web content filtering and antispam capabilities. These services enable protection against threats on both application and network layers. FortiGuard Services are continuously updated by FortiGuard Labs, which enables Fortinet to deliver a combination of multi-layered security intelligence and true zero-day protection from new and emerging threats. These updates are delivered to all FortiGate, FortiMail and FortiClient products. Fortinet strictly follows responsible disclosure guidelines to ensure optimum protection during a threat's lifecycle.