
Websites across world hit by millions of attempts to exploit PHP code flaw
Problem in language that underpins 70% of sites has led governments and companies to pull sites offline to patch fault
Websites around the world have been hit by millions of attempts to exploit a recently discovered vulnerability in their code, cybersecurity companies have said, as the US National Security Agency warned the flaw could allow attackers to take control of web servers, steal data and disrupt services.
The problem in the PHP programming language, which underpins about 70% of the worldâÂÂs websites, emerged on Wednesday causing governments and companies to pull their websites off the internet before they could be attacked and so they could patch the fault.
In the UK, 32 government services have been taken offline, the cybersecurity minister, Liz Lloyd, told parliament. She said this âÂÂlargely resulted from precautionary measuresâ while updates were applied. Downing Street said no public-facing critical services had been affected and that âÂÂsome limited services may be temporarily offlineâ but this did not mean they had been hacked. The website for the BBCâÂÂs Traitors was one of those that was down on Thursday. It sparked particular concern about the ongoing vulnerability of systems used by schools, local governments and charities, which may not have dedicated cybersecurity support to execute the fix.
Ciaran Martin, the former chief executive of the UKâÂÂs National Cyber Security Centre, described the flaw as âÂÂvery badâÂÂ, saying that while most internet software vulnerabilities didnâÂÂt matter, this was âÂÂthe most serious vulnerability discovered for five yearsâÂÂ.
However, Ryan Austin, a researcher at the cybersecurity company Calif, who was key to discovering the flaw, said: âÂÂAt the moment it doesnâÂÂt look like exploitation has taken off or been widespread.âÂÂ
The flaw prompted governments into action, with the NSA in the US saying it could allow attackers to seize control of web servers, steal sensitive data, disrupt services and move deeper into a network. Government websites were quickly taken down so the patch could be installed with many coming back on line soon afterwards.
In an update overnight on Wednesday, and into Thursday, Matthew Prince, the chief executive of the cybersecurity business Cloudflare, said the company encountered tens of thousands of attempts to exploit the weakness in the 45 minutes after the problem was announced, rising to âÂÂhundreds of thousands within two hours, and millions nowâÂÂ.
Amazon Threat Intelligence, another cybersecurity company, added that PHP2Shell, as the vulnerability is known, was âÂÂnow being broadly exploited in the wildâ and said it identified several attempts from multiple actors to test ways to capitalise on the vulnerability before the fix was released by the PHP developers on Wednesday.
Cloudflare also said that in the 10 hours before it was publicly announced, it saw thousands of attempts to exploit the vulnerability, amid concern over the handling of the alert, with one cybersecurity expert, Prof Alan Woodward, saying the flaw was revealed a day before the patch was released, and that âÂÂsomebody let the cat out of the bagâÂÂ.
The PHP vulnerability could allow hostile actors to âÂÂgrab the resourcesâ of exposed sites, said Michaà  Woà ºniak, an internet infrastructure expert. A website, such as Slack or Wikipedia, has access to computing power, servers, and IP addresses â which locate it on the internet. In many cases, this infrastructure is managed and mediated by PHP.
Criminal groups, state-sponsored hackers, or crypto miners might âÂÂnestâ themselves into exposed sites using this PHP vulnerability, and then exploit those resources for their own aims. A hacking group could use an exposed siteâÂÂs IP address to launch attacks that could not then be traced back to it. Crypto miners could use a serverâÂÂs computing power to run their energy-intensive calculations for free.
It is unclear at what scale this has been done, said Woà ºniak, and many sites would not even be aware of it.
Wiz, one of the research organisations that uncovered the vulnerabilities, said it was arguably among the most severe software vulnerabilities ever discovered. âÂÂThe underlying flaws had been present for decades, but demonstrating their exploitability required an exceptionally complex chain of steps, at the edge of what human researchers could practically achieve,â it said in a blogpost. âÂÂFrontier AI models substantially reduced that barrier, turning a longstanding flaw into an exploit.âÂÂ
âÂÂCyber-actors are likely to weaponise PHP2Shell,â the NSA said. âÂÂThese risks are serious enough to require immediate patching across US government departments and agencies.âÂÂ
The government of South Korea said on Thursday it was activating emergency response measures, raising its private sector cybersecurity alert level and issuing guidance to tens of thousands of companies on how to fix the problem. ChinaâÂÂs industry ministry urged organisation to immediately inspect their systems and upgrade to the latest secure version of PHP and recommended strengthening cybersecurity monitoring, changing passwords and keys.
The prime minister of Japan encouraged businesses and organisations to patch the vulnerability â or shut down their sites.
