php5.6-cli is vulnerable to Remote Code Execution (RCE)
88
CVE Score
High
Remote Code Execution (RCE)
End-of-life PHP 5, PHP 7, PHP 8.0, and PHP 8.1 packages are vulnerable to remote code execution when session upload progress writes data with one session serializer and application code switches to the php serializer before starting the session. The serializer mismatch can cause crafted session data to be interpreted unsafely. These branches will not receive a fix.
No patched release will be published for these end-of-life PHP branches. Lock php_admin_flag[session.upload_progress.enabled] = off in /etc/php/5.6/fpm/pool.d/www.conf and restart php5.6-fpm, or set php_admin_flag session.upload_progress.enabled off for libapache2-mod-php5.6 and restart apache2. /etc/php/5.6/cli/conf.d/ does not cover either of those. ini_set() and FPM .user.ini do not apply in time. Applications that never change session.serialize_handler at runtime can keep upload progress enabled. Move to a supported PHP release once a fixed version is published.
You are affected if session.serialize_handler is configured as php_binary or php_serialize, application code changes it to php with ini_set() before calling session_start(), and session upload progress remains enabled. Applications that never change the session serialization handler at runtime are not exposed through this path.
0.0.0 - *
No fix availablephp5.6-cli is vulnerable to Remote Code Execution (RCE) in all versions.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.