r/technology • • 9h ago

Security ‘This Is Not a Drill’: Critical PHP Vulnerabilities Are Setting the Internet on Fire

https://www.wired.com/story/this-is-not-a-drill-2-php-vulnerabilities-are-setting-the-internet-on-fire/
3.7k Upvotes

232 comments sorted by

1.9k

u/omniuni 8h ago

It's worth noting that PHP is still one of the best tested codebases. However bad this is, PHP isn't going to be the only web language experiencing these kinds of vulnerabilities as AI runs every language through the wringer.

980

u/Effective-Tour-9912 8h ago

Camera pans to Javascript shaking nervously

304

u/gill_smoke 8h ago

Brother Node has been compromised several times in several ways and the malicious "downoad this package dependancy" is the feature and can't be fixed.

33

u/iwannabetheguytoo 4h ago

Node suffers from the same problem that PHP4+5, and MySQL 5, and IE6 had: some dev team somewhere will have shipped some critical business process service/website/workflow into production - without tests and keels over any time anyone tries to implement best-practices because it will depend on some commonly-abused anti-feature removed from a platform dependency (e,g. PHP4’s register_globals or MySQL 5’s permissive-but-nondeterministic GROUP BY) - and fixing those software issues correctly is often nontrivial and therefore risky, so the org’s IT/ops people will just containerise them together, which in-turn then also makes container dependency updates impossible, so it gets ossified in-place - they justify the security risk of running old platforms in the mistaken belief that because the container FS is immutable the security blast-radius is restricted to the container at runtime - no-one ever thinks of the risks of token delegation, grrrr - so anyway this is why these things get blown wide open 7 years later.

6

u/jeweliegb 2h ago

Token deligation? (Great explanation, this was the only bit i didn't understand.)

27

u/JungianWarlock 6h ago

I keep receiving regularly critical security advisors for Node.js related things; fortunately our sloweness had us not adopt them yet.

78

u/ProbablyBanksy 7h ago

PDF skipping along in the background blissfully unaware of its inevitable demise

78

u/ekim2077 7h ago

The entire printing industry runs on pdf with hardware older than half of reddit users that works and would be harder to replace than anything I can think of. Also is there even an alternative to PDF?

31

u/mludd 7h ago

Also is there even an alternative to PDF?

I'm sure Microsoft has something horrible and XML-based that they'll be willing to bribe you to use.

26

u/scrndude 7h ago

OK but only if it’s proprietary with bad documentation and doesn’t work at all at least 15% of the time

10

u/tehclanijoski 6h ago

Don’t forget some kind of mandatory copilot integration

2

u/thehalfwit 3h ago

"It looks like you're trying to package a print job for your offset printer. Would you like me to delete them?"

No! Don't touch those files.

"Your files have been deleted. What would you like me to do next?"

3

u/AdarTan 6h ago

Open XML Paper Specification, .oxps and the older not "Open" .xps

"Open" in the same way that Office Open XML (MS Office formats like .docx and .xlsx) are "Open".

3

u/zikronix 5h ago

Wasn’t this xps?

65

u/ProbablyBanksy 7h ago

Nope, there's no good alternative for PDF. But, there was also no good alternative for FLASH and we got rid of that because it was a security nightmare too.

43

u/Purplociraptor 6h ago

Homestarrunner died for our SINS......GAMES......NEWS......CHARACTERS?

9

u/CoffeeMinionLegacy 5h ago

It’s dot com!

7

u/Numinak 5h ago

THE SYSTEM IS DOWN!

1

u/SenTedStevens 2h ago

THE CHEAT IS GROUNDED!

13

u/Mirieste 7h ago

But I've always wondered, in what ways was Flash a security vulnerability in a way that whatever replaced it wasn't? Also, what did replace it to embed highly interactive content? HTML canvases? WASM?

31

u/h950 7h ago

HTML5 took over much of it. And that puts the onus on the browser makers who are better at pushing for updates than Adobe flash was. Web browser Java, ActiveX and Adobe flash had a lot of old insecure code. HTML5 came in and cleaned that up. There's one less additional application with solid access to your computer running on the web browser

9

u/lars_jeppesen 5h ago

I remember when I started working, half our company were Flash developers and companies wanted those fcking flash sites. I hated it like the plague.

6

u/gravteck 5h ago

Did you perhaps ever write anything in Adobe Flex? I actually thought it wasn't half bad. It had two way model binding and everything (which was a huge no-no for us). It had ActionScript hooks into the page lifecycle and everything.

2

u/gumbo_chops 5h ago

there's no good alternative for PDF.

This has always bothered me and I don't understand the reason. It can't be that hard to create something as simple as preserving a document's layout. I'm not even talking about fancy dynamic fields/forms, just a basic format for printing.

19

u/harmala 5h ago

We have lots of ways to preserve a document’s format and layout for printing, but that’s not all that PDF is capable of by a long shot. It’s editable, scalable, platform-agnostic and that’s just the tip of the iceberg.

6

u/andrewthesane 4h ago

TIFF? Because storage is for losers.

5

u/el_diego 4h ago

Wouldn't that be "storage is for winners" because they're going need a shit tonne with tiffs?

1

u/solarmania 3h ago

snot outta my nose laughing

3

u/zikronix 5h ago

Wasn’t xps or what ever ms had supposed to be the solution.

2

u/diacewrb 5h ago

Surprised dell didn't complain about microsoft launching a tech product called xps.

1

u/carbonfluorinebond 3h ago

OMG I forgot about Flash. Wow. I am old.

1

u/wrexsol 5h ago

My anecdote: I think it's been tried a few times with no one format really gaining a foothold. Microsoft XPS comes to my mind; I remember printing docs with it and liking it, but it was only ever viable for personal use. I would love to see PDF burn. But even if it did, whatever took its place would be endlessly tampered with in much the same way. PDF for all its faults started as something completely different and earnest vs. whatever this monstrosity appears before us today. I liken it to web design and how basic HTML still works but is wildly basic compared to what websites can do today.

-1

u/RockyDennisDeYoung 7h ago

Sounds like Epstein no?

16

u/Gravuerc 7h ago

JavaScript ::chuckles:: I am in danger.

17

u/Outrageous_Reach_695 7h ago

Oh, it'll be over in a Flash.

2

u/Wuvluv 4h ago

What if I told you today Node also released a RCE patch?

CVE-2026-111497

1

u/reduction-oxidation 26m ago

they only had to wait a few hours lmao

93

u/TheVenetianMask 8h ago

It also has a larger surface area with everything it supplies in the standard library. More barebones languages externalize those issues to third party code.

32

u/makapuf 8h ago

Which doesnt mean it cannot be attacked, code is code

21

u/SARB033 8h ago

No but it means a vulnerability won't take down 40% of the internet at once.

6

u/UnexpectedAnanas 6h ago

I mean...it still can. But decoupling your dependencies from your core language means packages can be updated easier and more frequently without having to rebuild the entire runtime on a new version.

5

u/makapuf 6h ago

Can I mention leftpad ?

7

u/OmegaPoint6 6h ago

But the need for all those dependencies can it be a vulnerability *gestures at npm*

13

u/Expensive_Finger_973 6h ago

Hell, they already patched it too. So no one can really in good faith fault the PHP devs in this.

9

u/UnexpectedAnanas 4h ago

Apparently the issue was flagged years ago, but it was dismissed as not exploitable. It was re-flagged this year by another independent firm, and at that point the patch was made.

41

u/Henry5321 7h ago

I remember when php was taking off. For a good decade or more they showed up in the tech news for dumb security issues.

I don’t know the current state of php, but I’ve always avoided it.

27

u/FabianN 7h ago

The big thing with php is not the language itself, but the projects made with it. Because it is one is the most popular languages, you see projects made with a very wide skill range. Some made by people that don't really know what they are doing, making some serious mistakes. 

There's a saying; there's two types of programming languages, those that everyone hates, and those that nobody uses.

54

u/omniuni 7h ago

PHP got a massive overhaul for PHP 5.

As of today (PHP 8+), it's one of the most tested languages available, both static analysis and just plain battle-tested. It's very fast, very stable, and has modern object oriented principles.

It's actually very pleasant to work with and very easy to deploy. The real question isn't about PHP, it's what's coming for the languages and frameworks that are less tested.

11

u/blofly 7h ago

I wonder what RUST coders are going to have to deal with in the next 20 years.

10

u/UnexpectedAnanas 6h ago

Probably the borrow checker still.

5

u/ClassicPlankton 7h ago

I really enjoyed php back in the day. I was bummed out when I woke up and found out no one uses it anymore and the whole world had moved to JavaScript.

8

u/wanttoseemycat 6h ago

This happened to me too. "Javascript? The little front end gadget that can move shit around the page? How can that replace PHP!?"

1

u/jadedflux 6m ago

I haven’t worked with it in like 12 years but Laravel truly was a pleasure to work with and changed the PHP landscape. It was leaps and bounds ahead of other language frameworks like Ruby on Rails. Now I’m gonna go dig and see what the landscape is lol

1

u/lars_jeppesen 5h ago

I did too, worked since first version of PHP, but after discovering NodeJS , Typescript etc, the World really moved on

18

u/Scoth42 7h ago

The main issue with it was a combination of it being very easy to get started in, lots of early documentation, and the ability to easily do things in very wrong and bad ways that technically worked but opened up vulnerabilities. A lot of the security issues were done by people using php rather than issues in php itself (though there were plenty of both).

Meanwhile, other languages made it a little more difficult to write things in immediately vulnerable ways if you used proper modules/extensions/recommended syntax from the beginning and needed a little more experience to write in, which meant people using it could usually avoid the super obvious SQL injection, path traversal, or remote execution bugs in their code.

5

u/autistic-inch 7h ago

Not true, the language itself had plenty of shortcomings, though they're all fixed in modern versions. One of them was that url parameters used to be inserted straight as global variables, meaning you had the ability to fiddle with internals, and that was a feature of PHP. So if you had luck, you sometimes could've put ?admin=1 into the url and the site would've thought you were an admin. There's more examples of such straight up blunders in the language on the internet.

But also amateurs using PHP was definitely a much bigger issue. Especially SQL injections were often implemented on accident.

6

u/mludd 6h ago

register_globals has been set to false by default since PHP 4.2 though, and that was released back in 2002.

Edit: And it's deprecated since 5.3 (2009) and removed since 5.4 (2012) IIRC.

So definitely not a recent issue.

3

u/skccsk 6h ago

At some point, we're going so far back in web history that the languages were still in the process of inventing the features that made the vulnerabilities conceivable.

3

u/stormdelta 2h ago

The problem is that PHP was never even intended to be a programming language at all - it was some guy's personal templating language that wildly outgrew anything it was ever meant to do.

It's impressive that they've managed to overhaul it to the point it's still relevant, but most of its issues still stem from that origin.

4

u/quadtodfodder 6h ago

Pshar, SQL injection is a *feature* of sql. Who needs an api when I can just arbitrarily access your db?

7

u/peduxe 7h ago

PHP was the very first programming language I learned while I watched a brazillian guy code a CMS for a private server MMORPG I played a lot from 2010 to 2016.

he was doing all that while connected to my pc over TeamViewer and then I started getting confident on myself and started writing my own code over what he created and then going back and forth with him to fix it + using stackoverflow when I got stuck.

being the first programming language I learned I couldn’t really say much about it other than start figuring out how to structure better my code and projects, having the backend and frontend that readily available in the same file made for easy development but the project grows bigger and you’re immediately questioning your entire existence.

the fact that React and other similar frameworks became so popular tells you that PHP was doing something right tho.

as for the security issues, I believe that comes with simply powering a lot of websites, that makes it an easy target.

no codebase is going to be 100% secure too. popular/non popular games get cracked all the time. heavily closed systems like the PS5 also get jailbroken constantly.

it’s not just PHP getting exploited but when it does and the vulnerability is critical everybody will know because so much of the internet depend on it.

5

u/bitspace 6h ago

I tried it in 1995 as PHP/FI. PHP at the time stood for "personal home page" and rode on NCSA httpd - I recall having to do weird things to make it work with this amazing new upstart web server called Apache (a patchy web server because it was NCSA httpd patched)

2

u/lars_jeppesen 5h ago

Same here! cheers!

1

u/Ok-Article-885 3h ago

On August 11th researcher Ryan A at Calif reported an unconditional remote code execution with the same root cause as the OOM problem we had found in 2024. OpenAI independently reported the same root cause on the same day, followed by further attack vectors from OpenAI on September 18th and from Wiz on August 24th. https://thephp.foundation/blog/2026/10/21/todays-php-security-release-and-how-were-strengthening-php-security/

1

u/237FIF 8h ago

TIL what a wringer is, huh

→ More replies (7)

183

u/xX_420DemonLord69_Xx 8h ago

I noticed several small pirating websites went down yesterday. Separate sites for books, manga, and comics.

206

u/Evinceo 8h ago

Lots of sites went down on purpose to wait for the update. It's... real bad.

75

u/I_Am_Conjoined 8h ago

As a non developer that's the part that really signaled to me how serious this is

38

u/Leprecon 7h ago

Yeah it is a vulnerability which allows anyone to hijack a server remotely. And it is actively being shared online right now meaning anyone can get access to it. Not even on a secret darkweb hack selling site, but like twitter.

8

u/Purplociraptor 6h ago

Is this why Pokemon sleep is down?

3

u/Professor_Hala 1h ago

It's why Home and Champions is down, so probably.

2

u/half-baked_axx 6h ago

Saved me from a tardy in my job today lol. Bamboohr took their website offline.

1

u/theweebdweeb 4h ago

Who would handle the update?

5

u/Evinceo 4h ago

Various distribution channels filtering down from the PHP devs themselves have the fix, but some people didn't want to risk getting compromised before they could install it.

4

u/Self_Blumpkin 7h ago

PassThePopcorn went down

5

u/capnwinky 8h ago

Oh dang. What comic sites? You should share so we know which ones to avoid.

13

u/dankristy 7h ago

The sites that are (or were) down - were mostly down on purpose to wait for a fix they can apply.

4

u/Solomon_Grungy 7h ago

Tis the pirate code. The law of the sea.

2

u/cwaterbottom 8h ago

Oh god please not myanonymouse I just added like 12 books to my read list

543

u/0xdef1 9h ago

> You’ve read your last free article.

First and last, apparently.

94

u/SARB033 8h ago

Tangentially related. I was just trying to access a really old New York Times article, from the 1930s. They paywalled me. Insane they can do that for an article over 90 years old.

→ More replies (4)

16

u/Reqvhio 8h ago

And you internet site! you have loaded last your article apparently! until they can patch the site xD

1

u/[deleted] 8h ago

[removed] — view removed comment

8

u/linuxwes 8h ago

Wow, Reddit removed my comment because it linked to a ublock filter list???

12

u/yawara25 8h ago

A lot of subreddits will have automod filters that remove (or put into an approval queue) anything containing direct links by default, for spam prevention.

172

u/tommyk1210 8h ago

We had clients calling today asking if we’d take our 20m+ user platform down…

You know it’s big when some random person in an SME knows about it.

441

u/zezoza 9h ago

PHP: used in more of 70% of websites worldwide.

ITT: 

  • I quit PHP before it was invented
  • YEAH! I know. How could you have used that hot shit in the first place? 

111

u/MakingItElsewhere 8h ago

Well, the alternative was to use Java, or .Net.

39

u/stray_r 8h ago

You could write cgi (common gateway interface) pages that PHP was designed to replace in C, C++ or Perl. All of these existed before PHP and early PHP implementations used the same CGI interface server side.

I've worked on cgi systems in C, PHP, Python, Java, Ruby and Haskell.

I'd recommend using the language specific web server modules where available as they leave much less room to introduce stupid site-level vulnerabilities.

I don't recommend using Haskell if you value your health or sanity.

Reddit was originally python and I was working on porting php a based social media platform to python at the time Reddit released the source code. That was an interesting scramble for my team to read a lot of code to see if there was anything we could plunder.

5

u/LieutenantNitwit 6h ago

I miss perl. Variable variables were so fun to abuse.

13

u/AndrewCoja 7h ago

Haskell should be illegal

10

u/Outrageous_Reach_695 7h ago

If someone says Haskell a third time, does it summon qn eldritch horror?

3

u/haskell_rules 4h ago

Monads are just monoids in the category of endofunctors

4

u/stray_r 7h ago

My thesis on Haskell data structures was an Eldrich horror

2

u/Pausbrak 4h ago

I actually think more programmers should play around with Haskell, precisely because it's so weird and out there. I spent a few weeks mucking about with it a decade ago and just that little exposure to pure functional programming gave me a lot of insight that I found very useful later on when map/reduce and similar operations became the next big thing in Java and C#.

I maintain it's too easy for software devs to get caught up in the same old patterns we're comfortable with if we just stick with the same old tools for everything. Learning as many different languages and programming styles as possible can really broaden our toolboxes even if we never actually use those languages for production.

Well, assuming people still have any interest in actually writing code, I guess. These days it seems like everyone just tells their AI agents to code everything so I guess it probably doesn't matter much anymore.

1

u/stray_r 3h ago

I understand your point, yes, programmers and computer scientists should explore different programming paradigms and I really like the lazy evaluation of Haskell.

However, Haskell is incredibly information dense and difficult to understand. I don't care how beautiful and elegant or even performant someone's 4 lines of Haskell are if it can't be easily read and understood.

I'd much rather have a page of python that is well understood by everyone who might need to work on it because easy to understand code generates less bugs when your most stupid team member does a quick modification under pressure.

And your most stupid team member is often future you dealing with a situation you didn't plan for whilst deprived of sleep and caffeine and under pressure to have finished an hour ago because time is money.

From my own bitter experience there is nothing worse than trying to read back in to a Haskell project, the cognitive load of understanding the incredibly dense code is really high compared to almost anything else that might be task appropriate.

2

u/Pausbrak 3h ago

I understand where you're coming from, and I'm not really trying to disagree with you. Not every language is good for production code, and as interesting as Haskell is intellectually I can imagine it's a pain in the ass to use for real software for exactly the reasons you mention.

I only wanted to share that I found learning it has been indirectly useful for me in getting better at programming with other languages. In general, I mostly make use of the skills I learned when I'm writing LINQ queries or Java Streams.

Funnily enough, I think getting more comfortable working with Haskell and similar functional approaches was exactly what has helped me get better at writing more readable and comprehensible LINQ queries. For instance, it's tempting to just stuff all the logic in a giant unreadable Select() lambda, but it's definitely easier on the eyes and brain when you chain a bunch of standard functions together instead.

1

u/stray_r 2h ago

I think Haskell gave me some very particular headaches. I was trying to figure out ways to deal with things the language doesn't do very well and mostly I discovered why that was.

Absolutely you should look at different perspectives and paradigms, but I think ultimately that code is read a lot more than it is written and the best code is not concise code or elegant code, it's easy to read, understand and maintain code.

And staying on today's topic, code that is secure by design is good code. A lot of my C probably wasn't and I'm so glad none of the CGI I worked on in C is still in the wild.

I don't actually know how vulnerable to attack Haskell projects are, it's so rare to use Haskell in anything web facing.

No. Don't go there Stray. Down this path lies madness. And Eldrich horrors.

1

u/lars_jeppesen 5h ago

CGI scripts were the devil. Horrible horrible

1

u/stray_r 3h ago

They were the only way to do interactive web at the time. Trying to do CGI in C or similar to get reasonably performance and serve a decent number of clients without falling over.

... I'm trying to think what I was even using back then... I think a 100Mhz Pentium Pro, can't remember how much ram it didn't have... And then a dual 400MHz Pentium 2 with 384Mb of ram, 5x 9Gb SCSI drives and an ILO bigger than a modern gaming graphics card...

Winning the argument for mod_php on apache because more hardware was cheaper than more developers and we could get more janky shit done faster with php than anything else at the time was a step forward. It was the future a quarter century ago.

And you have to remember that when bulletin boards like phpBB happened, they didn't distribute mods and upgrades as something you could apply with patch or a git pull, there was no git then. You had to hand patch phpBB, it was the stuff of nightmares but everyone wanted their own customised build of it.

I miss independent bulletin boards. I don't miss the maintenance.

1

u/TacoIncoming 36m ago

You could write cgi (common gateway interface) pages that PHP was designed to replace in C, C++ or Perl.

Because there’s no way that could go tits up 🤣

1

u/stray_r 11m ago

In the 90s there was much more opposition to scripting languages and much more do it in C because that's how we've always done it

The janky script for Personal Home Pages that runs a crazy amount of the web was a huge step forward.

I know what the onslaught of privative automated attacks on my servers did ~25 years ago. I dread to think what modern AI exploits would do to the janky C I was running in the 90s.

22

u/zezoza 8h ago

My whole company runs on 25 years of spaghetti JSP code

11

u/x_Trassic_x 8h ago

It'll take AI years to unravel that

7

u/peduxe 7h ago

Anthropic and OpenAI might just flag your account for suspicious activity trying to throw their models at a JSP codebase.

8

u/MakingItElsewhere 7h ago

"Why are the servers on fire?" "Someone asked them to look at their JSP, and they chose seppuku instead."

1

u/zezoza 6h ago

I'm kinda considering it... 

2

u/nrith 7h ago

Mine is XML files that I convert into the simplest imaginable HTML using XSLT. I figure it’s been working for 20 years, and is lightning fast because there’s no cookies or backend, and very little JS, so why change it?

1

u/zezoza 6h ago

I really envy your performance, not so sure if your stack though...

1

u/nrith 5h ago

Oh, I know my stack is horrible.

8

u/KagakuNinja 8h ago

Java JSP was equivalent to PHP. There was a bit more verbosity but nowhere near as bad as everyone seems to think. I once had to port some features from a PHP game to a Java game, and it was just a 1 for 1 translation to the JSP.

Java was built by professionals, with at least attempts at security and multi threading from day 1. PHP has been playing catchup for decades, it isn't at all surprising to see that a dumpster fire of a language is also insecure.

PHP was designed to be easy to get started, with pre configured LAMP distros. The extra ceremony of Java seems like a pain in the ass, until you suddenly need to do things like support multiple versions of the runtime, which is trivial with Java.

5

u/DoxxThis1 7h ago edited 33m ago

PHP wasn’t designed, it just evolved, like an brain-eating bacteria

1

u/npsimons 6h ago

PHP is the most ad hoc programming language, ever. Oh yeah, you'll hear its defenders say "such and such hasn't been an issue since X.Y.Z", but the fact is that all these problems are indicative of a deeper rot within the language itself.

We dumped bind because it was full of security holes, we dumped sendmail because it was full of security holes. Both of those were incredibly popular, yet the Internet managed to move on from them. PHP is just another legacy project that should stop being used.

You know all those vibecoders putting out massive steaming turds? It's the same mindset of PHP, "oh, it's easier, I don't have to learn anything!"

1

u/stray_r 3h ago

To do something quick and dirty, PHP. To actually maintain the codebase over time, anything else please, even Java.

3

u/fletku_mato 8h ago

Funny. I'd choose Java over PHP in a heartbeat.

1

u/EVILTHE_TURTLE 5h ago

Throw in some web objects and we’ll call it a deal!

1

u/Own_Reaction9442 2h ago

Before PHP, we used Perl to do CGI websites. Perl's syntax is based heavily on Perl's.

Before that it was a bunch of different stuff; TCL was fairly popular at one point.

→ More replies (1)

5

u/Vimda 8h ago

Ok, but how much of that 70% is Facebook and Wordpress installations?

16

u/dangerbird2 7h ago

Presumably Facebook isn't really affected since they run on HHVM (which doesn't even support non-Hack PHP anymore). Wordpress is a completely different story due to the bazillion mom and pop websites that are definitely not getting security patches before some webcrawler finds and exploits it.

2

u/pathwalker1991 6h ago

I feel like these kinda sites are gonna need to be forced offline by Wordpress hosts or something, to protect their own internal servers. They’re not all going to take them down and patch, or possibly even know there’s an issue. Unless there’s a way for it to be pushed through. (Not a Wordpress person, so not 100% on the particulars)

1

u/Step-Sysadmin 38m ago

Have you tried Cowboy with erlang

105

u/SPEZ_IS_A_JABRONI 8h ago

the internet feels like it's been on fire for a while now

75

u/Mr-Megamind- 7h ago

So does the world... And my country... And my life... 🥲

10

u/lazypeon19 4h ago

Welcome to post-AI internet.

10

u/QueezyF 2h ago

Didn’t expect the DataKrash from Cyberpunk 2077 to become real but it feels like we’re inching closer to it every day.

2

u/marimba_shitdrums 1h ago

We need a Blackwall.

4

u/CommunityTough1 3h ago

This is the best shape it'll ever be in again.

40

u/MisandristBPDBarby 3h ago

This is gonna kill old forums 

14

u/SpelingChampion 1h ago

The massive old repository of human experience and process? Of course it would consume and destroy it.

29

u/DeepBreathingWorks 3h ago

Why not just re-write it in Rust? I hear that solves everything. 

1

u/bakaspore 4m ago

Practicality aside this would indeed solve the use after free problem leading to this issue...

32

u/subnub_dev 7h ago

God I'm trying to launch my own website and this all just seems like a nightmare. I already had someone exploit an outdated next.js package.

Idk how I can keep up

16

u/ThetotheM 6h ago

Use Renovate to keep track of your dependencies and take care of PRs regularly. Also, follow a newsticker for this stuff. This will take care of most of these incidents.

→ More replies (3)

2

u/WastedPotenti4I 1h ago

If you’re using JavaScript most package managers (npm, pnpm, bun im pretty sure), have an audit feature that tells you if any vulnerabilities have been found.

13

u/ChillyFireball 3h ago

My condolences to my fellow web developers who use PHP. Alas, I will soon be departing the office to go home and play video games. Good luck with the late night(s), software soldiers! I salute you!

20

u/Odd_Beginning8678 7h ago

So that's why many websites are down today. Right now I'm stuck at trying to access a file I need.

52

u/Isthatyourfinger 3h ago

This is going to be a huge problem. Aside from finding people to fix the code, a lot of them are going to find that the new release of PHP no longer works with their obsolete db drivers. I would love to come out of retirement and fix these issues, but old people will never make it past the AI resume screeners. Younger programmers will want to rewrite it in the their favorite language, and enter a world of pain.

28

u/tommyk1210 3h ago

It’s not.

They’ve already created backports of this fix to basically every version of PHP since 5.4

You don’t NEED latest and greatest major version benefit from this fix because the issue has been present in the fundamentals of PHP for 20 years

5

u/LetsDOOT_THIS 3h ago

lol they thought

10

u/Isthatyourfinger 2h ago

Cool. So all they have to do is recompile. Oops, nobody documented the compiler switches used? You can get the executable to spit them out, but they don't work anymore anyway because the o/s no longer supplies the object file needed for the feature? And no production tests were ever written and the coder is long dead? Good luck my friend.

8

u/PabloCIV 1h ago

I get you’re trying to make a point here, but AI is currently at a level where this is all made pretty trivial.

3

u/PossibleHero 25m ago

Exactly, people will hate this comment. But I bet most models above Sonnet 5.5 can handle this in one shot in most moderately sized codebases.

8

u/correctingStupid 1h ago

Nope. 15 minute update. Happened across half the web in a matter of hours this morning.

5

u/Droidaphone 1h ago

Y’know what, I was gonna disagree but you might be right. From this USAToday article:

Cybersecurity firm Cisco Talo estimates that about 50% of all PHP systems around the world will not receive an official patch for the newly discovered security issues because older websites rely on unsupported versions of PHP, so there is no easy way for them to be updated.

3

u/whyliepornaccount 19m ago

To those who don't work in tech, this is shocking. To those who work in tech, this is shocking that the number isn't higher.

Those older websites relying on unsupported versions are exactly that: older websites. Any modern website more likely than not has PHP that is patchable. A large portion of the modern websites still using PHP are WordPress based websites. WordPress runs supported versions of PHP.

7

u/chellis 1h ago

Legit old man yelling at clouds moment here.

7

u/maximilliontee 57m ago

Yelling at The Cloud.

→ More replies (1)

3

u/Round_Definition_ 1h ago

We already got old heads complaining about youngins in tech?

2

u/mediocrobot 2h ago

The youth yearn for languages with sane defaults

2

u/Possible_Ground_9686 1h ago

Most sites already fixed it so you can stay in retirement. Cool comment though 👍

3

u/Fuck-WestJet 56m ago

Competely inaccurate. I assume you don't actually work in web dev and are quite ignorant.

1

u/Old-Rhubarb-97 20m ago

50%+ of the internet fixed it?

1

u/Shot-Possibility-399 1h ago

I mean I've been hearing this about legacy code systems for years. I know ai isn't perfect but I imagine it would help with the translation issue a bit?

1

u/santagoo 50m ago

Option 3: unleash AI to make the patches.

5

u/NoStrategy1419 3h ago

Wait so is my phpbb forum safe? I'm not going to get spam am I...? I haven't updated it since 2003.

17

u/pittaxx 2h ago

Only affects PHP versions from 2004, so if you actually haven't updated since 2003, this vulnerability doesn't affect you.

But at the same time, if you haven't updated since 2003, a bunch of people likely have access to your server already...

18

u/ArcanumAntares 5h ago

So, hol'up.  You're telling me my WP build shouldn't use 'admin' for the administrative un?   /s

Patching PHP may as well be it's own career in 2026.

15

u/E123-Omega 8h ago

Some sites already up after patching. 

6

u/bigtuna-28 6h ago

As if I wasn't already busy enough.

14

u/sircastor 8h ago

I still use Wordpress for my personal site, but I’ve taken it off the internet. It lives on my home server, generates a static site, and uploads to my host. 

In another life I was a PHP developer. It’s been a long time though. 

3

u/grat_is_not_nice 5h ago

I disabled port forwarding for http/https on the router to isolate my home lab services until everything is patched.

6

u/Fhelaria 8h ago

Great Patch! Thx.

2

u/[deleted] 9h ago

[deleted]

45

u/MuskasBackpack 9h ago

Node got hit with 4 CVEs as well.

26

u/chom-pom 9h ago

And u moved to next.js?

22

u/w1n5t0nM1k3y 9h ago

WordPress uses PHP and WordPress still runs a large number of websites around the world.

4

u/Default_Sock_Issue 8h ago

Unfortunately

6

u/SPEZ_IS_A_JABRONI 8h ago

Wordpress is a perfectly reasonable platform to run a website with if you keep it patched, like any application. 

The problem is that many users install tons of third party plugins which go unpatched, which then snowball and create conflicts with core causing users to leave core unpatched. 

7

u/DefenestrationPraha 8h ago

PHP now is not PHP 16 years ago. I am 48, I saw the development. It just isn't the same language.

3

u/cute_polarbear 8h ago

yeah. problem is this affects PHP version 5 (>20 years ago) and on...many sites (internal / external) likely still running on very old versions of PHP, and no easy upgrade path in short term...

1

u/mludd 7h ago

The unfortunate reality of legacy applications that just keep running.

Important enough that they have to be kept around, not important enough to keep up-to-date.

30

u/corobo 9h ago

Why would you sit on this vulnerability for so long :(

3

u/Default_Sock_Issue 8h ago

WordPress didn't

→ More replies (10)

1

u/erikwithaknotac 6h ago

Duh. Mark Karpeles learned this the hard way

1

u/SexySkyLabTechnician 2h ago

How does this affect online archives like The Internet Archive

1

u/WalkFirm 31m ago

Perhaps these executives will wake the frack up. Cyber security is not a technology problem it’s a business problem. They don’t want to invest and yet most of their business is completely reliant on technology.

1

u/jesusrodriguezm 31m ago

Nothing that a little of slop cannot fix…

1

u/Internal_Example1185 7h ago

Good. Turn it all off.

4

u/davesr25 6h ago

Hello, is there anyone there HELLO !

It would be fun to see what happens.

0

u/butter_lover 3h ago

True story: couple years back the f500 that I was working for decided to refactor the main website using a product based on PHP and also migrate to their hosting.

When this was told to me, I scoffed and said something about us not really keeping up with patches for the current platform I wonder how they’re gonna manage a treadmill.

They blew me off then but now I have the last word at last hahahahajah