In the last two weeks of October, the PHP2Shell cyber attack pushed government, airline, bank and news websites offline around the world, and it is still going. If your website runs on WordPress or anything else built on PHP, this is about your site.
Here is what happened, day by day, who was hit, what to do this week, and how a Freeborn Digital website is built so a flaw in PHP has nothing to run on.
What happened, day by day
On October 17, Amazon's threat intelligence team watched someone try the exploit on one of its decoy servers, The Register reported. The flaws were still secret. Attackers were already knocking four days before the fix existed.
The fix came on October 21. Cloudflare saw attack traffic aimed at its customers before the release, and its CEO counted thousands of attempts in the ten hours before the announcement, hundreds of thousands within two hours, and millions since.
That same day, websites started going dark. Government sites in France, Denmark, Finland and the Netherlands went offline, including the Dutch cyber security agency. Wikimedia took systems down as a precaution.
Japan's airline ANA, rail operator JR West and the bank MUFG suspended pages. The Journal, an Irish news site, went offline to shore up its defenses, CNN reported.
The NSA said any organization that could not update at once should take the system offline, Newsweek reported. On October 26, CISA confirmed attackers were exploiting both flaws and gave federal agencies until October 29 to fix them, per The Register.
A tracking project at Delft counted more than 50,000 exploitation requests from over 600 addresses in 70 countries. By October 29, researchers reported attackers had taken over 25 servers, including firewalls tied to US government organizations, The Register wrote.
Attackers were already knocking four days before the fix existed.
Why the PHP2Shell cyber attack reaches so far
PHP is the programming language under WordPress, Drupal, Joomla and Magento. Wiz Research, the team that found the flaws, puts it behind roughly 70 percent of all websites. Newsweek adds the caveat that running PHP is not the same as running an unpatched copy.
PHP2Shell is two flaws inside PHP, in how it handles memory when a request goes wrong. They had been there for more than a decade. An attacker sends traffic built to trip the flaw and PHP runs the attacker's commands without any login.
The second flaw lets an attacker read the server's live memory, where passwords, keys and login tokens sit. Wiz found both with help from AI models and wrote that a single researcher finished in a week what would once have taken a team months.
Updating WordPress does not fix it
Automattic, the company behind WordPress, said updating WordPress, a theme or plugins does not fix the flaw, Newsweek reported. The fix is in PHP, on the server, and whoever runs the server makes it. For most small businesses that is the hosting company.
The U.S. Chamber of Commerce guide comes down to one question for the host, in writing: which PHP version is each site on, and is it fixed. It adds that about 35 percent of WordPress sites run PHP versions that get no patches.
The versions that carry the fix:
- PHP 8.5.12 or newer
- PHP 8.4.27 or newer
- PHP 8.3.36 or newer
- PHP 8.2.35 or newer
After the fix, the guide says to change the website and hosting passwords and have your developer replace the payment and email keys. Those may have been read before the patch landed.
Two days after the patch, Cloudflare noted a further PHP advisory for a third flaw that affects even the patched versions. Keeping a PHP site patched is ongoing work. In November, the Hostinger server breach showed the server under the site needs the same care.
A week after the PHP fix, WordPress shipped its own, for the WordPress update flaw.
A Freeborn Digital website has no PHP to attack
Freeborn Digital builds every website as plain pages: HTML, CSS and JavaScript, the three things a browser reads. There is no PHP, no WordPress, no database and no plugin on the site.
When someone opens a page, the server hands over the page and runs nothing to build it. A flaw in PHP needs PHP on the server, and a Freeborn Digital site does not have it. Every attempt counted above would land on nothing.
Freeborn Digital builds this as custom websites, launches it, and keeps it current. Send a change, hours, prices, a photo, and it is made.
Every site is built so an AI names your business and Google lists it. AEO, GEO and SEO: your business as the answer when someone asks ChatGPT or Gemini who to call, your site recommended with a link, and Google and the map pack.
All three are built into the pages, the wording, the structure behind each page, and your listings matched to the site. Search engines and AI read the page, and a plain page loads fast on every phone.
Where a business has something worth seeing move, Freeborn Digital also builds animated websites, made in Adobe After Effects and Higgsfield, on the same plain pages.
Take a home goods store in Schuylkill County whose old site ran on WordPress. Freeborn Digital rebuilt it as plain pages: a hero with what it sells and the button to call, a page per department, the questions people ask answered there.
The week the attack hit the news, the owner asked if the site had to come down. There was nothing on it to patch, and it kept taking calls.
Questions about the PHP2Shell cyber attack
Is the PHP2Shell attack over?
No. CISA confirmed on October 26 that attackers are exploiting both flaws, and tracking projects keep logging new attempts from new addresses. A PHP site that is not on a patched version is still open.
Does updating WordPress fix PHP2Shell?
No. The flaw is in PHP, the language WordPress runs on, and the fix is a PHP update on the server. Updating WordPress, a theme or a plugin leaves the flaw where it is. Ask your host whether PHP has been updated.
Is a Freeborn Digital website affected by PHP2Shell?
No. Every Freeborn Digital website is plain HTML, CSS and JavaScript on your own domain. There is no PHP, no WordPress, no plugins and no database on the site, so a PHP flaw has nothing to run on.
Can a website with no PHP still take bookings and show up in Google?
Yes. Booking, forms, quotes, payments and client login connect to the tools you already use. AEO, GEO and SEO are built into every page, and search engines and AI read a plain page the same way.
If your site runs on PHP, send your host the question above this week. If you want a site with nothing to patch, tell Freeborn Digital what the business does and who calls. A few lines at freeborndigital.com/start is enough, or text 570-617-7655.
Want this for your business?
Start a Project