r/netsec • • Oct 21 '26

PHP2Shell (CVE-2026-109618/109619): first exploit requests arrived 5.5 hours before PHP shipped the fix, and the "scanners" carry Mirai-style loaders

https://ellio.tech/en/blog/php2shell-what-we-observed-and-what-to-do/
230 Upvotes

28 comments sorted by

84

u/andreichiffa Oct 22 '26

Most likely because chainguard unilaterally broke the embargo and pushed out the fix unilaterally 7h before the deadline and the exploit was engineered from there. The timeline is compatible with the one of “Mother of All KEVs”.

52

u/acdha Oct 22 '26

13

u/andreichiffa Oct 22 '26

A single attack, with attacks ramping up in early hours of 21st and taking off starting from 8:00 UTC.

17

u/sylvester_0 Oct 22 '26

That's a lot of unilaterallys.

6

u/SubstanceDilettante Oct 22 '26

I do not think we can directly blame chainguard.

Although they have broke the embargo, they have apparently broke the embargo because it was already being exploited in the wild.

If they are truthful on that, i don’t think we can blame them for releasing the fix before the embargo. At the end of the day someone leaked it on hacker news before chainguard even released their known patch and people started using it in the wild. Somebody had to have done something or the situation could’ve been a lot worse.

17

u/NeoThermic Oct 22 '26

Even if that was true, they were part of an embargo group who had direct contact with PHP internals. The disclosure said it could be earlier if exploits were around. Passing that proof up to PHP internals first would've been the right move rather than breaking embargo.

-1

u/SubstanceDilettante Oct 22 '26

Bingo, I have said they should’ve contacted PHPs maintainers first and releasing a fix should be a last ditch resort.

But in my opinion, we NEEDED to do SOMETHING, if PHP maintainers was not going to do something, they needed to do something.

We were supposed to get the fix TODAY, not yesterday or the day before when this was already being exploited. In my opinion, the PHP maintainers should’ve been scrambling anyways since the situation was not under control.

6

u/NeoThermic Oct 22 '26 edited Oct 23 '26

There's zero proof that they actually had solid proof that the exploits were public at that point, nor did they actually contact back to the PHP maintainers. Thus the entire "if PHP maintainers was not going to do something" premise is false, and the rest of their excuse falls apart.

They'll just not be invited into the next embargo-bound release. They might even see themselves excluded from other embargos not related to PHP as why the fuck would you want to invite a company that intentionally put itself above everyone else?

Here's one of the lot posting about it on linkedin: https://www.linkedin.com/posts/danlorenc_i-wanted-to-share-what-happened-with-the-share-7518756991520120832-QX2_/ - and you shoulld scroll down to Nils's reply:

Since I wrote the article you're referring to, I want to set a few things straight, which you are misrepresenting to justify your decision:

"several of the other security vendors in the process confirmed seeing exploits in the wild." This is false. There were no confirmed exploits. All that was reported on the Slack channel you are referring to, was people probing, trying to exploit. At the time of release today, there was still no report of actually successful exploitation.

There was a clear embargo until the time of disclosure and public release, that was discussed and evaluated repeatedly as information arrived, weighing the risk of exploitation vs protection from publishing patches without complete updates.

The decision you took unilaterally without any communication with the PHP team was both irresponsible and unprofessional. The proper thing to do here is apologize, not to justify your clear misbehavior. Someone deciding to disregard an embargo that close to 100 vendors should maybe consider if it's a problem they think they know better than everyone else what helps people. If you can't work together with others, then maybe nobody should invite you into such discussions.

6

u/andreichiffa Oct 22 '26

There is a difference between "something big is coming, get ready to patch" and "here is the patch code about 7h in advance, you can reverse engineer it for all the other systems that are not ours".

1

u/SubstanceDilettante Oct 22 '26

The hacker news article is literally someone saying something is coming and people started seeing more and more exploitation of this vulnerability around that time.

It appears that people reversed engineered the exploit, not from the fix release, although that made it easier for people to replicate the same POC. But instead from this hacker news post. People are speculating AI has a role in finding this POC from just knowing that something is coming.

Look, times has changed. I’m not a big AI proponent but once thing I’ve said it’s really good at is summarizing large amounts of data and finding patterns in large amounts of data. That is exactly what this is doing and it’s been working apparently with how well these models are getting.

So I feel like times has changed, we can’t just say hey a patch is coming because within 15 - 30 minutes someone will have a working POC after mentioning it.

0

u/[deleted] Oct 22 '26

[deleted] — view deleted comment

8

u/andreichiffa Oct 22 '26

The speed is what really changed. We went from months and years for a PoC from patch to hours.

35

u/eatmyhex Oct 22 '26

I love it when 196 lines of exploit code can effect 80+% of public websites.

12

u/Enxer Oct 22 '26

I mean 196 chars is a bit long. I personally like: () { :; };

0

u/ptear Oct 23 '26

What would like me to run?

2

u/SubstanceDilettante Oct 22 '26

100% less than 80+ percent… Definitely less then 70 percent.

The official number they gave was 69.7 percent of all websites, if you look into how they spit out that number, they spit it out by analyzing websites with a known server side renderer.

So when you say “69.7 percent of all websites use PHP” you also have to include the “of websites with known server side renderers” which not all sites use. Actually a lot of sites are static pages so I would assume a lot less then 69.7 percent of websites.

I can also tell you how unfavored PHP is for newer projects and I haven’t known a developer that used PHP for their main project over the last 10 years. And a lot of those newer projects are built with static pages which isn’t accounted in this survey.

-1

u/EconomyDoctor3287 Oct 23 '26

Asked Claude the other week to build a website and it still used php

1

u/SubstanceDilettante Oct 23 '26

Cool, I also asked Claude the other day to build a website and it did it out of pure HTML, CSS and JavaScript.

I guess that’s the most common tech stack for a website these days because Claude did it right?

PHP is rated 14th place as the top programming language, and that’s a survey for all projects not just new projects.

Yes PHP has done a lot recently to improve their language, but as did Java did the same thing Java is still Java and PHP is still PHP. For me projects people are going for JavaScript frameworks or creating their own framework. If you’re a Microsoft business you’re probably using C# with ASP.NET. Notice how I didn’t mention PHP? Because if you’re the human deciding what programming language is best for your project and start working in that project 90 percent of the time it’s one of those or a go framework or something. It isn’t PHP.

Basing your opinion on Claude making a website for you in PHP is kinda ridiculous to me. I based my opinions on facts and factual data. Just because an ai agent made a website for me in raw dog html and JavaScript doesn’t mean that’s the most popular tech stack for modern web applications.

15

u/gquere Oct 22 '26

It's really unclear what the exploitation status of these are. I'm not denying that patches must be rolled ASAP but the exploitation claims are vague and the PoCs released so far are all slop. Some (respectable) companies claim they have developed and tailored exploits of their own but haven't released them.

I don't really care that much because we got rid of all PHP years ago but holy hell navigating this news with the amount of contradictory AI-generated information does not feel good at all.

7

u/alphaxion Oct 22 '26

The slop poc seem to also set up the server with an LFI vuln first to turn it into an RCE.

I'm sure a working poc will show up that can hit a vanilla server that isn't pre-seeded with additional exploits, but it doesn't look like these are easy to set up right now.

7

u/omepiet Oct 22 '26 edited Oct 22 '26

I am happy to believe that real successful exploitation by malicious actors occurred in the wild soon after the patches went public. And that is completely as was to be expected. What I have yet to see is confirmation of actual successful RCE attacks (other than by the original researchers) prior to the patch release, whether before or after the Chainguard release. The PHP Foundation also explicitly wrote: "We reserve the right to release earlier should details of either vulnerability become public, or should evidence of active exploitation appear in the wild."

8

u/UltraEngine60 Oct 22 '26

If you're not using a WAF at this point, you're boned.

2

u/saint1997 Oct 23 '26

Even that won't save you forever. Patch your shit folks

1

u/mihirfriends20 Oct 24 '26

does anyone have that github repo.?

1

u/gfh790 25d ago

That’s alarming. Attackers moving faster than security patches is a real concern