16 Apr 2020
The PHP development team announces the immediate availability of PHP 7.4.5. This is a security release which also contains several bug fixes.
All PHP 7.4 users are encouraged to upgrade to this version.
16 Apr 2020
The PHP development team announces the immediate availability of PHP 7.4.5. This is a security release which also contains several bug fixes.
All PHP 7.4 users are encouraged to upgrade to this version.
17 Apr 2020
The PHP development team announces the immediate availability of PHP 7.2.30. This is a security release.
All PHP 7.2 users are encouraged to upgrade to this version.
CVE-2019-11043 is an env_path_info underflow flaw in PHP-FPM’s fpm_main.c. The vulnerability was first reported to the PHP bug-tracker by security researcher Emil Lerner on September 26, 2019. Lerner also credits Andrew Danau, a security researcher at Wallarm, who identified the “anomaly” during a Capture The Flag competition in September 2019, and Ganiev for helping to finalize the php.ini options for the PoC.
If a webserver runs Nginx + PHP-FPM and Nginx have a configuration like
location ~ [^/]\.php(/|$) {
...
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass php:9000;
...
}
which also lacks any script existence checks (like try_files
), then you are probably vulnerable.
fastcgi_split_path_info
directive must be there and contain a regexp starting with ^
and ending with $
, so we can break it with a newline character.PATH_INFO
variable assignment via statement fastcgi_param PATH_INFO $fastcgi_path_info;
. Note that it isn’t always present in the fastcgi_params
file.try_files $uri =404
or if (-f $uri)
. If Nginx drops requests to non-existing scripts before FastCGI forwarding, the code execution can’t be triggered. Adding this is also the easiest way to patch.Newest released PHP 7.1.33, 7.2.24, 7.3.11 fixed the bug, users are encouraged to upgrade to one these versions.
The PHP development team announces the immediate availability of PHP 7.3.11. This is a security release which also contains several bug fixes.
All PHP 7.3 users are encouraged to upgrade to this version.
For source downloads of PHP 7.3.11 please visit our downloads page, Windows source and binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.
The PHP development team announces the immediate availability of PHP 7.2.24. This is a security release which also contains several minor bug fixes.
All PHP 7.2 users are encouraged to upgrade to this version.
For source downloads of PHP 7.2.247 please visit our downloads page, Windows source and binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.
The PHP development team announces the immediate availability of PHP 7.1.33. This is a security release.
All PHP 7.1 users are encouraged to upgrade to this version.
For source downloads of PHP 7.1.33 please visit our downloads page, Windows source and binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.
The PHP development team announces the immediate availability of PHP 5.6.40. This is a security release. Several security bugs have been fixed in this release. All PHP 5.6 users are encouraged to upgrade to this version.
Please note that according to the PHP version support timelines, PHP 5.6.40 is the last scheduled release of PHP 5.6 branch. There may be additional release if we discover important security issues that warrant it, otherwise this release will be the final one in the PHP 5.6 branch. If your PHP installation is based on PHP 5.6, it may be a good time to start making the plans for the upgrade to PHP 7.1, PHP 7.2 or PHP 7.3.
The PHP development team announces the immediate availability of PHP 7.3.1. This is a security release which also contains several bug fixes.
All PHP 7.3 users are encouraged to upgrade to this version.
The PHP development team announces the immediate availability of PHP 7.2.14. This is a security release which also contains several minor bug fixes.
All PHP 7.2 users are encouraged to upgrade to this version.
The PHP development team announces the immediate availability of PHP 7.0.25. This is a security release. Several security bugs were fixed in this release. All PHP 7.0 users are encouraged to upgrade to this version.