AI uncovers decade-old PHP flaws, triggering global security response

Artificial intelligence discovered critical vulnerabilities in PHP, the programming language powering about 70% of websites, prompting governments and businesses worldwide to patch systems or take them offline. The incident underscores growing risks from AI's ability to identify exploitable security gaps.

Researchers at Google's Wiz and AI firm Calif uncovered two severe flaws in PHP, a server-side programming language used in web development for decades, using advanced AI models from OpenAI and Google. The vulnerabilities, rated 9.2 out of 10 in severity, had gone undetected for over a decade despite being embedded in PHP versions released over the past ten years.

The flaw was publicly disclosed on 21 October, triggering a global security alert. Within days, websites ranging from Wikipedia and government portals to gaming platforms and financial services went offline as a precaution. Wikimedia took down several systems; the Finnish government, Edinburgh council, the BBC and the Netherlands' cyber-security agency pulled their websites; and Orange suspended services in France. Japan's SoftBank temporarily suspended earthquake and tsunami alert systems. The US National Security Agency advised all federal departments using PHP to take systems offline if unable to patch immediately, calling the flaw a "direct path" to exploit databases. The PHP Foundation, which maintains the open-source language, released patches on Wednesday.

The incident illustrates the expanding role of AI in identifying security weaknesses that human researchers missed. According to CNBC, three per cent of all critical vulnerabilities ever discovered have been found in the last month, raising concerns among security experts about escalating risks. Chris Krebs, former director of the US Cybersecurity and Infrastructure Security Agency, told CNBC that "3% of all critical vulnerabilities ever discovered have been found in the last month" and warned the cybersecurity landscape will likely worsen before improving. Small and medium-sized businesses face particular risk, as they may lack resources to deploy patches quickly or run advanced AI models to harden their systems, according to Krebs.

There have been no confirmed exploits of the flaw, known as php2shell, since disclosure. However, Amazon said it was targeted in multiple attack attempts days before the public announcement, though its sites remained operational. Experts warn that the public release of technical details will likely trigger more exploitation attempts in coming weeks, particularly against poorly maintained websites belonging to smaller organisations with limited security resources.