PHP2Shell: two critical PHP vulnerabilities take half the Internet offline
PHP has two critical security bugs. They let anyone run code on your server without a login. They affect WordPress, MediaWiki, Magento, Joomla, Laravel and everything that runs PHP. At first, a score of 10 out of 10 goes around. The real score is 9.2, and Javi sums it up: «an outrage».
On October 20, PHP announces a security release on its blog for October 21 at 14 UTC. But the details of the bugs leak before the patch. The vulnerabilities were reported in 2024, but nobody knew how to exploit them then. Now several companies can, and Amazon detects exploit attempts on October 18. One company patches its own servers, and that helps the details leak.
The NSA, the FBI, CISA, the UK government and the European CERT give the same advice: take your website offline, update it and put it back online. According to Censys, 1.5 million servers run a version without the fix. Even the Prime Minister of Japan posts a warning. Government websites, Wikipedia, archive.org and the Port of Rotterdam go offline.
Officially, PHP gives security support only from 8.2 onward. Even so, PHP also publishes the patch for 7.4, 8.0 and 8.1. For older versions, you have the repositories of Ondřej Surý and Remi Collet. Javi's lesson: if your cooldown policy waits 7 days to update dependencies, make an exception for critical patches. Watch in the video.

All the news we covered