Truvo Free Tools
PHP2Shell exposure checker
PHP2Shell is two critical flaws in PHP that allow code execution without a login. This checker reads the PHP version a site advertises in its response headers, compares it with the fixed releases, and tells you what to confirm on the server.
Last updated Oct 22, 2026, 12:46 UTC
Talk to a security specialist
Share what you need and a consultant will follow up to book a call.
How the PHP2Shell checker works
The check is passive: it sends one ordinary request to the site's home page and reads the response headers. It sends no exploit traffic and stores nothing you enter.
01
Read
The checker requests https://yourdomain/ once and reads the X-Powered-By and Server headers, plus signs of PHP such as a PHPSESSID cookie. It looks for a version string like PHP/8.3.35.
02
Compare
The version is compared with the PHP releases that fix PHP2Shell: 8.5.12, 8.4.27, 8.3.36 and 8.2.35. PHP 8.1 and older have no official fix. A version string from an OS package is flagged separately, because distributions patch without changing the version number.
03
Map
The result names the controls it speaks to: SOC 2 CC7.1 (detecting new vulnerabilities) and ISO 27001:2022 A.8.8 (management of technical vulnerabilities). A vulnerable result is a finding to remediate, with the evidence an auditor expects.
Not sure if PHP2Shell hit you?
Truvo's incident response team scopes PHP exposure, reviews the logs and makes the incident and breach determination with you, then leaves the evidence your auditor and customers will ask for.
-
Find every server and site running PHP
-
Review logs for signs of exploitation
-
Decide incident or breach under SOC 2, ISO 27001, GDPR and HIPAA
-
Document the response for your auditor
PHP2Shell checker: frequently asked questions
The PHP2Shell checker reads the X-Powered-By and Server response headers from one request to the site's home page, plus signs of PHP such as a PHPSESSID cookie. It compares the PHP version the site advertises with the fixed releases: 8.5.12, 8.4.27, 8.3.36 and 8.2.35.
Vulnerable means the site advertises a supported PHP version below the fix. End of life means PHP 8.1 or older, with no official fix. OS-packaged means the version comes from a distribution package, so check the vendor advisory. Patched means the advertised version includes the fix. Version hidden means PHP is in use but the version is not shown. No PHP signal means the headers show no sign of PHP, which can still happen behind a CDN.
A clean result shows only what the site advertises. Many servers hide the PHP version, CDNs often strip the header, and distribution packages carry the fix under the old version number. Only a check of the PHP installed on the server confirms whether it is patched.
Yes. The checker sends one normal page request, the same as any visitor's browser, and reads the response headers. It sends no exploit payloads, no uploads and no oversized requests, and nothing you enter is stored.
Copy web and PHP logs from October 17, 2026 onward to safe storage first, then upgrade PHP, restart every worker and rebuild images. Exploitation attempts began before the patch, so review the logs for signs of compromise. The how to check for PHP2Shell post on the Truvo blog has the server commands, and the PHP2Shell guide covers the incident and breach decisions.
More free tools
Run the full domain scan, which includes the PHP2Shell check. For the server checks, read how to check for PHP2Shell. The PHP2Shell guide covers the response and the breach tests, and the PHP2Shell tracker has the latest fixed versions. See all free tools.
Domain security scan
Scan any domain for SPF, DMARC, DNS, TLS, security headers and subdomains in one pass. Graded A to F, each finding mapped to the SOC 2 and ISO 27001 control it supports.
HTTP security headers checker
Check CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy and Permissions-Policy on any site.
SSL and TLS checker
Test HTTPS reachability, the HTTP to HTTPS redirect, and HSTS strength for any domain.