PHP Vulnerability

Hi Folks,

Any information/recommendations for mitigatigating the latest PHP Vulnerability being widely reported?

Asking for a friend…

Make sure your site is running one of PHP 8.2, 8.3, 8.4, and 8.5

Check your PHP version by logging into Backlight, visiting Admin > Special Links > PHP Info.

If your versions are not on of these then follow up with your host’s support: 8.2.35, 8.3.36, 8.4.27, and 8.5.12

NOTE that the patched versions for particular hosts may have lower versions than the above. For example, Ubuntu servers have patched their PHP libraries with the latest versions of 8.1.2, 8.3.6 and 8.5.4 (if not others).

3 Likes

Hi Ben,

I have recently checked the PHP settings after not having looked for some time and got confused because when I changed to 8.5 on my host’s side, I got the confirmation that it has been successfully done. But when checking in Backlight I found that the PHP version was still on 8.2.23. After some further investigation I found the following line in the .htaccess file:

“AddHandler application/x-httpd-alt-php82___lsphp .php”,

which obviously locked the PHP version to 8.2. After out-commenting this line it is now showing 8.5.11 in Backlight. Would you have an idea how this line got added to the .htaccess file? My suspicion is that this came from a previous action by my host but would like to get confirmation, if possible. Is it safe to keep going with this line de-activated? Should I completely remove it?

A very noticeable side-effect is that after changing the PHP version to 8.5 the images from my website load significantly faster then before. Again, is that to be expected when changing to PHP 8.5?

Some feedback would be nice.

1 Like

Hi @alfred, that’s good to hear that your site is running faster. PHP has been getting more efficient. It could also be how the host has configured PHP to run.

The handler directive in the .htaccess files are likely added by your host when changing versions in the control panel

This morning I received an email from IONOS (where my Backlight website sits) which basically said the PHP issue is fixed and my website is safe.

Yet I still can’t access Backlight admin or view my website. Is everyone else up and running and should I be reaching out to IONOS, or are you all in the same position?

I had the same email, I have no issues accessing my site or Admin.

Just spoke to IONOS and they said the issue with my website not loading is not linked to the PHP issue but with the “website developer” (strange coincidence though!) so I’ll raise a separate post.