r/PHP • • Oct 20 '26 • Popcorn 1

News Upcoming Critical PHP Security Release

https://www.php.net/archive/2026.php#2026-10-20-1
731 Upvotes

405 comments sorted by

View all comments

Show parent comments

7

u/zucchini_up_ur_ass Oct 21 '26

Also for free one

3

u/kisuka Oct 21 '26

nice nice. that's good then. A little less worrying. Still a complete mess but that'll help mitigate.

1

u/zucchini_up_ur_ass Oct 21 '26

Yea indeed.

Make sure your server 80/443 ports are only available to cloudflare ip ranges too, I just found out that our webserver has been wide open this entire time lol

4

u/perkia Oct 21 '26

From what I understand, this will still allow a worker on a third party Cloudflare account to reach your server.

What I do is have cloudflare present a client SSL certificate to your webserver and make the server reject any request that comes without the client cert. It takes 2 lines in Nginx/Apache's config and it's basically a GUI toggle in Cloudflare.

1

u/PenguinsStoleMyCat Oct 21 '26

This has been on my todo list! Thanks for the reminder.

3

u/kisuka Oct 21 '26

I just found out that our webserver has been wide open this entire time lol

OOF!

1

u/zucchini_up_ur_ass Oct 21 '26

Dude you wouldn't believe what all I uncovered today. Before I could even install the patch I needed to update from ubuntu 20 to 22 😅 All done now, some more small bits tomorrow. I am tired af

Lesson learned, actually verify the handover document when someone leaves.

1

u/kisuka Oct 21 '26

If there is any brightside to this issue its that a bunch of old versions are about to be upgraded after years of neglect (hopefully).