PHP2Shell could put Philippine public services at risk
By Francis Allan L. Angelo
Philippine government offices and small businesses running older versions of PHP could remain exposed to the security flaws known as PHP2Shell well into 2027, according to Beenu Arora, CEO and co-founder of cybersecurity firm Cyble.
For a resident paying a fee or requesting a certificate online, the risk runs both ways: a municipal office may need to take its portal offline for repairs, while a compromised site could keep accepting personal information or send visitors to a fraudulent page.
The extent of Philippine exposure remains unknown because Cyble has published no count of internet-facing government servers or the versions of PHP they run.
“We have not published a specific census for that. What we can say is that fixes were released for PHP 8.2 to 8.5 only, not for PHP 5 or 7. Older government and municipal sites on those versions may need migration, code changes, testing and, in some cases, a fresh tender. For scale, W3Techs data as of 27 October 2026 shows that of websites running PHP, 26.6% are on PHP 7 and 7.7% on PHP 5. Per php.net, PHP 8.1 reached end of life on 31 December 2025, 8.0 in November 2024, 7.4 in November 2022 and 5.6 in December 2018.”
The PHP project’s support calendar puts the end date for PHP 8.0 a year earlier than Arora cited, on Nov. 26, 2023.
Asked whether Cyble had seen attempts to exploit PHP2Shell in the Philippines or elsewhere in Southeast Asia, Arora pointed to an early warning from an Amazon decoy server.
“We are not in a position to discuss country-specific exploitation data at this stage. What is established: early activity suggests the exploit was being tested before public disclosure. Amazon honeypots recorded an attempt on 17 October from an anonymisation network. A screenshot of a tool called PHP2Shell circulated when details leaked on 20 October, and several proof-of-concept exploits were public by the early hours of release day. If compromises spread, the concern is unplanned disruption, politically timed defacements, malicious redirects on government pages, card skimmers on e-commerce checkouts, and data extracted from portals compromised before patching.”
The problem lies in the software that runs a website, which puts even a well-maintained application at risk if its underlying PHP version is vulnerable.
“PHP2Shell affects the PHP runtime itself, so government portals may be vulnerable even when their application code is clean. PHP underpins WordPress, Drupal, Joomla and Moodle, along with many custom-built department websites. Apache servers running mod_php are particularly exposed because an unauthenticated request can trigger the exploit before the application executes. The flaw can also expose process memory containing database passwords, API keys and other secrets; these may remain usable after patching unless rotated.”
Asked whether agencies could complete repairs in five business days, Arora said the time needed to install an update was often the smallest part of the job.
“Applying an update can take about an hour on a modern, well-managed server. The wider challenge is locating systems and establishing who can make changes. Systems on PHP 5 or 7 have no patch for this issue and may require migration or rewriting, which is not a five-day exercise. Organisations may also delay changes because downtime could affect services such as payments or certificate issuance. For systems that cannot be updated inside the deadline, the precedent is the European response: authorities chose temporary downtime while the risk remained uncertain rather than leaving exposed systems online.”
For a town that hired a contractor to build its website, the person responsible for keeping services running may lack the access needed to fix the server.
“Responsibility may sit with a department’s IT team, an original vendor, a hosting provider or a state data centre, and establishing who can make changes is often the slowest step. On shared hosting, organisations may be unable to update PHP themselves if the hosting provider controls the version. Agencies should confirm two things now: what PHP version they are on, and who has the access to change it.”
An agency can also update its main portal while overlooking other systems still accessible to the public, Arora said.
“Forgotten admin panels, staging sites, vendor dashboards and older microsites are routinely missed. Patching is only one step. Given attempts dating back to 17 October, every internet-facing PHP server should be checked for webshells and newly added PHP files, and its secrets rotated, even if it has already been patched.”
Asked how much protection an annual security test offers, Arora cited an earlier PHP flaw that Cyble continued to see in use after a fix became available.
“Limited against this class of flaw. The timeline is the issue: an exploit attempt was detected on 17 October, three days before details leaked and four days before fixes were released. An annual test is a snapshot and cannot cover a vulnerability that was not public on the test date. Our experience with CVE-2024-4577, a PHP flaw disclosed in May 2024, is that attacks continued long after a fix was available; as of March 2025, more than four million vulnerable internet-facing instances remained online. The gap is closed by knowing which internet-facing systems exist and who can change them before the next disclosure lands.”
Researchers discovered the earlier flaw in May 2024 and disclosed it publicly in June, and the four million figure Arora cited was a worldwide estimate.
On the potential resale of access to Philippine government websites, Arora offered neither a price nor a confirmed listing.
“If compromises spread, access to government sites could be traded in bulk. Potential buyers include hacktivists seeking defacements or data dumps and access brokers reselling entry to ransomware groups. Such listings could emerge within weeks, often advertised as “fresh shells” with sample domains.”
Asked whether Cyble had seen a Philippine government breach surface on the dark web before officials disclosed it, Arora said, “We are not in a position to discuss specific Philippine cases.”
Arora expects the time it takes to secure a site to vary considerably depending on who runs it.
“Cyble continued detecting attacks involving CVE-2024-4577, a PHP flaw disclosed in May 2024, long after a fix was available; as of March 2025, more than four million vulnerable internet-facing instances remained online. My estimate for PHP2Shell is days for major cloud and managed platforms, weeks for most commercial sites, and exposure among legacy government and SME systems well into 2027.”
The speed at which researchers can now find flaws in older software has consequences for local governments with few people available to fix them.
“Wiz said the underlying PHP flaws had existed for decades, but producing a working exploit required a complex sequence of steps that frontier AI models helped make more achievable. Researchers used Gemini and OpenAI models, identified the bugs in late August and disclosed them on 21 October. The timeline remains concerning: an exploit attempt was detected on 17 October, three days before details leaked. The available information does not establish whether the embargo was breached early or another actor independently discovered the same flaw. As AI models analyse the same legacy C code, independent rediscovery may become more likely. The practical effect is that discovery is now faster than remediation, and remediation depends on people. Where government IT capacity is thin, that gap is felt first.”
For a municipal office with one IT employee or none, Arora recommended starting with a list of its public-facing systems and the people authorized to maintain them.
“First, locate every internet-facing system, including forgotten admin panels, staging sites, vendor dashboards and older microsites. Second, establish who can make changes, whether that is in-house IT, the original vendor, a hosting provider or a data centre. Third, update anything on PHP 8.2 to 8.5 now. Systems on PHP 5 or 7 have no patch and need migration; where that cannot happen quickly, the European approach of temporary downtime is the safer choice. Fourth, check every server for webshells and newly added PHP files, and rotate database passwords, API keys and other secrets, even on patched systems.”
For residents, a warning sign may appear during a transaction or later, when someone contacts them using details they supplied to a portal.
“The outcomes we expect from compromised sites are defacements and malicious redirects, so a government page that redirects elsewhere or shows unfamiliar content is a warning sign. Residents who submitted personal data to a site later reported compromised should treat unexpected contact that quotes their details as suspect.”
Schools, newsrooms and online merchants also rely on PHP, and small retailers may have to ask their hosting company to confirm that customers’ checkout pages run on a patched server.
“The same risk as government sites. PHP underpins WordPress, Drupal, Joomla and Moodle, and because PHP2Shell affects the runtime itself, a site can be vulnerable even when its application code is clean. SMEs running WooCommerce or Magento on shared hosting may be unable to update PHP themselves if the hosting provider controls the version, so the practical step is to confirm with the provider that the fix is applied. The consequences we are watching for include malicious redirects and card skimmers on e-commerce checkouts.”
Arora cited the decisions of public agencies in five European countries as an example of how operators handled uncertainty on the day the fixes became available.
“The European shutdowns were precautionary. On 21 October, the day fixes were released, government bodies in the Netherlands, Finland, France, Denmark and Germany took their own sites offline after the NSA and European agencies advised operators to update immediately or disconnect systems they could not update. The sites were not forced offline by attackers; authorities chose temporary downtime while the risk remained uncertain.”
Asked about the often-cited estimate that PHP powers roughly 70% of websites, Arora clarified that the figure measures worldwide use among sites whose underlying language researchers can identify.
“W3Techs. As of 27 October 2026, W3Techs reports PHP is used by 69.2% of websites whose server-side programming language it can identify, hence ‘roughly 70 percent’.”
Comments (0)
LEAVE A REPLY
No comments yet
Be the first to share your thoughts!
Related Articles

Unresolved contract disputes cost small businesses up to PHP 200,000
MAKATI CITY — A new study by The Asia Foundation (TAF) found that 36% of micro and small enterprises surveyed had written off losses from unresolved disputes, at up to PHP 200,000 per incident. Nearly eight in 10 also perceived filing costs as unaffordable, and more than half had

When There Is No Prenup: The Legacy At Risk
How unspoken expectations can complicate family relationships, business continuity, and the preservation of generational wealth. Nobody gets married expecting the relationship to fail. Nobody builds a family business expecting that death, separation, or changing family circumstances will eventually complicate its future. Yet, after decades of advising business-owning families, I have

ASEAN digital pact could boost Filipino creators, startups
The landmark ASEAN Digital Economy Framework Agreement (DEFA) opens new opportunities for Filipino innovators, creators and businesses to participate in a more integrated regional digital economy, with the Intellectual Property Office of the Philippines (IPOPHL) underscoring the importance of intellectual property (IP) in translating digital growth into economic
