Here's what to know about the risk found in code used across Government of B.C. official channels, educational institutions and more.

In the past 48 hours, you may have noticed a number of websites were down for unscheduled maintenance or temporarily unavailable.
Subscribe now to read the latest news in your city and across Canada.
- Unlimited online access to articles from across Canada with one account.
- Get exclusive access to the Vancouver Sun ePaper, an electronic replica of the print edition that you can share, download and comment on.
- Enjoy insights and behind-the-scenes analysis from our award-winning journalists.
- Support local journalists and the next generation of journalists.
- Daily puzzles including the New York Times Crossword.
Subscribe now to read the latest news in your city and across Canada.
- Unlimited online access to articles from across Canada with one account.
- Get exclusive access to the Vancouver Sun ePaper, an electronic replica of the print edition that you can share, download and comment on.
- Enjoy insights and behind-the-scenes analysis from our award-winning journalists.
- Support local journalists and the next generation of journalists.
- Daily puzzles including the New York Times Crossword.
Create an account or sign in to continue with your reading experience.
- Access articles from across Canada with one account.
- Share your thoughts and join the conversation in the comments.
- Enjoy additional articles per month.
- Get email updates from your favourite authors.
Create an account or sign in to continue with your reading experience.
- Access articles from across Canada with one account
- Share your thoughts and join the conversation in the comments
- Enjoy additional articles per month
- Get email updates from your favourite authors
Sign In or Create an Account
That’s due to the discovery of a cybersecurity weakness found in PHP code, which is used across the internet, including the Government of B.C.’s official channels, your local library portal and educational institutions.
In light of recent cybersecurity attacks such as those on the Burnaby School District and the Save-on-Foods More Rewards program, here’s what you should know.
Start your day with a roundup of B.C.-focused news and opinion.
By signing up you consent to receive the above newsletter from Postmedia Network Inc.
A welcome email is on its way. If you don't see it, please check your junk folder.
The next issue of Sunrise will soon be in your inbox.
We encountered an issue signing you up. Please try again
PHP stands for Hypertext Preprocessor, which is an open source scripting language used on the server-side of many websites.
Recently, news emerged that white hat researchers, also known as ethical hackers, had discovered a weak point in the PHP language back in 2024.
According to Karthik Pattabiraman, a University of B.C. professor specializing in cybersecurity, the vulnerability was ignored at the time as it was considered too difficult to exploit.
“Nobody paid attention to it,” said Pattabiraman. “But recently, with the advent of AI models … and human help, they discovered that this vulnerability could actually be exploited.”
After researchers found that exploitation of the flaw was possible, they confidentially contacted the PHP Foundation, a non-profit group that maintains the language, and notified them of the discovery.
The group then quickly developed an update that would close the security gap. This week, the update was released to developers.
“They had two months to work on a patch and release it so, fortuitously, due to the preparation done, it worked out that the defenders got ahead of the game here,” said Pattabiraman.
Because a fix is now readily available, Pattabiraman said it’s a simple case of web developers updating their websites with the latest version of PHP.
“It’s relatively straightforward for administrators to apply the patch and fix and, in fact, many have already done so.”
Pattabiramn says PHP is used on the back end of approximately 70 to 75 per cent of websites. Many of the major institutions you interact with daily will have websites that rely on PHP scripts to run.
On Wednesday, the Government of B.C. shared that its websites and services would be temporarily offline “as a precaution.”
“Teams are working to restore services as soon as possible,” the post read.
The B.C. Institute of Technology, where winter semester registration is underway, also paused its registration on Wednesday for unscheduled maintenance.
Pattabiraman said there are no known cases of the vulnerability being exploited at this time but says if it had been discovered by bad agents, it could have led to the loss of important data or websites being defaced or taken down. Other risks include the theft of credentials or phishing attacks.
“We were ahead of the game. Maybe the next time this happens, it may not be the case,” he cautioned. “So it’s super important to make sure we invest, as a society, in finding and fixing vulnerabilities proactively so that the software we depend on is actually secure.”
The PHP vulnerability is an issue with the scripting language itself, not an application or a website specifically, and not something everyday internet users need to worry about right now.
“It’s not something that is due to weak passwords or any of the usual things that end users can take precautions against,” said Pattabiraman. “Rather, this is more about website administrators upgrading or patching their PHP versions, upgrading their website software.
“So from that perspective, this is not something that the average person can fix. However, I think it’s important to know if you’re running your own website, let’s say you’re a small-business owner, then it’s important to make sure you patch your software, to keep it up to date.”
That said, Pattabiraman says it’s key for internet users to practice good cyber hygiene, such as using different passwords for different websites and updating them regularly.
Join the Conversation
This website uses cookies to personalize your content (including ads), and allows us to analyze our traffic. Read more about cookies here. By continuing to use our site, you agree to our Terms of Use and Privacy Policy.
