← Back to blog Cybersecurity

PHP2Shell: millions of Mirai exploit attempts and a new unpatched PHP flaw: what to do today if the website of your Mexico operation runs on old PHP

3 min read

Two days ago the emergency PHP2Shell patches came out for CVE-2026-109618 and CVE-2026-109619. On October 23, PHP warned of another remote code execution flaw, and this one has no patch yet, as The Hacker News reported.

Meanwhile, exploit attempts already number in the millions and try to install Mirai (The Hacker News). If the website, online store or internal portal of your Mexico operation runs on PHP, this is your problem too.

Millions of PHP2Shell exploit attempts trying to install Mirai
2 days between the emergency patches and the next warning
0 patches available today for the new flaw

What happened and why it made general news

PHP is everywhere WordPress, WooCommerce, customer portals and plenty of custom systems built by local agencies run on PHP.

PHP is the language behind a large part of the web. Your Mexico site probably uses it, even if HQ never chose it.

The new flaw is an RCE, remote code execution: an outsider can give orders to your server as if they owned it. Attackers are using this kind of access to plant Mirai, a botnet, meaning a network of hijacked machines controlled remotely to attack others.

That is why the story jumped from security forums to the BBC and Xataka México, which called it a time bomb: the legacy software holding up the internet is falling behind.

In our experience, the real issue is rarely PHP itself. It is the local site a Mexican agency delivered years ago that nobody at HQ has on their asset list.

If Mirai gets in, the server slows down, the host may suspend the account and your IP lands on blocklists. If local email lives on the same server, quotes to Mexican customers start landing in spam.

How to check which PHP version your site uses

Five minutes in the panel The PHP version shows up in the hosting control panel; no code needed.
Where the site livesWhere to look
Hosting with cPanelSoftware › Select PHP Version, or MultiPHP Manager
Hosting with PleskWebsites and Domains › your domain › PHP Settings
VPS or own serverRun php -v; the web server may use a different version, check that too
No accessAsk the local agency or provider in writing, today

Many foreign companies find out here that the Mexico site sits on a separate hosting account, paid by a local manager’s card. Worth knowing before an incident.

Why PHP 7.x or 8.0 is a time bomb

PHP only ships security patches for supported versions. PHP 7.x and 8.0 dropped off that list years ago, so there is nothing to install for them.

Your versionWhat it meansWhat to do
7.x or 8.0No security patchesPlan the upgrade now, mitigate meanwhile
Supported versionGets patchesApply the PHP2Shell fixes and the next one when it ships
UnknownFlying blindCheck today with the table above

What to do until the patch ships

Backup first Before changing anything, an off-server copy you have already tested.
  1. Take an off-server backup today and test that it restores. Before touching anything.
  2. Put a WAF in front, a web application firewall that filters malicious requests before they reach the site. Cloudflare or the host’s ModSecurity both work.
  3. Turn off what nobody uses: inactive plugins, staging sites, old subdomains, phpMyAdmin open to the internet.
  4. Read the logs: new .php files in image folders, CPU maxed out for no reason, odd outbound connections. Classic Mirai signs.
  5. Apply the PHP2Shell patches if you have not. Here is our earlier guide, and for WordPress sites, the Rank Math PRO backdoor check.

Upgrading PHP without breaking the site

Staging first Copy the site, upgrade there, test what people actually use, then switch with a rollback ready.

We clone the site to staging, upgrade PHP there and test the real flows: contact form, cart, the report the local accounting team downloads. Then we switch production with a way back.

After that, someone has to keep patching. That is what an IT support plan covering websites and custom systems is for, with reports in English for HQ.

Checking the PHP version on a company website
Your Mexico site does not need another scare to get up to date Foto: Tirza van Dijk tirzavandijk · CC0 · Wikimedia Commons

What about your Mexico operation?

If nobody knows which PHP version the Mexico site runs, start there. ProcessBi reviews the hosting, tells you how exposed you are and upgrades without taking the site down.

Ask for a website review — we reply the same business day.

Your path

Running IT in Mexico from abroad

60 of 72
  1. Smart hands ✓ Read You are here 2 min
  2. Remote support ✓ Read You are here 3 min
  3. Nearshoring checklist ✓ Read You are here 2 min
  4. Retail rollouts ✓ Read You are here 2 min
  5. Fake IT support ✓ Read You are here 3 min
  6. Backups that restore ✓ Read You are here 3 min
  7. Secure M365 ✓ Read You are here 3 min
  8. Windows 10 deadline ✓ Read You are here 4 min
  9. Audit app access ✓ Read You are here 3 min
  10. CEO fraud ✓ Read You are here 4 min
  11. Office 2016 cutoff ✓ Read You are here 3 min
  12. Patch today ✓ Read You are here 4 min
  13. Patch VMware ✓ Read You are here 4 min
  14. Office 2021 EOL ✓ Read You are here 3 min
  15. Starlink for sites ✓ Read You are here 3 min
  16. Cardless access ✓ Read You are here 4 min
  17. Control AI on PCs ✓ Read You are here 4 min
  18. ScreenConnect flaw ✓ Read You are here 4 min
  19. Server 2022 EOL ✓ Read You are here 3 min
  20. Exposed cameras ✓ Read You are here 3 min
  21. Domain trust fix ✓ Read You are here 4 min
  22. Patch Cisco ISE ✓ Read You are here 3 min
  23. Protect the plant ✓ Read You are here 3 min
  24. Move to 25H2 ✓ Read You are here 4 min
  25. Outages and UPS ✓ Read You are here 3 min
  26. IT maintenance ✓ Read You are here 4 min
  27. Third-party scripts ✓ Read You are here 3 min
  28. License audit ✓ Read You are here 4 min
  29. Bajío fiber corridor ✓ Read You are here 3 min
  30. Check Point flaw ✓ Read You are here 4 min
  31. Cashless payments ✓ Read You are here 3 min
  32. AI that hacks alone ✓ Read You are here 3 min
  33. Zyxel and Veeam today ✓ Read You are here 4 min
  34. Aeromexico breach ✓ Read You are here 4 min
  35. MikroTik router ✓ Read You are here 3 min
  36. Guest Wi-Fi ✓ Read You are here 4 min
  37. Citrix zero-days ✓ Read You are here 4 min
  38. Protect your plant ✓ Read You are here 3 min
  39. TeamViewer patch ✓ Read You are here 4 min
  40. SD-WAN zero-day ✓ Read You are here 4 min
  41. FortiMail zero-day ✓ Read You are here 4 min
  42. M365 billing ✓ Read You are here 4 min
  43. SAT-IMSS breach ✓ Read You are here 4 min
  44. NetScaler patch ✓ Read You are here 4 min
  45. Cutting access ✓ Read You are here 3 min
  46. Patch today ✓ Read You are here 4 min
  47. ESU price hike ✓ Read You are here 3 min
  48. Invoicing continuity ✓ Read You are here 3 min
  49. Fake QR codes ✓ Read You are here 4 min
  50. Default passwords ✓ Read You are here 3 min
  51. Shadow AI rules ✓ Read You are here 3 min
  52. Cold chain ✓ Read You are here 3 min
  53. October patches ✓ Read You are here 3 min
  54. Patch today ✓ Read You are here 3 min
  55. BeyondTrust & FortiOS ✓ Read You are here 3 min
  56. Vendor access ✓ Read You are here 3 min
  57. AT&T to Televisa ✓ Read You are here 3 min
  58. Rank Math backdoor ✓ Read You are here 3 min
  59. PHP2Shell patch ✓ Read You are here 3 min
  60. Unpatched PHP ✓ Read You are here 3 min
  61. Server 2016 ✓ Read You are here 4 min
  62. HTTP2Shell ✓ Read You are here 3 min
  63. Qilin and backups ✓ Read You are here 3 min
  64. NAS ransomware ✓ Read You are here 3 min
  65. Ivanti VPN ✓ Read You are here 4 min
  66. Protect laptops ✓ Read You are here 4 min
  67. AI picks victims ✓ Read You are here 4 min
  68. Patch Linux today ✓ Read You are here 4 min
  69. Zyxel/D-Link switches ✓ Read You are here 3 min
  70. Patch today ✓ Read You are here 3 min
  71. Vendor access ✓ Read You are here 3 min
  72. 23H2 Enterprise ends ✓ Read You are here 3 min
  73. Field services →
Next Windows Server 2016 support ends January 12, 2027 and the memory crunch is raising hardware prices: how to plan the migration and IT budget of your Mexico operation