r/sysadmin • u/Titanium125 • 7h ago
PHP Update Failures
Anyone else sitting at working just spamming the update button on my Linux web hosts because the PHP repo servers are so overloaded they have basically been hit with a DDOS attack, so you just keep hitting update in the hopes it will eventually work or is that just me?
•
•
u/ledow IT Manager 7h ago
The official Ubuntu and Ubuntu Launchpad repos are struggling. But the latter have under DDoS attack in recent months precisely to stop people updating critical packages, if I remember.
The irony is that some 3rd-party repos have moved off launchpad and made their own and those are up and up-to-date (for AMD64 at least, ARM64 still seems behind).
For instance:
https://launchpad.net/~ondrej/+archive/ubuntu/php
won't update for me, but if you read the link and then find README on the linked page, there's a new repo at sury.org which works and has the latest versions.
•
u/One-Department1551 7h ago
Depending o the size of your env, looking into making your own mirror is a good alternative. I used to host internal CPAN / PECL and others for my web services but that was long ago.
•
•
u/peakdecline 6h ago
Another reason I host a local repo mirror. All OS repos, majority of our commonly used packages. Update them timed to patching schedules and then the occasional situations like this where out of band patching is required.
•
•
u/GainsAndPastries 7h ago
Wouldn’t it make more sense to stagger the updates across a few days instead of all at once?
•
u/Xattle 6h ago
Depends if you can afford either going dark or risking breach by delaying. Looks like a bad one.
•
u/otacon967 6h ago
The damage from a hostile AI bot having complete unauthenticated access is far worse than any downtime could do. Check those logs and prepare for a scare.
•
u/Apprehensive_Bat_980 6h ago
I ended up turning the VM off for now. I might just leave it off and use a Facebook page instead.
•
6h ago
[deleted]
•
u/Xattle 6h ago
Would not be my choice. I'm already seeing attempts on my personal servers which are barely a target compared to what I maintain professionally.
•
u/GainsAndPastries 6h ago
I’m quite excited to see what gets unearthed by sites that don’t patch , could be good reading
•
u/otacon967 6h ago
Read some of the security blogs on this vuln. Mass public exploitation started within 30 minutes of disclosure and patches didn’t release for hours. Which is insane on both sides. Patch this now or take down your page is the decision.
•
u/CharacterUse 5h ago
Taking sites offline before the disclosure announcement and then waiting until the patches dropped was the only sensible option.
•
u/j0nquest 4h ago
How do you take systems down before the disclosure announcement? Do you just shut servers down end of business until you have time to drink coffee and read the news to see what new CVEs already have or are about to drop since yesterday?
•
u/CharacterUse 4h ago
Not usually, but in this case we were warned early that there was a serious issue and full disclosure and a patch was coming at 14:00 UT today, and because of the nature of the exploit it was expected that attacks would start shortly after. So it was only prudent to take the servers down some time before 14:00 UT.
•
u/Sudoplays 7h ago edited 7h ago
Yup, just gotta keep on trying!
Update: I switched from PPA to packages.sury.org and that's made the image rebuilds fast and not fail so far!