PHP2Shell: what Australian organisations need to do now
By Charles Mann, Chief Information Security Officer, efex. Last updated .
Two critical security flaws in PHP, the software that runs behind most websites, can let an attacker take control of a web server without a password. PHP is also built into many business products, and attackers are now using the same flaws against firewalls. A fix has been available since 1am AEDT on Thursday 22 October. This page explains what to do, in what order, and what is still unknown. We will keep it updated.
Update, 23 November: one of the 19 November fixes closes a flaw researchers have called phpAfterShell (CVE-2026-126714). It works even on websites that were updated for PHP2Shell in October, so those sites need the 19 November fixes too. No attacks using it have been reported.
Update, 20 November: PHP released more security fixes on 19 November, including a fix for the other PHP flaw below. If your website or portal was updated for PHP2Shell in October, it needs updating again. Ask whoever runs it when the 19 November PHP fixes will be applied.
Executive summary
PHP is the programming language used by about 70% of websites whose technology can be identified. WordPress, Drupal, Joomla and Moodle are all built on it. The two flaws, known together as PHP2Shell, let someone on the internet run their own commands on an affected server. From there they can change your website, steal data held on the server or use it to reach other systems.
In a business of a few dozen to a few hundred staff, PHP is rarely something the IT team thinks of as theirs. It usually sits in the public website, customer portals, booking and enquiry forms, intranets and learning platforms, often run by a web agency or hosting provider. That is why this needs a decision from management, not only a ticket for IT.
Three things to do today:
- Get written confirmation. Ask whoever runs each of your websites and web applications to confirm in writing, by Friday, that PHP has been updated to a fixed version, or that PHP is not used.
- Deal with anything that cannot be updated. If a system runs PHP 8.1 or older and no vendor fix is available, take it offline or restrict who can reach it until it is upgraded.
- Ask whether anyone got in first. Updating closes the door. It does not tell you whether someone came through it before it was closed.
The Essential Eight, the Australian Government's baseline for cyber security, expects critical flaws in internet-facing services to be fixed within 48 hours of the fix being released. For this flaw, that is about 1am AEDT on Saturday 24 October.
Status
| Status | As at |
|---|---|
| Fix available | Yes. PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, released 1am AEDT, 22 October. PHP released further security fixes on 19 November: 8.5.13, 8.4.28, 8.3.37 and 8.2.36. Update to these. |
| No fix from PHP | PHP 8.1 and older. Some hosting and Linux vendors are releasing their own fixes for older versions |
| Attacks | Attempts are widespread worldwide, starting 17 October (Amazon), and botnet operators have joined in. On 26 October, researchers reported a successful attack on a decoy server running an unpatched version of PHP, and CISA added both flaws to its list of vulnerabilities known to be in use. CISA gave US government agencies three days to apply the fixes. Australia's ACSC was not aware of successful exploitation in Australia as at its last review (22 October), and its alert still said so on 8 November. On 28 October (US time), Palo Alto Networks confirmed attacks on its firewalls through management pages that can be reached from the internet. Palo Alto says about 0.02% of its installed base was affected, and it has contacted each affected customer. Overseas, attackers combined the PHP flaws with a Linux flaw known as Fragnesia to take full control of 25 servers running firewall software, then went after the organisations' Active Directory credentials. Researchers describe the campaign as AI-assisted and suspect a China-linked group. No Australian victims have been reported. |
| Firewalls | Palo Alto Networks firewalls and Panorama are affected through the management page. As at 30 October, fixes are available for every affected PAN-OS version. Keep the management page off the internet. |
| Linux flaw | CVE-2026-46300 (Fragnesia) lets an attacker who is already on a Linux server take full control of it. Attackers are using it with the PHP flaws. Update Linux servers as well as PHP. |
| Another PHP flaw | CVE-2026-115560. PHP first warned about it on 23 October, and published the fix and full details on 19 November in PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36, and in the new PHP 8.6.0. No attacks using it have been reported. |
| phpAfterShell (added 23 November) | CVE-2026-126714, disclosed 19 November. It affects PHP's default file-based session storage when upload progress tracking is on, and it works on servers that have the October PHP2Shell fixes. Fixed only in PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 (and 8.6.0). No attacks using it have been reported. |
| Australian guidance | ACSC Critical alert, issued 21 October and last reviewed 22 October (checked 8 November): apply the security updates and monitor PHP applications for suspicious activity. |
| Essential Eight timeframe | About 1am AEDT, Saturday 24 October (48 hours from the fix) |
It's not just websites any more
PHP doesn't only run websites. It's also built into many business products that have a web page you log in to for managing them, such as firewalls and the gateways staff use to sign in from outside the office. The Dutch government's cyber security centre is tracking 757 products from many vendors. As at 28 October, 218 were affected, 144 had a fix and 354 were still being checked. More vendors are likely to confirm affected products in the coming weeks.
Attackers have already moved on to firewalls. On 28 October (US time), Palo Alto Networks confirmed they are using these flaws against its firewalls where the management page can be reached from the internet. Overseas, attackers combined the PHP flaws with a Linux flaw known as Fragnesia (CVE-2026-46300) to take full control of 25 servers running firewall software in the US, Japan, Taiwan and South Korea. Once inside, they went after Active Directory, the system that controls staff logins. Cisco has also listed some of its products as affected, though it hasn't seen attacks on them. Singapore's Cyber Security Agency also lists products from Citrix (NetScaler ADC and Gateway), F5 (BIG-IP) and Fortinet (FortiSOAR) as affected. None has been reported as attacked. No Australian victims have been reported.
Attackers have now used PHP2Shell to take over Check Point gateways. Check Point says they combined the two PHP flaws with a separate flaw in its own software to get full control of the device, then planted hidden web pages to keep their access. In one wave, which began on 30 October against Israeli organisations, they moved from the gateway to a virtual server host and ran a wiper, software that destroys data. A second wave from 2 November targeted gateways in several countries without destroying anything. Check Point found malware linked to a China-associated group but says it cannot judge the operation with high confidence. No Australian victims have been reported.
A firewall is meant to keep attackers out. If it's taken over, they're already inside.
What to ask your IT team or provider
- Which of our products have a web page for managing them, and has each vendor said whether it's affected?
- Can any of those management pages be reached from the internet? If they can, limit them to our own network today.
- Are our firewalls and other devices on the vendor's latest fixed version?
- Have our Linux servers been updated for Fragnesia as well as PHP?
- If we run Check Point gateways, are the October PHP fixes and Check Point's advice SK1000362 applied, and have the gateways been checked for signs of compromise, not just patched?
You've patched. Now what?
Updating PHP closes the door. These four steps make sure it is closed, and that no one came through it first.
- Confirm the fix is in. Ask whoever runs each site for the date and time it was patched. Some hosting providers patch without changing the version number; VentraIP's fixed version, for example, shows as 8.4.26. If in doubt, ask rather than guess.
- Change the passwords and keys stored on your web servers. One of the two flaws can leak what is in a server's memory, which can include passwords, tokens and API keys. Changing them means anything that leaked no longer works.
- Check for signs of access since 17 October. Amazon saw the first attempt on that date and recommends looking back to it. An attack can leave very little in normal logs, so this needs someone who knows what to look for.
- Tell your staff. Hacked websites that people already trust can be used for fake login pages and for instructions to paste commands. If a familiar site suddenly asks for either, stop and check.
What to send your website provider
Copy this email and send it to whoever runs your websites.
Subject: PHP2Shell: can you confirm our websites are fixed? Hi [name], You'll have seen the news about the two critical PHP flaws known as PHP2Shell (CVE-2026-109618 and CVE-2026-109619). Could you please confirm the following for every website and web application you run for us, including staging copies and old campaign sites: 1. Which PHP version each one runs, and the date and time the fix was applied. 2. For anything on PHP 8.1 or older, what you've done instead: a vendor fix, restricted access or taking it offline. 3. Whether you've changed the passwords, keys and tokens stored on those servers. 4. Whether you've checked for signs of access since 17 October, and what you found. A reply by [day] would be great. If any of this isn't covered by our agreement, let me know and we'll work out next steps. Thanks, [name]
What happened
Timeline (AEDT)
Amazon sees the first attempt to exploit the flaws, four days before the fix.
PHP gives notice of an emergency security release.
The ACSC issues a Critical alert.
PHP releases the fixed versions. The ACSC reviews its alert the same day.
PHP warns of another flaw, with no fix yet.
Attackers combine the PHP flaws with a Linux flaw to take over firewall servers overseas. 25 are later reported compromised.
The Essential Eight 48-hour timeframe ends.
Researchers report a successful attack on an unpatched decoy server, and CISA lists both flaws as known to be in use (US time).
Palo Alto Networks confirms attacks on firewall management pages.
Attackers begin using PHP2Shell against Check Point Mobile Access gateways at Israeli organisations. In this wave they move to a virtual server host and run a wiper.
A second wave targets Check Point Security Gateways in several countries. No destructive activity was seen.
PHP releases security updates that fix the other PHP flaw, CVE-2026-115560, and further issues.
PHP 8.2 stops receiving security fixes.
Details of the flaws leaked before the fix was released; exactly when is not yet confirmed. The Australian Signals Directorate's Australian Cyber Security Centre (ACSC) issued a Critical alert on 21 October, before the fix existed. It said all PHP versions from PHP 5 onwards may be affected. PHP released the fixed versions at 1am AEDT on 22 October. The ACSC reviewed its alert the same day. It now recommends that organisations identify where they use PHP, apply the security updates and other appropriate mitigations, and monitor PHP applications for suspicious activity.
Governments took websites offline as a precaution while they prepared. In Australia, the Australian Signals Directorate confirmed outages to government websites, including its own, cyber.gov.au.
The flaws were found with the help of artificial intelligence. The security firm Calif found the first in August using an OpenAI model, during an audit of PHP funded by OpenAI. Wiz, a security company owned by Google's parent Alphabet, used its own AI research tool and models from Google and OpenAI. Wiz says the flaws had been hidden in PHP's code for more than a decade.
On attacks: several security companies, including watchTowr and Cloudflare, report attempts to use the flaws, and security firms have seen attempts to install botnet malware through them. On 26 October, researchers reported a successful attack on a decoy server running an unpatched version of PHP, and CISA added both flaws to its list of vulnerabilities known to be in use. Attacks are under way. Plan on that basis.
Are you affected?
You are affected if any website or web application you own runs a version of PHP older than the fixed versions. That includes systems run for you by an agency, a hosting provider or a software vendor.
Common places PHP sits in a mid-sized organisation:
- The public website, especially on WordPress, Drupal or Joomla
- Customer and member portals, online forms and booking systems
- Intranets, staff portals and learning platforms such as Moodle
- Online shops, including Magento and WooCommerce
- Old campaign sites, test copies and staging sites that are still online
Updating WordPress, its plugins or its theme does not fix this. The flaws are in PHP itself, underneath those products.
What to do: steps for your IT team or provider
How to check which version you run
Ask whoever runs the site (your hosting provider, web agency or IT team) which PHP version it uses and whether the October 2026 security fix is installed.
Which version are you on?
| Your PHP version | What to do |
|---|---|
| 8.5 | Update to 8.5.13 or later. |
| 8.4 | Update to 8.4.28 or later. |
| 8.3 | Update to 8.3.37 or later. |
| 8.2 | Update to 8.2.36 or later, then plan the upgrade. PHP 8.2 stops receiving security fixes on 31 December 2026. |
| 8.1 or older | No fix from PHP. Ask your host or operating system vendor for their own fix. If there is none, restrict access or take the system offline until you upgrade. |
On Linux, the version number may not change after a vendor fix. Check the package's change log for CVE-2026-109618 and CVE-2026-109619.
8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix PHP2Shell. The 19 November releases also fix CVE-2026-115560 and other flaws.
Check Point gateways: attackers chained CVE-2026-109618 and CVE-2026-109619 with CVE-2026-123039, a local privilege escalation in the DynamicCLI process, to gain root, then placed PHP webshells (in a Mobile Access portal directory in the first wave). Check Point's advice for CVE-2026-123039 is SK1000362. In the first wave the attackers moved laterally to a VMware ESXi host and ran a wiper.
- Find every PHP installation. List every website and web application, including test and staging copies. For hosted sites, ask the provider. For servers you manage, check the version the web server actually uses, not only the command-line version, because the two can differ.
- Update to a fixed version. The fixed versions are 8.5.12, 8.4.27, 8.3.36 and 8.2.35; the 19 November releases (8.5.13, 8.4.28, 8.3.37 and 8.2.36) add further fixes, so update to those. On Linux, the version number may not change, because vendors often add the fix to their existing package. Check the package's change log for CVE-2026-109618 and CVE-2026-109619. Restart PHP and rebuild any container images afterwards, or the old code keeps running.
- If you cannot update today. For PHP 8.1 or older, ask your host or operating system vendor whether they have released their own fix. If they have not, take the system offline or restrict access to known users until it is upgraded. Configuration changes circulating online reduce some routes of attack but do not close the flaws. PHP's position is that updating is the fix.
- Find out whether anyone got in before you updated. No official signs of compromise had been published at the time of writing. If you are concerned, report it through ReportCyber and ask a specialist incident response provider to investigate.
- Plan the upgrade for anything old. PHP 8.2 stops receiving security fixes on 31 December 2026. Anything on 8.2 or older should be upgraded this quarter, not after the next emergency.
If you find signs of a breach
- Contain, do not wipe. Take the affected system offline and keep its logs. Rebuilding straight away destroys the evidence you need to work out what was taken.
- Report it. Report to the Australian Signals Directorate through ReportCyber at cyber.gov.au/report, or call the government's Australian Cyber Security Hotline on 1300 CYBER1 (1300 292 371).
- Check your privacy obligations. If personal information may have been accessed and your organisation is covered by the Privacy Act, the Notifiable Data Breaches scheme may require you to notify the Office of the Australian Information Commissioner and the people affected. If you suspect a breach but are not sure, you must take all reasonable steps to assess it within 30 days.
- Tell your insurer early if you hold cyber insurance, and check what your policy requires you to do and by when.
Why this matters beyond this week
A flaw hidden for more than a decade was found with AI, and attack attempts were reported within days of the details leaking. The time between a flaw becoming known and it being used is shrinking. How quickly you fix internet-facing systems is now a measure of business risk, not an IT housekeeping task. Qualys data from 12,000 of its customers shows about 71% of PHP installations run versions that PHP no longer fixes.
Two questions every leadership team should be able to answer: how many internet-facing systems do we have, including those run by third parties? And how long does it take us to fix a critical flaw in them?
Questions people are asking
The name given to two critical flaws in PHP, tracked as CVE-2026-109618 and CVE-2026-109619. Both let an attacker run commands on a web server without logging in.
What is PHP2Shell?
The name given to two critical flaws in PHP, tracked as CVE-2026-109618 and CVE-2026-109619. Both let an attacker run commands on a web server without logging in.
Is my WordPress site affected?
Probably, unless your host has already updated PHP. WordPress runs on PHP, and updating WordPress itself does not fix this. Attempts are widespread, but as at 28 October Defiant, the company behind the Wordfence security plugin, knew of no WordPress site taken over through these flaws, after recording more than 77,000 attempts from over 2,000 internet addresses. Update anyway.
Which versions fix it?
PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix PHP2Shell. PHP released further security fixes on 19 November (8.5.13, 8.4.28, 8.3.37 and 8.2.36), so update to those.
We've patched. Are we safe?
You're protected from new attacks through these flaws. Patching doesn't tell you whether someone got in before the fix, or whether passwords and keys on the server leaked. Work through the four steps under "You've patched. Now what?"
Should we change our passwords?
Yes, for the passwords, keys and tokens stored on your web servers, such as database passwords and keys for other services. One of the flaws can leak server memory, where these are often held.
Our host says we're on PHP 8.4.26. Are we exposed?
Not necessarily. Some hosting providers add the fix to their existing version without changing the number. VentraIP, for example, shows its fixed version as 8.4.26. Ask your provider to confirm the fix is installed.
Is PHP2Shell being exploited?
Yes. Amazon and Cloudflare report attempts worldwide, in the millions, and on 26 October CISA added both flaws to its list of vulnerabilities known to be in use. As at its last review on 22 October, the ACSC was not aware of successful exploitation in Australia. Since 28 October, attackers are also using the flaws against Palo Alto Networks firewalls whose management page can be reached from the internet.
Are our firewalls affected?
Palo Alto Networks firewalls are, through their management page. Citrix NetScaler and F5 BIG-IP products are also listed as affected, though no attacks on them have been reported. Ask whoever manages your firewalls whether the management page can be reached from the internet and whether the software is on a fixed version. If you use another brand, ask the vendor whether it's affected.
Are other products affected?
Yes. PHP is built into many business products with a web management page. The Dutch government's cyber security centre is tracking 757 of them; as at 28 October, 218 were affected and 354 were still being checked. Ask your IT team or provider to check every product you use that has a management page.
Is there another PHP flaw?
Yes. PHP first warned about CVE-2026-115560 on 23 October. It was fixed on 19 November in PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36. It only affects an unusual combination of settings and code, and no attacks using it have been reported. Update to the 19 November versions; if you can't yet, PHP's earlier advice still applies: turn off session upload progress. A third flaw, called phpAfterShell (CVE-2026-126714), was disclosed on 19 November. It works on servers that have the October fixes and is fixed only in the 19 November releases. No attacks using it have been reported.
We run PHP 7.4 or 8.1. What now?
PHP will not release a fix for these versions. Ask your host or operating system vendor whether they have one. If not, restrict access or take the system offline until you upgrade.
Does a web application firewall or Cloudflare protect us?
It may block some attacks, but it does not remove the flaw. Update as well.
Should we take our website offline?
Only if you cannot update it and no vendor fix is available. In Australia, the ACSC advises applying the updates and other appropriate mitigations. Agencies in Europe, Japan and the UK have advised updating immediately or taking sites offline until they can be fixed.
How do I find out which version we run?
Ask your hosting provider or web agency. If you manage the server, check the version the website uses and the operating system package's change log.
Do we have to report this?
Not the flaw itself. You may have to report a breach if personal information was accessed and serious harm is likely.
Sources
PHP security release · ACSC alert · ReportCyber · OAIC Notifiable Data Breaches · Essential Eight maturity model · CISA Known Exploited Vulnerabilities catalogue · CISA alert, 26 October 2026 · Cyber Daily, 28 October 2026 · Palo Alto Networks advisory, 29 October 2026 · Cisco advisory, 28 October 2026 · Dutch National Cyber Security Centre product list, 28 October 2026 · The Hacker News, 29 October 2026 · The Hacker News, 28 October 2026 · The Register, 29 October 2026 · Infosecurity Magazine, 26 October 2026 · Hacktron, PHP2Shell two weeks on, 3 November 2026 · Cyber Security Agency of Singapore, alert AL-2026-157, 3 November 2026 (updated 6 November) · SecurityWeek, PHP2Shell attacks root Palo Alto firewalls but fail against WordPress, 30 October 2026 · SecurityWeek, 13 November 2026, PHP2Shell Exploited in Destructive Check Point Gateway Attacks · PHP 8 ChangeLog (19 November 2026 releases) · The Hacker News, 19 November 2026 · Cybersecuritynews, 19 November 2026, phpAfterShell · AhnLab ASEC, 20 November 2026, PHP security update
If you would like a second opinion on your exposure, call our security team on 1300 376 347 or contact us at efex.com.au/contact-us.
