AI Uncovers Hidden PHP Flaw, Sparking Millions of Hacking Attempts
A critical PHP flaw, discovered with the help of AI, has left websites worldwide vulnerable to millions of hacking attempts, prompting urgent security
PHP, the programming language behind approximately 70% of websites, has encountered a severe issue. Security researchers utilized AI to uncover a critical flaw known as PHP2Shell, which could enable attackers to take control of web servers, steal data, or disrupt online services. Following the discovery, websites worldwide have been subjected to millions of attempts to exploit this vulnerability.
Hackers responded rapidly once the flaw became public knowledge. Cloudflare CEO Matthew Prince stated that attack attempts increased from tens of thousands within 45 minutes to millions overnight, as reported by The Guardian. This swift response highlights the severity of the situation and the need for immediate action.

How did AI find the PHP flaw and why is it causing so much alarm?
PHP, a decades-old language, is the foundation of numerous popular platforms, including WordPress, Wikipedia, Slack, and Drupal. Cybersecurity firm Calif, with the assistance of a large language model, identified the flaw on August 1. Additionally, Wiz discovered the flaw using its AI tool in conjunction with Google's Gemini 4 Argon and OpenAI's GPT-5.6 Sol.
According to Wiz, the bug had been buried for over a decade and was nearly impossible for humans to exploit due to the complex chain of steps required. However, the use of AI significantly lowered the barrier, making it more accessible to potential attackers. This highlights the importance of AI in both discovering and exploiting vulnerabilities.
The NSA has warned that attackers could hijack servers, steal sensitive data, and gain deeper access to networks. In response, governments and companies are taking sites offline to apply security patches before hackers can exploit the vulnerability. The PHP Foundation released a security patch, and authorities have urged organizations to apply it immediately or temporarily take affected systems offline.
How websites around the world are going dark
In the UK, authorities took 32 government services offline as a precautionary measure, while the National Cyber Security Centre sent 50,000 alerts to affected organizations. Former NCSC chief Ciaran Martin described it as the most serious vulnerability in five years, emphasizing the need for prompt action.
Wikipedia, the Internet Archive, and 4Chan, along with government sites in the Netherlands, Germany, Kenya, and France, have reportedly gone offline. Japan's Prime Minister Sanae Takaichi urged businesses to patch or shut down, while South Korea activated emergency measures to address the situation.
Schools, charities, and local governments without dedicated security teams are at the highest risk. The NCSC notes that some older systems cannot be patched and will require replacement. If your site runs on PHP, it is essential to apply the patch immediately and check for signs of unauthorized access to prevent potential damage.
| Vulnerability | Description | Impact |
|---|---|---|
| PHP2Shell | Critical flaw in PHP | Allows attackers to take control of web servers, steal data, or disrupt online services |
| SQL Injection | Vulnerability in SQL databases | Enables attackers to access sensitive data and disrupt database operations |
| Cross-Site Scripting (XSS) | Vulnerability in web applications | Allows attackers to inject malicious code and steal user data |
The use of AI in discovering the PHP flaw highlights the importance of leveraging technology to identify and address potential vulnerabilities. As the threat landscape continues to evolve, it is crucial for organizations to stay vigilant and adapt to new challenges. In this case, the swift response of the PHP Foundation and authorities has helped mitigate the damage, but it is essential for website owners to take proactive steps to secure their sites.
In practice, this means regularly updating software, monitoring for potential security breaches, and having a plan in place for emergency situations. By taking these steps, organizations can reduce the risk of falling victim to hacking attempts and protect their users' sensitive data. The PHP vulnerability serves as a reminder of the importance of cybersecurity and the need for ongoing vigilance in the digital age.
The impact of the PHP flaw extends beyond the technical realm, as it has significant implications for businesses and individuals who rely on websites for their daily operations. As the situation continues to unfold, it is essential for stakeholders to stay informed and take necessary precautions to minimize potential disruptions. By working together, we can mitigate the effects of the vulnerability and ensure a safer online environment for everyone.
Frequently asked questions
What is the PHP2Shell vulnerability?
The PHP2Shell vulnerability is a critical flaw in the PHP programming language that could enable attackers to take control of web servers, steal data, or disrupt online services. It was discovered with the help of AI and has been exploited by hackers, resulting in millions of hacking attempts worldwide.
How can I protect my website from the PHP2Shell vulnerability?
To protect your website from the PHP2Shell vulnerability, you should apply the security patch released by the PHP Foundation immediately. Additionally, monitor your site for signs of unauthorized access and take proactive steps to secure your site, such as regularly updating software and having a plan in place for emergency situations.
What are the potential consequences of the PHP2Shell vulnerability?
The potential consequences of the PHP2Shell vulnerability include attackers taking control of web servers, stealing sensitive data, and disrupting online services. This could result in significant financial losses, damage to reputation, and compromise of user data. It is essential for website owners to take prompt action to secure their sites and prevent potential damage.
How can I stay informed about the latest security vulnerabilities and threats?
To stay informed about the latest security vulnerabilities and threats, you should regularly check reputable sources, such as the PHP Foundation, National Cyber Security Centre, and other cybersecurity organizations. Additionally, consider subscribing to security newsletters and following cybersecurity experts on social media to stay up-to-date with the latest developments and best practices.
What role does AI play in discovering and exploiting vulnerabilities?
AI plays a significant role in discovering and exploiting vulnerabilities, as seen in the case of the PHP2Shell vulnerability. AI can help identify potential vulnerabilities and exploit them, making it easier for attackers to gain access to sensitive data and disrupt online services. However, AI can also be used to improve cybersecurity by identifying vulnerabilities and helping to develop more secure software.
What can I do if my website is affected by the PHP2Shell vulnerability?
If your website is affected by the PHP2Shell vulnerability, you should take immediate action to secure your site. This includes applying the security patch released by the PHP Foundation, monitoring your site for signs of unauthorized access, and taking proactive steps to prevent potential damage. You may also want to consider seeking the help of a cybersecurity expert to ensure your site is secure and protected.
This story follows reporting first published by digitaltrends.com. Facts were checked against the original; the wording and analysis are ours.