anyway, if you use nginx and php7-fpm, please upgrade your php. a patch was released a few days ago.
from my understanding, the sample config for nginx from phpBB is vulnerable:
https://github.com/phpbb/phpbb/blob/mas ... ample.conf
Code: Select all
# Pass the php scripts to fastcgi server specified in upstream declaration.
location ~ \.php(/|$) {
# Unmodified fastcgi_params from nginx distribution.
include fastcgi_params;
# Necessary for php.
fastcgi_split_path_info ^(.+\.php)(/.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $realpath_root;
try_files $uri $uri/ /app.php$is_args$args;
fastcgi_pass php;
}
read the list of preconditions there.
looks like they're satisfied. in particular, the redirect fallback in
try_files
still hits, so the malformed url will hit php-fpm.