Understanding the Global PHP Vulnerability and Government Website Outages
Websites across Canada and internationally went offline on Wednesday after developers released urgent fixes for a newly discovered security vulnerability in PHP, a widely used programming language that underpins a massive portion of the internet.
Government bodies, including federal departments in Canada and provincial sites in Newfoundland and Labrador and Prince Edward Island, took their websites offline temporarily as a precautionary measure. Organizations such as Wikipedia, Cloudflare, and Maple Health also addressed the security flaws on Wednesday.
What Caused the Outages?
The disruptions stem from vulnerabilities identified in PHP, a free, open-source programming language dating back to the early 1990s. PHP serves as a foundational element for the public-facing web, powering platforms like WordPress, Drupal, Joomla, and Magento. According to the web-technology tracker W3Techs, PHP runs roughly 75 percent of websites whose programming language can be identified.
Because the language is so deeply embedded across the internet, cybersecurity and tech analyst Ritesh Kotak described the scale of the situation as "absolutely scary," noting that many websites remain vulnerable to hacks until the patch is fully implemented.
The PHP Foundation urged website operators to apply the solution immediately, stating in a news release, "If you run PHP, it is imperative that you update now."
Discovery of the Flaw
Alphabet-owned cybersecurity firm Wiz reported in a blog post that it discovered the flaw in PHP using artificial intelligence. According to Wiz, the vulnerable code had been present for more than a decade. The company used multiple large language models to find the vulnerability and validate a patch, working alongside OpenAI, Automattic, AWS, Microsoft, and others to coordinate guidance for customers who cannot implement the fix right away.
The PHP Foundation noted that a possible exploit for one of the vulnerabilities had first been theorized in 2024. However, the foundation explained that previous attempts to create solutions resulted in new problems, and a lack of resources contributed to the delay in issuing a fix.
Government and International Response
In Canada, Artificial Intelligence Minister Evan Solomon stated on social media that federal government websites were taken offline temporarily as a precautionary measure. Affected websites included those for the Canadian Centre for Cyber Security and Statistics Canada, while provincial portals in Newfoundland, Labrador, and Prince Edward Island displayed messages attributing their shutdowns to a global security incident.
International bodies also reacted swiftly. Cybersecurity agencies in Britain, Europe, Australia, and Japan urged PHP users to apply the patch, and governments in countries such as France and the Netherlands proactively took their websites offline to carry out updates.
Implementation Challenges and Future Risks
While larger organizations with dedicated IT teams can implement patches quickly, Kotak pointed out that small and medium-sized businesses may struggle or remain vulnerable for longer periods due to a lack of resources.
Kotak also highlighted a double-edged sword regarding artificial intelligence in cybersecurity: while AI helped discover and patch the vulnerabilities in this instance, it can also be leveraged by malicious actors using advanced tools to probe for weak points and infiltrate databases. Consequently, experts anticipate similar cybersecurity incidents in the future.
Note: This article was prepared with AI assistance from supplied material to help organize and clarify reporting originally published by CBC News.