This vulnerability is a result of an uninitialized variable being used in the PHP code. The bug allows an attacker to execute arbitrary PHP code by manipulating the uninitialized variable.
This vulnerability is a result of an uninitialized variable being used in the PHP code. The bug allows an attacker to execute arbitrary PHP code by manipulating the uninitialized variable.
You're affected if you use PHP versions 7.4.0 to 7.4.12 and 8.0.0 to 8.0.1, as well as PHP-FPM version 7.4.0 to 7.4.12.
Check with: grep -r '$_' /var/log/php/*.log (for server logs) or find / -name "*.php" | grep -q '$_' (for local files)
Note: This vulnerability is similar to CVE-2019-2523, which affects PHP versions 7.2 and earlier.
sudo apt-get update && sudo apt-get install php8.0sudo yum install php8.0For macOS (via Homebrew): brew install php@8
If upgrade isn't possible, apply the following immediate mitigations:
display_errors to Off: ini_set('display_errors', 0)register_globals: ini_set('register_globals', 0)