frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

PHP2Shell: AI uncovers critical RCE in PHP

https://www.wiz.io/blog/php2shell-php-rce
170•danlark1•1h ago

Comments

pettijohn•58m ago
Silly question, is PHP part of Project Glasswing? Crazy this has been dormant for a decade. And scary to wonder what else is lurking out there.
Maxious•55m ago
The OpenAI post linked says Sol assisted https://openai.com/index/coordinated-disclosure-of-critical-... and they invite more open source projects to apply to their program https://patchtheplanet.org/
rs999gti•52m ago
Lots of stuff is PHP e.g. most message boards. It was very popular pre-dynamic web.
dd8601fn•49m ago
I just got a nostalgia hit remembering all the phpBB type boards.

But also I haven’t seen much of that style of bulletin boards in ages. Maybe the occasional EEVBlog or Ars kinda count?

bombcar•35m ago
phpBB, vbulletin, and XenForo still power more than you might realize - often websites that still have comments are using one of those as a back-end, even if you can't access it directly.
rkozik1989•30m ago
How dare your forget PHPnuke.
whycome•36m ago
It’s still popular af. Almost half of any cms site online is powered by Wordpress. Many sales sites use woocommerce (Wordpress plugin). Message boards for sure (phpbb!). Moodle and other similar learning management tools run on PHP. Other cms systems like drupal and joomla make up another big portion of cms installs. I think the custom Wikipedia (mediawiki?) is php.
apocalyptic0n3•20m ago
It's still the most widely used server side language on the web thanks to WordPress, unless that has changed recently (it was dropping)
sehw•57m ago
Ye, no humans but "AI".
dewey•51m ago
Grinding through abandoned source code in hopes of finding a vulnerability isn't exactly the most fulfilling work for many, perfect use case for AI which doesn't sleep.
dspillett•34m ago
Apparently both bugs had been reported previously, pre-AI, if so some important questions need to be asked about how those reports slipped through without a fix.
tchalla•53m ago
> We used Wiz Atlas, Gemini 4 Argon and GPT-5.6 Sol throughout this research. Notably, Gemini 4 Argon made an invaluable contribution to finding the vulnerability, exploit development, attack detection, and validation of the patch.
evandena•51m ago
a little self promotion there :P
krelian•46m ago
First the product they sell, then the product they got early access too...

I know they waited two months with this but wouldn't it be wiser to wait just a little bit more than a few minutes after the fix released?

NoahZuniga•43m ago
Wiz is a google company...
asbv-1qq•47m ago
The flaw was in at least 20 year old code, which seems to be a common theme for AI discoveries.

No compute costs for finding the issue or for writing the exploit are disclosed.

But it is marketed as if it were the first RCE found in human history.

pixl97•20m ago
Eh, it's an RCE that's been around forever and runs on a pretty large number of websites. Worse a lot of businesses have things like wordpress sites so one of those getting compromised is a foot in the door allowing movement into the more protected areas of the network.

So yea, it's a big deal.

SoftTalker•6m ago
Web servers should not be a foot in the door. They should be assumed hostile and stringently limited. PHP especially has been nortorious for remotely exploitable bugs but that's probably more due to its popularity and wide use by beginners than it being strictly worse than any other stack in this regard.
nope1000•13m ago
I like to be AI sceptical as well but I think it's even more noticeable if the flaw is in 20 year old code which thousands of people have read and reviewed and not noticed, isn't it?
ashfg1•8m ago
Hardly anyone reads and reviews in open source. It is a myth from ESR. Probably one person wrote it and another one said LGTM.
pizzafeelsright
simonw•46m ago
Timeline from that article:

August 19, 2026: Wiz Research discovers the first PHP vulnerability using Wiz Atlas, Gemini 4 Argon, and GPT-5.6 Sol.

August 20, 2026: Unauthenticated RCE is confirmed against Drupal.

August 21, 2026: Unauthenticated RCE is confirmed against WordPress.

August 24, 2026: Wiz Research reports the vulnerabilities to the PHP security team.

September 21, 2026: PHP acknowledges the reports and begins developing a coordinated fix.

October 21, 2026: Patched PHP releases become available.

October 21, 2026: Public disclosure.

I want to understand how it leaked. I guess a whole lot of people were looped in between September 21 and October 21?

projektfu•43m ago
Simon, it seems you spend too much time close to the AIs and your writing is getting flagged.
bombcar•32m ago
Two months is way too long for this, and the people involved seem to not know the "way" to do this - it shouldn't have taken a month from "reports" to "PHP acknowledges" which smells like "we sent an email or filled out a web form" when the ACTUAL reporting mechanism is "we talked to our friends at <MAJOR DISTRO> or <WORDPRESS> who called the right people and a patch is being slipped in."
mjr00•30m ago
> I want to understand how it leaked. I guess a whole lot of people were looped in between September 21 and October 21?

Yes. I was at AWS when Spectre and Meltdown were discovered, and we received approximately a month of advance notice and put together teams to apply mitigations. The work of the team was on a need-to-know basis--even team members' managers only knew they were pulled onto a critical project, not what the specific project was. But there were still 30+ people in the company who knew, and that was just one company (I'm guessing Google/Azure/other cloud providers got similar advance notice).

Now, this is a much wider scale vulnerability, in the sense that Spectre/Meltdown primarily impacted cloud providers, but this attack impacts literally anyone who runs PHP. Dozens, if not hundreds, of companies likely got advance notice that a patch needed to be installed. In those companies there are teams of people applying those patches. All it takes is one of them who wants 15 minutes of internet fame to leak the details.

Topfi•41m ago
Can anyone explain the two month window between reporting and disclosure? I do understand Responsible Disclosure as a concept, but looking at the timeline and severity, I struggle to understand the timing, especially the month that passed before an acknowledgment.

Edit: Apparently this had been reported more than half a decade ago [0]. I am getting more confused the more I look into this, hopeful for a well written, factual post-mortem from someone who hasn't actively avoided PHP for the last decade.

[0] https://news.ycombinator.com/item?id=50181395

phoronixrly•40m ago
Can anyone explain the lack of the irresponsible disclosure in the 'Responsible' disclosure timeline? The one that happened just before the coordinated release?
edh649•35m ago
Seems to have been prompted from research by calif.io who started disclosure on August 11 vs Wiz on August 24th? A bit unclear on the participants and how they all interacted... https://calif.io/php2shell/
geerlingguy•27m ago
One pattern of AI-assisted writing I hate is that technical articles now read as Atlantic journalistic tech-noir stories, which require scrolling through 20+ pages of content to get to the meat of a post.
pizzafeelsright•12m ago
I generally click away when I see comic book style writing.
mg794613•16m ago
I'm so tired of some of these "research setups", do you really need a logo, a brand and everything setup so you can cash in? Was this truely a problem or artificially created?

Especially after fumbling it like this.

"Buy our product, because we found a bug", yeah and you leaked it too.

wildmXranat•14m ago
Did anyone find a reputable source for code which can be used to validate fixes ?
jongjong•14m ago
Damn. I've been saying that writing correct software is almost impossible.

I suspect it's a matter of time before all mainstream blockchain projects are cracked. Many of those projects are hundreds of thousands of lines of code. There's no way they don't have vulnerabilities given that AI is now uncovering so many vulnerabilities in such high exposure projects.

wat10000•8m ago
That's why so much emphasis is now placed on trying to make incorrect software either fail to build or fail at runtime in a way that doesn't let people take over the computer. C makes it extremely likely that a random correctness issue will be a security issue. Newer languages much less so. They're far from perfect but it's a lot better.
NooneAtAll3•11m ago
Ai fumbles responsible disclosure*
airtnp•10m ago
Ok, based on my reads on Wiz and Calif writeups, there are 5-6 issues mapped to 2 CVEs.

Wiz (with GPT 5.6 Sol + Gemini 4 Argon) : Remote process-memory disclosure; OPcache type confusion; Fatal-error backtrace UAF. POC on Wordpress, Drupal and Joomla

Calif (with LLM, no specific model, but model is accessible to all): Zend HashTable OOM. Targets PHP-FPM and mod_php.

Both discovers the UAF on upload progress unserializer.

Surprised to see the anime girl dancing with POC is really uploaded by Calif researchers.

airtnp•9m ago
BTW, the backport fix seems to disable session upload entire in old version, not fixing the issue like new versions:

https://github.com/php/php-src/commit/712e60f9edfd03f0960fc4...

processunknown•6m ago
Whats the issue with the POC video? I dont understand why thats surprising
•
5m ago
The recent signed keys being '4' is an example.

Looks good, validates, works, and then trust is assumed.

pizzafeelsright•6m ago
I discovered a large security concern that has existed for a decade, since the code was originally written. I was working on an unrelated task when my AI agent discovered an oversight because the agent happen to examine that file.

Everything was sound and every test passed for years along with every security scan because intent was not validated.

I would expect an unending source of exploits in the future until AI rewrites everything.

geerlingguy•25m ago
Even some smaller vulnerabilities are spread through hosting companies pretty quickly within a day or two prior to public release, to give teams time to make sure staff will be ready to patch immediately.

The wider the pre-release news spreads, the more chance you get someone who will spill the beans (intentionally or not).

its606•27m ago
It would have been nice if there had been time for downstream distributors to patch as well.
Good4boothee•27m ago
> I want to understand how it leaked

If I understand correctly someone showed off a video of exploit in action - just like the ones included in article - and the visible messages were enough for other LLM users to discover the exploited bug.

simonw•18m ago
How did the person who shared the video hear about the exploit?

Were they already looped in or was it circulating outside of the trusted group already?

PHP 8.2.35

https://github.com/php/php-src/releases/tag/php-8.2.35
352•tuyuri•1h ago•145 comments

PHP2Shell: AI uncovers critical RCE in PHP

https://www.wiz.io/blog/php2shell-php-rce
179•danlark1•1h ago•45 comments

DuckDB 2.0.0 LTS "Cinnamon Teal"

https://duckdb.org/2026/10/21/announcing-duckdb-200
76•nnx•1h ago•5 comments

Eight Bits of Trust; eMudhra's CA keys cracked in milliseconds

https://scotthelme.co.uk/eight-bits-of-trust-emudhras-ca-keys-cracked-in-milliseconds/
508•hkc•5h ago•227 comments

Patch the Planet: global response coordination as agents uncover vulnerabilities

https://openai.com/index/coordinated-disclosure-of-critical-vulnerabilities/
68•nr378•59m ago•32 comments

Qwen3-Coder writes less secure code when told it's for a US persona

https://www.hirundo.io/blog/qwen3-coder-vulnerabilities
183•mattifrank•2h ago•91 comments

Most advice is right for the person giving it

https://coached.com/essays/most-advice-is-right-for-the-person-giving-it/
71•rohanm93•1h ago•52 comments

The No Kings Takedown Is Why You Shouldn't Rent Your Megaphone from Zuck

https://www.techdirt.com/2026/10/20/accident-or-not-the-no-kings-takedown-is-why-you-shouldnt-ren...
113•robtherobber•1h ago•48 comments

Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor

https://safedep.io/litellm-pypi-compromise-credential-stealer-backdoor/
14•abhisek•1h ago•2 comments

LayerFS: The filesystem for AI coding agents

https://layerfs.ai/
39•l2dy•2h ago•19 comments

C++ futures part 1: The mental model

https://devblogs.microsoft.com/oldnewthing/20261012-00/?p=112767/
16•ibobev•1d ago•2 comments

9 Mothers (YC P26) Is Hiring in Austin, TX

https://9mothers.com/careers
1•ukd1•3h ago

Upcoming critical PHP security release (CVE-2026-109618 / -109619)

https://news-web.php.net/php.announce/509
1398•xd•18h ago•592 comments

The Future of CSS

https://www.joshwcomeau.com/css/interop-2027/
508•soheilpro•13h ago•210 comments

Whatever Happened to Fire Escapes

https://practical.engineering/blog/2026/10/20/whatever-happened-to-fire-escapes
117•sohkamyung•4h ago•73 comments

Way to Play Super Mario 64: On Apple Vision Pro

https://www.pagetable.com/303
107•frizlab•2d ago•37 comments

Show HN: SimCity, but with Permits

https://permit.petercai.com/
871•pcai•20h ago•394 comments

Dutch National Cyber Security Center is Offline because it uses PHP

https://www.ncsc.nl/actueel
215•jacquesm•2h ago•72 comments

Using thousands of AI agents to uncover new leads in biological data

https://openai.com/index/scaling-ai-research-for-complex-biological-data/
14•raahelb•1h ago•0 comments

eMudhra intermediate CA compromise

https://emudhra.we-have-a-problem.com/
1123•galadran•1d ago•430 comments

Muse exposes users' personal and business secrets when they share conversations

https://arstechnica.com/security/2026/10/meta-muse-exposes-users-personal-and-business-secrets-wh...
279•gumby•14h ago•129 comments

The Decoherence Trap

https://maevyn.codes/decoherence
108•cassianoleal•2d ago•46 comments

Voxtral 3

https://mistral.ai/news/voxtral-3/
738•ilreb•23h ago•185 comments

The Lucrative World of Literary Scams

https://www.thedial.world/articles/news/ai-book-scams
32•samclemens•2d ago•4 comments

Show HN: Sumi.css – CSS Framework

https://github.com/vladocar/Sumi.css
7•bepero•2h ago•3 comments

Feds suspect ransom negotiator ran ShinyHunters extortion site

https://krebsonsecurity.com/2026/10/feds-suspect-ransom-negotiator-ran-shinyhunters-extortion-site/
243•Bender•16h ago•122 comments

Good type against all odds

https://unsung.aresluna.org/good-type-against-all-odds/
172•firloop•13h ago•15 comments

The Other Epidemic: Trying to get off benzodiazepines

https://www.thebeliever.net/the-other-epidemic/
241•gaplong•15h ago•195 comments

In Hilbert space, all things are quantumly possible

https://www.quantamagazine.org/in-hilbert-space-all-things-are-quantumly-possible-20260826/
123•unprovable•12h ago•65 comments

Google open-sources TorchTPU, a native PyTorch back end for TPUs

https://github.com/google-pytorch/torch_tpu
369•ilreb•22h ago•79 comments