Millions of websites were at risk of being hacked due to two critical security flaws in PHP, a programming language used by approximately 70% of websites worldwide, according to the Atlantic. Ondrej Sury, a volunteer software engineer, played a key role in mitigating this risk by converting the raw security patches into ready-to-install software packages, saving administrators significant time and enabling millions of servers to defend against the massive exploit.
Understanding The PHPocalypse Threat
The PHP security flaws, which could allow attackers to execute unauthorized code on affected servers, posed a significant threat to websites worldwide. Cloudflare recorded millions of hack attempts following the public disclosure of the vulnerabilities, with the number of attempts rising sharply from thousands to tens of thousands within 45 minutes, and eventually reaching hundreds of thousands within two hours. The PHP Foundation provided the raw source code fix, but administrators required a practical way to deploy it, which is where Sury’s contribution came in.
The Critical Gap Between Source Code And Server Security
Sury’s work involved preparing PHP source code into packages that administrators can install on servers, making it easier to deploy updates across large numbers of machines without having to compile the software manually. He has over 20 years of experience and uses automation to manage software packages, which enabled him to prepare fixes not only for current versions but also for legacy PHP versions dating back 10 years. This was important because some businesses, schools, and other organizations still use older systems and cannot immediately switch to newer software. Think of it like having a spare key to a locked door – Sury’s packages provided a ready-to-use solution for administrators to unlock and secure their servers.
Accelerating Global Response Times
The patch release was accelerated by one day due to an online leak of the vulnerability details, and Sury’s automated packaging helped accelerate the global response times. His contribution did not automatically secure every website, but the ready-to-use packages helped administrators respond more quickly. In plain terms, Sury’s work helped reduce the time it took for administrators to install the security fixes, which in turn reduced the risk of their servers being hacked. The practical upshot is that millions of websites were able to avoid the “PHPocalypse” thanks to Sury’s efforts.
Systemic Risks And The Reliance On Volunteer Open-Source Maintainers
The incident has raised concerns regarding the global internet’s reliance on a small number of underfunded open-source maintainers like Sury. He volunteers on the PHP project alongside his full-time role as director of domain-name-system engineering at the nonprofit Internet Systems Consortium, and his work has received modest donations. Here’s what it means: the internet’s security relies heavily on the efforts of volunteer maintainers like Sury, who work tirelessly to ensure that critical software is secure and up-to-date. The incident highlights the need for greater support and funding for these maintainers, who play a critical role in keeping the internet safe and secure.
The Mechanics Of Sury’s Packaging Efficiency
Ondrej Sury’s role was pivotal because the raw source code provided by the PHP Foundation required significant technical labor to implement. Without his intervention, website administrators would have been forced to spend hours manually compiling the software to apply the security patches. By converting this raw code into ready-to-install software packages, Sury bypassed the need for administrators to navigate complex installation procedures, which was essential during a period where every hour mattered in preventing server exploitation.
Sury’s ability to act quickly was rooted in his extensive experience and the use of automation in his workflow. Having maintained PHP software packages for over 20 years, he utilized established automated processes to prepare the necessary files. He noted that the PHP Foundation provided him with the source code ahead of the public release, granting him the time required to prepare the packages for distribution. This preparation allowed administrators to deploy the updates across large numbers of machines simultaneously, a task that would have been far more cumbersome and time-consuming if performed manually. By streamlining this distribution, Sury ensured that the security fix could reach a wide range of systems, including older legacy versions, more efficiently than if operators had been left to manage the raw code on their own.
Addressing The Financial And Resource Challenges
According to Ondrej Sury, the contributions he normally receives for his work are modest, highlighting the financial challenges faced by volunteer open-source maintainers like himself. As Sury volunteers on the PHP project alongside his full-time role, his work has a significant impact on the security of millions of websites worldwide. The incident has raised concerns regarding the global internet’s reliance on a small number of underfunded open-source maintainers, emphasizing the need for greater support and funding for these maintainers.
The PHP Foundation, which maintains the programming language, had learned about the flaws before information about them was leaked online. However, the foundation’s ability to respond quickly to security threats is heavily dependent on the work of volunteer maintainers like Sury. As Sury noted, he had been working in this area for more than 20 years, and his experience was crucial in preparing the packages before the fix was released.
The financial and resource challenges faced by open-source maintainers like Sury are a pressing concern, as the security of the internet relies heavily on their efforts. As Cloudflare CEO Matthew Prince said, attempts to exploit the vulnerabilities rose sharply around the public disclosure, highlighting the need for rapid response and effective security measures. The work of volunteer maintainers like Sury is essential in ensuring the security and stability of the internet, and it is crucial that they receive the necessary support and funding to continue their work.
Sources
- Millions Of Hack Attempts, 70% Of Web At Risk: How Czechia's Ondrej Sury Helped Shield The Internet From PHPocalypse
- Lightning Memory-Mapped Database
- Ondřej Surý: The man helping fix PHP’s security flaws speaks out amid website vulnerability fears
Photo: Rob Wingate / Unsplash (Unsplash License)




