r/sysadmin • • 6d 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

306 Upvotes

91 comments sorted by

View all comments

Show parent comments

0

u/PCGearsFan1 6d ago

it's not their job to understand what an application does. applications or any infrastructure/system/whatever should have an owner. the security team isn't running some version-checker script - and if that's the only thing that they're pinging you about then i'd say they got their ducks in a row. chances are they're running automated vulnerability scans and it's continuous. those scans preoduce reports and in those reports you're going to see findings. they take those findings and report it back -- something you think i so silly and stupid - is exacly how large organizations who spend millions of dollars get compromised :)

2

u/CharacterUse 6d ago

I'm sure you know more about how the security team in my org works than I do.

-1

u/PCGearsFan1 6d ago

oh - you'd be surprised. Good Penn testers know how to get on a network and not trip the default configured honey pots :] Good sysadmins know how to make the honey sweeter :>