By Jordan Vale

php2shell-ai-found-web-flaws-what-it-means hero

If your bank's website, a train booking page or a government service showed a "down for maintenance" message last week, there is a good chance this story is why. The short version: it was mostly a precaution, not a sign your account was broken into.

What happened

PHP is a programming language. You never see it, but it sits under a big part of the web, including sites built with WordPress and Drupal. "PHP is everywhere," the security company Huntress said, as quoted by the BBC.

Researchers at two security firms, Calif and Wiz, found two serious flaws in PHP that had gone unnoticed for more than a decade, the BBC reports. They used advanced AI tools to do it: Calif and the PHP Foundation, which looks after PHP, were part of an OpenAI program called Patch the Planet that gave them access to those tools. The flaws were given the nickname PHP2Shell. Each also has a CVE (Common Vulnerabilities and Exposures) number, a public ID used to track security flaws.

The plan was to announce the flaws together with a fix later in the month. But details leaked on social media on Tuesday, October 20, so the PHP team rushed out fixes on Wednesday, October 21. The planned release time was 14:00 UTC that day, which is 7 AM Pacific Time (PT), Amazon says.

Wiz has estimated that "roughly 70%" of the internet is affected. That is Wiz's own estimate: the BBC said it could not verify the figure, and we could not either.

Why so many sites went dark

Cyber-safety agencies in the UK, the EU, Australia, Japan and the US told organisations to patch quickly, or take systems offline if they could not patch in time. Many did exactly that:

Finland's state IT provider, Valtori, said its outages were not caused by a cyber breach. Restoring services "can take days or even weeks," its director general, Hannu Naumanen, said, because systems must be carefully tested. In Germany, many public websites were back online by Thursday morning, October 22, DW reported.

Think of it like a recall on a common door lock used in millions of buildings. Many owners closed the doors for a day while a locksmith came, rather than leave them open.

Attackers moved fast too

Cloudflare's CEO, Matthew Prince, wrote that his network saw thousands of attempts to use the flaws in the 10 hours before the announcement, then "hundreds of thousands within 2 hours, and millions now," Reuters reported.

Amazon's security team says it saw an attempt on one of its decoy systems (a "honeypot" set up to attract attackers) as early as October 17, four days before the public announcement. It says it is unclear how the attacker learned about it early, or whether such attempts would have worked on real systems. Amazon and the security firm Datadog both say patching is the only complete fix.

Behind the shutdowns were people working through the night. "It was a long day and a long night, I know, for all the IT and security folks," Microsoft's CEO, Satya Nadella, said, according to Reuters.

Ink, not pencil: the flaws are real, fixes were released on October 21, and attack attempts rose into the millions, according to Cloudflare and Amazon. How many sites were actually broken into is not yet known.

Why regular people should care

Attackers are moving faster than they used to. Amazon says the time from a fix being released to a working attack is now measured in hours, partly because new tools make that work cheaper.

A few calm steps help:

What's next

Experts warn that full cleanup could take weeks or months, especially for older systems that cannot simply be patched. Watch for companies and agencies saying whether any data was taken. The hopeful part: researchers found these flaws back in August, and many large sites were patched and back online within days.

← Back to AI