The PHP-to-Shell Crisis: Two Critical Bugs Shut Down the Internet
On Wednesday, two critical vulnerabilities (CVE scores 9.2/10) in PHP were publicly disclosed, triggering a global cybersecurity emergency. Unlike previous exploits targeting WordPress plugins or specific applications, these bugs live in PHP itself, the language powering roughly 70% of the internet.
How the Bug Works
The PHP Foundation explains: if a request runs PHP out of memory at exactly the wrong moment, PHP can leave half-built data behind and later trust it. With a carefully crafted request, an attacker can achieve remote code execution (RCE) on a server without authentication. This underscores why understanding Common Cybersecurity Threat Vectors and How to Protect Your Systems is critical for any organization.
- Affects every PHP version from the last decade
- Proof of concept worked on fresh installations of WordPress, Drupal, and Joomla
- Even a simple "Hello World" application is vulnerable
Chaotic Disclosure: From Coordinated to Chaos
The planned calm disclosure on Thursday went off the rails:
- Tuesday afternoon: CVE numbers leaked on Hacker News with incorrect severity (claimed perfect 10)
- Tuesday evening: PHP gave advanced notice and moved release forward
- Califf mistakenly published a working exploit video (copies circulated on Twitter before deletion)
- Chain Guard published patched PHP images 6+ hours before official release, breaking the embargo
"Disclosure was built for a world where finding the bug was the hard part. I don't think we live in that world anymore."
Global Response: NSA, FBI, and Allies Say "Take It Offline"
The advisory was unprecedented:
| Agency | Action | |--------|--------| | NSA, CISA, FBI, UK's NCSC | If you can't patch immediately, take the system offline | | Japan's Prime Minister | Tweeted about the vulnerability |
Websites That Went Dark
- Netherlands: DigiD (national login), Parliament, National Cyber Security Center
- UK: Edinburgh, Bristol, Oxford university sites
- Wikipedia: Some systems taken offline
- 4chan, Something Awful: Stayed down until patch
- Breach Forums: "We take our security seriously" (the irony)
Who Found It? The AI Attribution War
The discovery sparked a heated debate:
- OpenAI: Claims Califf found it using GPT-5.6 as part of "patch the planet" program
- Whiz (Google-owned): Says Gemini 4 Argon made "invaluable contributions"
- Califf's rebuttal: Researcher was first (August 5th tweet as proof), used no special tools
Key insight: A 2024 PHP Foundation audit found initial signs but couldn't prove exploitability. Anthropic's Claude Mythos also missed it earlier this year.
Current Damage Assessment
Good news: As of publishing, no confirmed successful exploitation. Cloudflare activated firewall rules at 3 AM UTC Wednesday. CISA reports no successful attempts.
Bad news:
- 59% of servers run PHP 8.1 or older
- Only PHP 8.2+ got proper releases; older versions need manual patches. Understanding What Are Patches? The Complete Guide to Software Patching can help navigate this process.
- Watchers report real attempts using AI-coded exploit tools
The Bigger Picture: A New Era of Vulnerabilities
Same day saw:
- Node.js patched its own RCE bug
- GitLab shipped a fix for a perfect 10/10 vulnerability
- Railway announced a breach (API keys, passwords leaked)
Taylor Otwell (Laravel creator): "It probably won't be the last time, and PHP probably won't be the only language that goes through it."
This incident echoes the chaos seen in the FBI Hacked by ShinyHunters: Zero-Day Exploit, Data Breach, and Dark Web Threats event, highlighting how rapidly vulnerabilities can cascade into major breaches.
What You Must Do
- Patch immediately: Update PHP to the latest version on every server
- If you can't patch: Take the system offline as agencies advise
- Check forgotten servers: That old dev box or side project counts
- Watch for AI-accelerated exploits: This is the new normal
The bug itself was the least interesting part, the real story is how quickly AI enables exploit development when details leak. A few hours is all attackers need now. For a deeper understanding of why such flaws persist, see Security Engineering: Why Bridges Don't Fall but Computers Get Hacked.
The NSA and other cyber agencies across the world are telling organizations to take their websites offline if they
can't patch them. Big names like 4chan went down, parts of Wikipedia went down, and even hacker forums like breach
forums have switched themselves off. All of this because of two bugs in PHP, and PHP runs roughly 70% of the internet.
So, the scale of this could be massive. The researchers who found them are comparing this to heartbleleed and log
for shell. [music] So, these two bugs are being called PHP to shell, and they went public on
Wednesday with a score of 9.2 out of 10. And an important thing to know here is this isn't WordPress or some dodgy
plug-in like we've seen before. This is in PHP itself. So, updating your app doesn't fix this. You have to update
PHP. The PHP Foundation's short version of how this works is if a request runs PHP out of memory at exactly the wrong
moment, PHP can leave half-built data behind and later trust it. And with the right request, that means someone on the
internet can run their own code on your server without logging in. So they can have remote code execution. The security
researchers whiz showed this exploit working against fresh installs of the latest versions of WordPress, Drupal,
and Jumla. And they say this can even impact a hello world application as it's the language itself that's vulnerable.
They say that every version of PHP from the last decade can be exploited by one of these vulnerabilities. So if you're
watching this video and you just remember that you have a PHP server set up somewhere, go ahead and update it.
and also subscribe because I see about 80% of you aren't subscribed and it really helps us out. Now, how these two
bugs were disclosed was a bit of a rocky ride. It was meant to be a calm, coordinated release. The plan was to
publish everything on a Thursday, but on Tuesday afternoon, the two CVE numbers got posted to Hacker News with the wrong
severity, claiming they were both a perfect 10. The person who has posted this since apologized and said that
source told them there was no embargo. But because of this, that evening, PHP gave everyone advanced notice and pulled
the release forward a day. Around the same time, Califf, one of the firms that found the bug, mistakenly published a
video of their exploit working against real targets, and it did get deleted, but copies of it were going all around
Twitter. Then on Wednesday morning, more than 6 hours before the release, Chain Guard published patched PHP images, and
the PHP Foundation says that unilaterally broke the embargo because anyone can now go study the fix while
everyone else was still waiting. So, by the time the patch actually landed at 2 am UTC, everyone already knew roughly
where to look. Whatever happened to responsible disclosure? Now, obviously, people began racing to build an exploit,
and since there's a lot of servers that won't be patched in a day, the advice got pretty drastic. The NSA, CISA, the
FBI, and the UK's NCSC all said that if you can't update straight away, take the system offline. Even Japan's prime
minister tweeted about this. As a response, we saw a wave of websites going down. In the Netherlands, DigD,
the national login service went down along with Parliament's website and even the national cyber security one. In the
UK, Edinburgh, Bristol, and Oxford, their sites went offline. Wikipdia took some systems down. And 4chan and
Something Awful also went offline to wait for the patch. Levels, one of the biggest PHP fans that I follow on
Twitter, disconnected every single server of his business before the patch dropped. And once this admin on Reddit,
said it was the first time in 20 years they' deliberately taken their website down. In a fun bit of irony as well,
Breach forums also went offline and the moderator said they will stay down until PHP is patched and we take our security
seriously. I mean, yeah, I suppose the forum with all of the hackers is most likely to be hacked as well. Now, one of
the reasons this might not have the scale that it could potentially have is because Cloudflare for sale and a few
others were told weeks in advance, so they quietly built firewall rules. Cloudflare switched on for every
customer at 3 a.m. UTC on Wednesday, and they say they watched attackers tweak their payloads to try and get round
them. So, has half the internet been hacked? Well, not as far as we know. Watchtower says they are seeing real
attempts in the wild using exploit tools fivecoded with AI, but now words, nobody has been successful to date. CISA also
says it hasn't seen successful exploitation attempts yet. So, right now, the damage is mostly in the
websites that people chose to switch off. But the real worry is in the long tail. Only 8.2 and newer got proper
releases, and older versions got patches you have to build yourself. And one scan found that 59% of servers show a PHP
version of 8.1 and older. And that's the stuff that probably won't get patched this week or maybe ever. It's worth
mentioning here. Andre Suri, who maintains the PHP packages a lot of Debian and Ubuntu servers pull from,
those packages had fixes all the way back to PHP 7.4, which is an absolutely awesome move. Now, another bit of chaos
in this story is who actually found this bug. OpenAI says Califf found this using GPT 5.6 6 soul as part of OpenAI's patch
the planet program and that OpenAI led the group that got everyone ready. They're calling it one of the most
impactful vulnerabilities in recent memory. Whis found this independently and they say Gemini 4 Argon made an
invaluable contribution and it's worth knowing that Whiz is owned by Google now. Then Califf posted saying let's set
the record straight saying that researcher was first and pointing to a tweet from August 5th as the proof. And
in Callus write up, they say the researcher used no special harnesses and no models that weren't available to
everyone. They picked PHP because they knew it history and had a theory about where the bugs were hiding. And what
he's referring to here is a 2024 security audit by the PHP Foundation that already found the first signs of
this exact problem, but nobody could prove it was exploitable. So the fix kept stalling. In our words, that was
actually a structural failure. And they'd even scanned PHP with Anthropics Claude Mythos earlier in the year, and
that seemingly missed it, too. So, what had changed this time? Well, the bug class itself goes back to a research
from 2004. What changed is how far someone who knows where to look can turn an old theory into a working exploit.
Whis says one researcher did in a week or would have taken a world-class team months. And that's the scary part. None
of this is going to slow down. On this same day, No.JS patched a remote code execution bug of its own and GitLab
shipped a fix for one rated a full 10 out of 10. Then on the same evening, I've literally just seen that Railway
announced a breach. They say someone got into the systems that store customer environment variables and for some of
them got decrypted values. So API keys, databases, passwords, all have been leaked. Nothing links this to PHP to
shell, but Railway says it looks like part of a series of attacks on platforms aimed at getting AI provider keys.
OpenAI says that PHP to Shell is one of several big bugs it's already found, and he expects findings are likely to
increase sharply in the coming months. Taylor Artwell, who created Laravel, put this pretty well. He said, "It probably
won't be the last time, and PHP probably won't be the only language that goes through it." Overall, I think the bug
itself was the least interesting part of this story. The fix was ready. The CDN's ready, but it still turned into chaos
because news got out a day early, and because of AI, a few hours is all it needs for people with AI agents to start
building exploits. Disclosure was built for a world where finding the bug was the hard part. And I don't think we live
in that world anymore. So, if you run PHP anywhere, even on some server you forgot about, go ahead and update it.
Let me know what you think about all of this in the comments down below. While you're there, subscribe. And as always,
see you in the next one. >> [music]
These are two critical remote code execution (RCE) vulnerabilities (CVE scores 9.2/10) in PHP itself, affecting roughly 70% of the internet’s websites. The bug exploits a memory management flaw: if a request runs PHP out of memory at a precise moment, PHP can leave incomplete data behind and later trust it, allowing an attacker to execute arbitrary code on the server without authentication.
Major sites like DigiD (Netherlands), UK university sites, Wikipedia, 4chan, and Something Awful went offline as a precaution. The NSA, FBI, CISA, UK’s NCSC, and even Japan’s Prime Minister advised immediate patching or, if patching wasn’t possible, taking affected systems completely offline to prevent exploitation.
The top priority is to update PHP to version 8.2 or later, as only these versions received official patches. For servers running PHP 8.1 or older, manual patching is required. If immediate patching isn’t feasible, authorities strongly recommend taking those systems offline. Also, ensure all forgotten or development servers are checked and updated.
The planned coordinated disclosure on Thursday unraveled when: CVE numbers leaked early on Hacker News with incorrect severity, a working exploit video was mistakenly published by a researcher and spread on Twitter, and a third-party published patched PHP images six hours before the official release. This accelerated exploitation risks significantly.
There’s controversy over credit. OpenAI claims the researcher used GPT-5.6, while Google-owned Whiz says Gemini 4 Argon contributed. However, the researcher (Califf) rebuts this, providing proof of discovery on August 5th—before these AI models were used—and states no special tools were involved. A 2024 PHP Foundation audit found initial signs but couldn’t confirm exploitability.
As of publishing, no confirmed successful exploitation has been reported. Cloudflare activated firewall rules early Wednesday, and CISA reports no successful attempts. However, 59% of servers run outdated PHP versions, making them vulnerable. Watchers note real attempts using AI-coded exploit tools, so the risk remains high—especially given how quickly exploit development accelerates with leaked details.
This PHP bug is part of a broader wave of critical vulnerabilities. On the same day, Node.js patched its own RCE bug, GitLab fixed a perfect 10/10 vulnerability, and Railway announced an API key breach. As Laravel creator Taylor Otwell noted, this likely won’t be the last time such bugs appear, signifying a new normal where AI-accelerated exploitation is the greatest threat.
Keep this summary
Save it to LunaNotes and it becomes a real note in your library — editable, searchable, and ready to turn into flashcards or a diagram. Free to start.
Save to LunaNotesOr summarise for another video.
32K+ people have turned 65K+ videos into notes
“Very useful tool. I'm using it for the last couple weeks and I'm loving it so far. Makes learning on YouTube a great experience.”
This summary and transcript were automatically generated using AI with the Free YouTube transcript summary tool by LunaNotes.
Related summaries
FBI Hacked by ShinyHunters: Zero-Day Exploit, Data Breach, and Dark Web Threats
Esteemed content creator discusses the ShinyHunters cyber attack on the FBI, revealing a massive data breach of sensitive personnel information. The video explores the compromise via a PeopleSoft zero-day exploit, the leaked 2-3 TB of data from AWS government servers, and the group's audacious ultimatum demanding a public apology from the FBI within one week.
Security Engineering: Why Bridges Don't Fall but Computers Get Hacked
This lecture explores the concept of "security theater" through the Halifax explosion case study, teaching students to think like attackers rather than defenders. Key topics include physical security vulnerabilities, the economics of zero-day exploits, and why complex systems will always have security flaws.
Common Cybersecurity Threat Vectors and How to Protect Your Systems
This video explores various methods attackers use to infiltrate systems, known as threat vectors, including messaging platforms, malicious files, network vulnerabilities, and supply chain risks. Learn key strategies to identify, prevent, and mitigate these threats to enhance your organization's cybersecurity posture.
What Are Patches? The Complete Guide to Software Patching
This whiteboard Wednesday video explains what patches are, their origin, and why they are critical for cybersecurity. Learn about different types of patches and essential tools like Microsoft SCCM and Ansible for vulnerability management.
Ethical Hacking Full Course Exam Revision 12 Weeks in One Session
This comprehensive revision session covers all 12 weeks of ethical hacking, focusing on core concepts, formulas, and key terms for exam preparation. Topics range from networking basics and IP addressing to cryptography, steganography, and hardware security attacks.
Most viewed summaries
A Comprehensive Guide to Using Stable Diffusion Forge UI
Explore the Stable Diffusion Forge UI, customizable settings, models, and more to enhance your image generation experience.
Kolonyalismo at Imperyalismo: Ang Kasaysayan ng Pagsakop sa Pilipinas
Tuklasin ang kasaysayan ng kolonyalismo at imperyalismo sa Pilipinas sa pamamagitan ni Ferdinand Magellan.
Mastering Inpainting with Stable Diffusion: Fix Mistakes and Enhance Your Images
Learn to fix mistakes and enhance images with Stable Diffusion's inpainting features effectively.
Pamamaraan at Patakarang Kolonyal ng mga Espanyol sa Pilipinas
Tuklasin ang mga pamamaraan at patakaran ng mga Espanyol sa Pilipinas, at ang epekto nito sa mga Pilipino.
How to Install and Configure Forge: A New Stable Diffusion Web UI
Learn to install and configure the new Forge web UI for Stable Diffusion, with tips on models and settings.
Found this summary useful?
Take it with you. One click puts it in your own LunaNotes library.
Save to LunaNotes