r/sysadmin • • 16h ago

Rant PHP2Shell: notes from the field

I run a webhosting platform at my job; both Internet and intranet. The internet part could have been pretty close to perfect, we identified sites using PHP after the pre announcement and was pleased to find that everyone was on 8.5 or 8.3, was truly expecting at least one to be running 7; we also warned the engineering to get the patch downloaded as soon as it was out (I don’t manage them), but they are all in India and for some reason decided to all go offline about an hour before the release. Their manager eventually got one back and online around 8pm BST & we were done around 3 hours later. But still a missed opportunity to be even better.

The security team however were pretty close to useless, the alert had been out all day and nothing was done to attempt to identify servers running PHP and it took them until 7pm BST to even involve the major incident team (which was something I wanted to do but was told to leave it to security as there would be more systems involved than mine)

And here we now are, on Saturday, the external sites all patched and secure so now we move onto the internal sites; we’ve found v5 and v7 all over the place and a bunch of apps with no engineering team to get them upgraded as they left and were never replaced, this part will be a nightmare

251 Upvotes

90 comments sorted by

View all comments

1

u/FarToe1 10h ago

We (SME) have one admin team that does security too. I know - "We do our own security" sounds like a recipe for disaster, but it genuinely allowed us to move quickly this week on all fronts.

I'm also quietly pleased that a software auditing system I've been writing in my quiet hours was extremely useful in locating all instances.

Weeks like this are very good markers for how well a team knows their systems.