All articles
How To's

PHP2Shell: Find PHP Assets to Patch with CrowdStrike Falcon

Before you can patch PHP2Shell, you need to find the PHP installations in your environment. That includes the obvious web servers, but also bundled runtimes, older application servers, and installations that do not show recent usage.

Start in CrowdStrike Falcon under Exposure Management > Applications. Search for PHP, open the associated assets, and collect the versions and owners needed for remediation. Then compare those installations with the PHP2Shell advisories and any available Falcon vulnerability findings.

The goal is a practical patching list: which assets need attention, who will update them, and how you will verify the fix. You do not need an API script to build it.

Why you are looking for PHP: PHP2Shell

PHP2Shell refers to two critical vulnerabilities that can allow unauthenticated remote code execution: CVE-2026-109618 and CVE-2026-109619. PHP released fixes on October 21, 2026. Its advisory calls out installations serving web requests, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP, and LiteSpeed, with the highest stated risk for mod_php. See the official PHP security advisory.

This guide's advisory details were checked on October 23, 2026. Use the linked advisories for subsequent updates.

Finding PHP is the discovery step, not proof that every result is vulnerable. A package may already contain a vendor fix. Equally, a missing usage record does not establish that an installation is safe. Collect candidates broadly, then verify each runtime and its patch status.

Before you begin

You need access to application inventory through your organization's Falcon Exposure Management or Falcon Discover subscription, plus a role that can view the relevant applications and assets. Having access to endpoint detections alone does not necessarily give you application inventory access.

The instructions below use Exposure Management terminology. Older Falcon documentation places these features under Discover. Menu labels, available filters, and export options can vary with your console and entitlements; use the Applications inventory rather than stopping at its overview dashboard. CrowdStrike documents the Exposure Management entry point in its application management walkthrough.

Start in the correct customer environment, especially if you manage multiple Falcon tenants. Your results will reflect the assets and data your account can see.

What evidence do you need for patching?

Keep these questions separate as you build your list:

QuestionEvidence to collect
Where is PHP installed?PHP application records associated with individual assets
Does that installation need a PHP2Shell fix?Full package/build version, vendor advisory, and available CVE findings
Which systems should be handled first?Web exposure, application criticality, deployment type, and owner confirmation
Has remediation completed?Updated runtime/package evidence, restarted workers, and a fresh assessment

Do not require a running PHP process before adding an installation to the review list. Usage can help prioritize work, but it should not be the filter that decides whether an asset gets reviewed.

Step 1: Open the Applications inventory

  1. Sign in to the Falcon console.
  2. Open the main navigation menu.
  3. Expand Exposure Management and open Applications.
  4. If you arrive on Applications dashboards, switch to the Applications inventory list.

You want the view that lists application names and their associated assets. If the page also includes browser extensions, select the applications view where available.

Checkpoint: You should be looking at a searchable application table, rather than a chart of the most common applications.

Step 2: Search broadly for PHP

Use the Application filter or application-name search and enter:

php

If the filter offers suggestions, select the relevant PHP entries and apply the filter. If it provides a text-matching operator, start with a contains-style match. Leave Version unrestricted for this first pass.

Review all relevant matches. Depending on how software is packaged and identified, you may encounter the PHP runtime, CLI packages, FPM packages, or version-specific names. Treat those as possibilities to inspect, rather than expecting a fixed list of names in every tenant.

Avoid restricting the search to production servers immediately. A development workstation, build machine, or utility server may also have PHP installed.

If you know a host uses a bundle such as XAMPP or WampServer, search that bundle name separately too. Treat it as a lead for the owner to verify the embedded PHP runtime; the bundle's product version is not necessarily its PHP version.

Checkpoint: You have a set of candidate PHP application entries across the visible environment. A matching name is a starting point; inspect the record before counting it as a PHP runtime installation.

Step 3: Open the assets behind each PHP entry

An application count is not yet a host list. The next step is to move from the PHP entry to its associated assets.

  1. Open a matching PHP application to view its details.
  2. Look for Installed on and Used on information where available.
  3. Follow the linked asset count or associated-assets view for installations. If the count is not a link in your layout, use the application's details or row actions to reach the asset list.
  4. Record the hostnames and asset identifiers.
  5. Repeat for the other relevant PHP entries and versions.

Use installation information for your initial inventory, and review usage information separately. A host can have usage evidence without a corresponding installation record, so include those hosts as a separate set of candidates to verify.

For example, suppose one PHP version lists 12 assets and another lists 5. That does not automatically mean 17 unique hosts: a machine might have both versions. Deduplicate by a stable asset identifier, keeping the customer environment alongside it if you combine tenants.

Step 4: Confirm the version and host details

Open an asset from your results and review its application inventory. This gives you a second way to check the association: you started with PHP and found a host; now you are checking what that host reports.

CrowdStrike's application inventory guide describes opening a managed asset's details to inspect its installed applications and, with the relevant entitlement, vulnerability context.

Capture the following information where available:

DetailWhy it matters
Hostname and asset IDIdentifies the machine and helps remove duplicate host entries
Operating systemHelps route the work to the right administration team
PHP application name and full package/build versionSupports comparison with upstream releases or vendor backports
Installation pathHelps distinguish multiple copies on the same machine
Asset last seen and inventory update timeShows how recent the underlying evidence is
Application owner and web exposureHelps assign and prioritize remediation; confirm missing details with the owner

Not every field will appear in every view. CrowdStrike's Discover API reference documents application properties including version, installation paths, last-used timestamps, and associated host information; the console may expose a subset.

Keep multiple PHP versions as separate installation records. You can maintain a second list containing one row per host for assigning owners.

Compare upstream PHP versions by branch

For upstream PHP releases, use these branch-specific fix levels. Both CVE-2026-109618 and CVE-2026-109619 list the following patched versions:

PHP branchUpstream versions requiring an updateFirst upstream release fixing both CVEs
8.2Earlier than 8.2.35 in the 8.2 branch8.2.35
8.3Earlier than 8.3.36 in the 8.3 branch8.3.36
8.4Earlier than 8.4.27 in the 8.4 branch8.4.27
8.5Earlier than 8.5.12 in the 8.5 branch8.5.12

Choose a supported release containing the fixes, including a newer security release when available. Do not apply one global filter such as "PHP below 8.5.12": a fixed 8.3 release has a lower version number than 8.5.12.

PHP 8.1 and older no longer receive regular upstream releases. Keep them in scope and obtain a vendor-supported fix or migrate to a supported branch. PHP also published limited source backports for 7.4, 8.0, and 8.1; their availability does not establish that your installed build contains them. See PHP's update guidance.

Account for vendor backports

Linux distribution packages may retain an older PHP base version while incorporating the security fixes. Compare the complete package revision against that distribution's advisory.

For example, Ubuntu lists 8.3.6-0ubuntu0.24.04.13 as a fixed package for Ubuntu 24.04. A rule that only checks whether the base version is below 8.3.36 would misclassify that package. This example applies to the named Ubuntu package, not every installation reporting PHP 8.3.6. See Ubuntu's PHP2Shell advisory.

Step 5: Cross-check the CVEs and prioritize assets

If your Falcon entitlement includes vulnerability assessment, open the vulnerability findings view available in your console and search the CVE identifier filter for each of these separately:

  • CVE-2026-109618
  • CVE-2026-109619

Open the associated assets and reconcile them with your PHP inventory. If the filter supports multiple selections, use either CVE, not a condition that requires both. Keep hosts with an unverified patch status in the worklist even if no finding appears yet.

CrowdStrike reports assessment of these CVEs through existing package-manager and targeted application checks across supported sensors. Its additional discovery checks for custom installations require Windows sensor 7.40+ for a default-drive executable search or Linux sensor 7.31+ for running-process discovery. Those minimums apply to the additional checks, not all PHP2Shell assessment. Check CrowdStrike's PHP2Shell coverage details for updates.

Use this order to organize the handoff:

  1. Internet-facing PHP web applications: Confirm the runtime and patch status first, including applications behind a reverse proxy or load balancer.
  2. Internal PHP web applications: Review critical services and systems reachable from other network segments.
  3. Other PHP installations: Have owners establish whether they serve requests, support builds, or are unused copies that should be updated or removed.

Use asset criticality and owner knowledge to refine this order. A private IP address does not rule out exposure through a public proxy. A CLI-only package is a discovery result requiring context, not automatic proof of a remotely exploitable web service.

Falcon detection coverage does not replace the PHP update. CrowdStrike describes behavioral coverage for exploitation-related activity and recommends applying the vendor security updates in its PHP2Shell guidance.

Step 6: Export a usable host list

From the filtered asset or application-instance view, use the export or download action if your console provides it. Choose CSV when available.

Open the exported file before sharing it. Make sure it contains hostnames or asset IDs, rather than only application names and aggregate counts. If it contains only totals, return to the associated-assets view and export from there, or use an available report that includes host-level records.

Keep these two outputs:

  • Installation list: One row per host, PHP version, and installation path where known.
  • Host list: One row per unique asset, with an owner and the next action.

Add the owner, exposure, applicable CVEs, target package, remediation status, and verification date. Useful statuses include Needs assessment, Update required, Vendor fix verified, and Removed and verified. Keep the search scope and collection date with the report so another analyst can reproduce it.

An illustrative handoff might look like this:

HostEvidenceNext action
web-prod-01Internet-facing application; upstream PHP below its branch fix levelAssign an urgent runtime update and worker restart
internal-app-02Distribution package with an older base versionCheck the full package revision against the vendor advisory
legacy-app-03PHP installation; deployment and patch status unknownAssign an owner to assess it; keep the task open

These are example hostnames, not Falcon results. Keep installations without usage evidence in the review list until their owners confirm their purpose.

Step 7: Verify the patch and repeat the search

Once owners have updated the affected installations, verify the result:

  1. Confirm the installed package or build. Record the fixed upstream version or the vendor advisory and full package revision. Check every PHP installation path identified on the host.
  2. Confirm the service is using the updated runtime. Follow the vendor's restart procedure for PHP-FPM, Apache, or the relevant application workers. Ubuntu explicitly notes that updated packages can still require application restarts or a reboot in its remediation guidance.
  3. Check containers and bundles separately. Update and redeploy the relevant image or bundled application through its supported process; a host package update does not establish that those copies changed.
  4. Revisit Falcon after fresh data arrives. Check the asset's reporting time, its PHP inventory, and the relevant CVE findings. Investigate any remaining findings or stale records.
  5. Close the task with evidence. Retain the version/package confirmation, restart or redeployment record, and verification timestamp. A submitted patch job alone is not completion evidence.

If an owner runs php -v, remember that it identifies the CLI executable resolved by that shell. It does not necessarily identify the PHP runtime used by the website, an FPM pool, or a container. Have the owner verify the runtime actually serving the application.

When an immediate update is impossible, use the PHP advisory's temporary exposure-reduction guidance while arranging remediation. Those measures are not a complete fix; keep the asset marked as pending remediation.

Save the search for follow-up

If your view supports saved filters, save your PHP search with a clear name such as PHP2Shell review - all PHP versions. Keep the broad inventory view so you can find newly reported installations as well as revisit existing tasks.

For recurring reviews, consider an Application group containing the PHP application entries you want to track. CrowdStrike's application group walkthrough shows how to create a group from selected applications. Check its membership rules so new versions or differently named packages are not unintentionally excluded.

Optional: Check PHP activity when the deployment is unclear

Review Used on and last-used timestamps for context. If your role and the host's policy permit Real Time Response, connect to the identified host and run the built-in command:

ps

Look for PHP executables such as php, php-fpm, versioned variants, php.exe, or php-cgi.exe, and verify their paths where available. CrowdStrike documents ps in its RTR reference. This is a process snapshot, not a PHP2Shell vulnerability test.

PHP may also execute inside Apache through mod_php, without a separate PHP process. Short-lived scripts may finish before the check. Neither an empty process search nor zero recorded usage clears an installation from the patching review.

What if the PHP search returns no results?

An empty search is a reason to check coverage before concluding that PHP is absent.

What to checkWhat to do
Restrictive filtersRemove version, operating-system, hostname, group, and other filters; search for PHP again
Wrong environment or limited visibilityConfirm the customer tenant and the assets your role can access
A known PHP host is missingFind that host directly, check when it last reported, and inspect its application inventory
PHP is bundled or manually deployedAsk the owner about application bundles and custom installation paths; search the bundle name as another lead
PHP runs inside a containerCheck the relevant container or image inventory where available; do not assume the host application list enumerates container contents
Applications is missing from the menuAsk your Falcon administrator to check your subscription and role permissions

The finished worklist should account for each PHP candidate: an owner, an assessed PHP2Shell patch status, and evidence of remediation or a documented next action. Repeat the broad search as fresh inventory arrives so newly discovered installations enter the same process.

Keep reading