Quick summary

  • PHP2Shell reporting concerns the PHP runtime rather than just application code. A response plan needs an inventory, a verified patch rollout and temporary filtering that does not create a false sense of completion.
  • An application deployment can leave an old runtime behind. Treating an edge rule as the whole fix can also leave unfiltered paths exposed.
  • Identify the runtime serving each exposed PHP workload, confirm the appropriate vendor-fixed package, and verify the running workers after deployment.

What happened

The first operational question in a PHP2Shell response is not which application team merged a fix. It is which PHP runtime is actually handling traffic on every exposed workload.

Wiz's disclosure places the reported flaws in PHP itself. AWS's mitigation guide explains request-filtering options and their limits. Together these point to two separate jobs: repair the vulnerable component and manage exposure while that repair reaches production.

Establish what is running

  1. List public applications, background entry points, container images and hosts using PHP.
  2. Map each workload to its runtime package and the team that can update it.
  3. Check the relevant PHP release guidance and your operating-system or image vendor's advisory.
  4. Track rollout by running workload, not only by the image tag in a repository.

This is an operational checklist, not a claim that every listed workload is affected. Package vendors may backport fixes, so a superficial version comparison can be insufficient. Keep the vendor's evidence with the inventory decision.

Use filtering as a bounded measure

AWS discusses mitigations around multipart request handling. Blanket blocking can interfere with legitimate uploads, so any rule needs application-specific validation. Do not copy a sample rule without checking whether traffic reaches the protected edge and whether other origins remain reachable.

Use a staged rollout where your operational process supports it, observe legitimate failures and document how to reverse a disruptive rule. A filter can reduce exposure for the traffic it sees; it does not prove that the runtime has been replaced or that every ingress path is covered.

Close the response with runtime evidence

After deploying a fixed package or image, verify the workers actually serving requests and run the relevant regression checks. Rebuilding an image and deploying an image are different events. Restart or replacement requirements depend on the packaging and process model in use.

AWS's MadPot report describes exploitation telemetry. Such reporting is a reason to review local exposure and logs, not evidence that your own system was compromised.

Mark remediation complete only when the inventory has a documented disposition, the deployed runtime is verified and residual exposure has an owner. Keep investigation of possible compromise separate from the patch ticket: closing one does not answer the other.

Sources

Why developers should care

An application deployment can leave an old runtime behind. Treating an edge rule as the whole fix can also leave unfiltered paths exposed.

  1. 1Identify the runtime serving each exposed PHP workload, confirm the appropriate vendor-fixed package, and verify the running workers after deployment.