When PHP2Shell was disclosed, we started by backporting the fix to Sury’s PHP packages for Debian 9 Stretch and Debian 10 Buster.
I then decided to backport all the important security fixes released since 2023 to these old Debian distributions and make them available to the public.
Making the Internet safer benefits everyone. Closing our eyes and telling ourselves legacy systems don’t exist won’t make them disappear from the planet. A patched legacy machine is, first and foremost, one that won’t be attacking your infrastructure tomorrow!
StackX PHP is available for Debian 9 Stretch, Debian 10 Buster and Debian 11 Bullseye on amd64. It covers 30 PHP/distribution combinations, from PHP 5.6 right up to the latest branch available for each of these end-of-life Debian releases.
Although we did this work first and foremost for our StackX clients, we’ve made the packages, their sources and the signed APT repositories publicly available. They remain free to access.
Wherever possible, I’ve made time to keep working on these fixes even when our clients’ own configurations aren’t directly affected. You’ll find the versions covered, the repositories and the procedure on the page I’ve put together on my personal site for StackX PHP.