PHP Security Gap: Two Bugs Threaten Global Web
AI-driven discovery exposes critical vulnerabilities in the language powering nearly 70% of websites, prompting urgent patch efforts.
By Olivia Barnes ·

Researchers at the cybersecurity firm Cailf identified two distinct vulnerabilities in the Hypertext Preprocessor, or PHP, programming language. The flaws, collectively named PHP2Shell, allow attackers to gain unauthorized remote access to servers. Because PHP operates as the back-end engine for approximately 70% of the world's websites, the exposure is extensive.
The bugs were detected using advanced OpenAI artificial intelligence models. This method of discovery has accelerated the identification of weaknesses in open-source software. However, the speed at which AI finds these flaws has also reduced the window of time defenders have to implement fixes before exploitation begins.
Nikolas Behar, a cybersecurity professor at the University of San Diego, described the potential impact of the breach. He stated that attackers could harvest user credentials from compromised sites to log into other accounts, steal data, or execute unauthorized transactions. Behar noted that the sheer volume of sites relying on PHP amplifies the risk profile for developers and users alike.
Popular platforms such as WordPress and Wikipedia rely on PHP to function. Many business owners who run their digital operations through WordPress may not realize that the underlying infrastructure is affected. This lack of awareness makes it difficult for site owners to assess their own vulnerability without technical guidance.
PHP released a digital patch to address the two bugs. Applying the fix requires backend expertise and is more complex than a standard software update. Website operators must manually apply the patch to their servers. In many cases, businesses hire third-party providers to manage this infrastructure, meaning the site owner must contact the provider to ensure the fix is implemented.
Government agencies in various countries temporarily took their websites offline while experts worked on solutions. This reactive measure highlights the severity of the threat. Behar warned that Internet of Things devices running PHP face a particular challenge, as many lack easy methods for updating software. These devices may remain vulnerable until they are replaced or taken offline.
The rapid discovery and exploitation of vulnerabilities creates a tight race for defenders. AI tools are providing attackers with precise locations for weaknesses, effectively marking targets on the map. Behar advised website owners to contact their IT providers immediately to confirm whether the systems are affected and to request a timeline for patching.
If a site cannot be patched quickly, experts suggest considering a temporary shutdown to prevent data theft. The San Diego Cyber Clinic offers free workshops to help community members understand these cybersecurity risks. Users are encouraged to verify if their sites use PHP and to confirm that the necessary security updates have been applied.
Source: KPBS





