What this video covers
This week websites around the world went offline. AI helped researchers find two critical flaws in PHP (PHP2Shell), the language behind about 70% of websites, including WordPress. Here is what happened and the 5 steps to protect your site.
Key points
What happened
- PHP2Shell = two critical PHP bugs (rated 9.2/10). Worst case: an attacker runs code on the server without a password.
- Found by researchers from OpenAI, Wiz and Calif with the help of AI. Wiz said the bugs were hidden for about 10 years.
- The NSA and Europe's cybersecurity agency told companies to act right away. Some sites in the Netherlands and Ireland went offline while they fixed it.
- Fixed on October 21: PHP 8.5.12, 8.4.27, 8.3.36, 8.2.35. Researchers reported attacks the same day.
Updating WordPress does NOT fix this. The bug is in PHP, on the server.
5 steps
- Check your PHP version: WordPress → Tools → Site Health → Info → Server. 8.1 or older gets no new fix from PHP.
- Ask your host and get a clear yes: is the fix for both PHP2Shell bugs installed? A firewall rule is not the same as patched PHP. (Hostinger posted that it tested its platform, found it not vulnerable, added extra protection and is rolling out patched PHP.)
- Old PHP? Full backup first, then switch to PHP 8.3 or 8.4 and test your pages, forms and checkout.
- Look for signs of a hack: unknown admin users, plugins you never installed, .php files in uploads, spam pages on Google, Search Console or host warnings.
- Keep automatic backups, change every password if anything looks wrong, and consider the free Cloudflare plan.
If you build websites: offer your clients a security check + a monthly care plan.
Chapters
- 0:00 Websites went dark
- 0:27 What is PHP2Shell?
- 1:22 Step 1: check your PHP version
- 1:37 Step 2: ask your host
- 2:15 Step 3: back up & upgrade
- 2:33 Step 4: signs of a hack
- 2:50 Step 5: backups & passwords
- 3:09 The money angle
Read next
Prices and offers are as shown in the video and checked when it was made (US, USD, before tax). They change by country and over time, so always check the final cart.