Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PHP2Shell & WordPress

PHP2Shell & WordPress

Hong Kong WordPress Meetup

October 30, 2026

Transcript

10 slides
  1. PHP2Shell & WordPress WordPress Website Owners’ response to PHP2Shell PATCH

    THE WEB RUNTIME • THEN VERIFY Prepared : Kevin Leung For site owners, administrators and hosting teams 01
  2. What is PHP2Shell? UNDERSTAND THE RISK PHP2Shell • It means

    two critical, high-impact remote code execution (RCE) vulnerabilities discovered in the PHP programming language engine. • Publicly disclosed on October 20, 2026, these flaws allow unauthenticated, remote attackers to execute malicious shell commands and gain complete control over vulnerable web servers simply by sending specially crafted web requests. Your Risk: • • • • • Authentication bypassed. (password, MFA, etc) Your Site, Full control by attacker. Data Leakage Site modified All the others…. Source: PHP Security Advisory, CISA Alert and CERT-EU Advisory 02
  3. Two PHP flaws, one urgent patch decision UNDERSTAND THE RISK

    CVE-2026-109618 Out-of-memory handling can interrupt PHP while request data is only partly initialized. Cleanup can then use unsafe memory, resulting an invalid memory access. CVE-2026-109619 Request-owned state can outlive freed memory. A later request in the same worker may use that stale state, which an attacker can hijack to execute code. Source: PHP Security Advisory, CISA Alert and CERT-EU Advisory Possible code execution as web user 02
  4. Check the fixed release for your PHP branch PATCH BASELINE

    For maintained upstream branches, these are the minimum releases that fix both CVEs. PHP branch Fixed upstream at Owner interpretation 8.2 8.2.35 or later Patch to this release or a newer supported branch 8.3 8.3.36 or later Patch to this release or a newer supported branch 8.4 8.4.27 or later Patch to this release or a newer supported branch 8.5 8.5.12 or later Patch to this release or a newer supported branch PHP 8.1 and older: do not assume safety from a displayed version. Upgrade to a supported build, or obtain provider-specific package/advisory evidence that both CVEs are backported for the web runtime. Package backports can retain an older-looking version. The proof must name the package/build and the two CVEs. Source: PHP Security Advisory, NVD and CERT-EU Advisory 04
  5. Check the PHP serving your domain Start in WordPress Site

    Health Dashboard path: Tools → Site Health → Info → Server → PHP version Save a dated screenshot or export. Record the domain, displayed PHP version, handler/pool, hosting plan and any load-balanced nodes. ACTIONS Record CLI PHP separately wp cli info --format=json Do not substitute this result. WP-CLI can use a different PHP binary and php.ini from the one that serves HTTPS requests. A mismatch is a finding to resolve with the host. This is the web application’s view of the runtime visitors use. Avoid leaving a public phpinfo() page. If your host uses one temporarily, restrict access and remove it immediately after documenting the runtime. Source: WordPress Site Health and WP-CLI documentation 05
  6. Start in WordPress Site Health Start in WordPress Site Health

    Dashboard path: Tools → Site Health → Info → Server → PHP version Save a dated screenshot or export. Record the domain, displayed PHP version, handler/pool, hosting plan and any load-balanced nodes. This is the web application’s view of the runtime visitors use. Source: WordPress Site Health and WP-CLI documentation 05
  7. Sources & owner follow-up PRIMARY REFERENCES PHP2Shell advisories WordPress owner

    tools PHP Security Advisory — official fixes and mitigations CISA Alert — patch urgency and response actions CERT-EU Advisory — affected versions and temporary controls NVD CVE-2026-109618 — CVE record and affected version ranges WordPress Site Health — web runtime information WP-CLI checksum commands — covered-file integrity evidence WordPress hacked-site response — preserve, contain and recover WPScan database and Wordfence scan guide — version, malware and integrity checks Operational conclusion: patch now; a WAF only buys time. Confirm the actual web PHP build, not merely a WordPress or CLI version. Facts and links checked 24 October 2026. Source reporting on observed exploitation varied; this does not reduce patch urgency. Click linked titles in this slide to open primary guidance 12
  8. Reference PRIMARY REFERENCES PHP2Shell advisories What is Remote Code Execution?

    https://www.akamai.com/glossary/what-is-remote-code-executionrce-vulnerability Security Research – PHP2Shell – Everything you need to know. https://www.akamai.com/blog/security-research/understandingphp2shell-everything-you-need-to-know Understanding PHP2Shell Vulnerabilities and Reducing Risk While You Patch https://www.fortinet.com/blog/industry-trends/understandingphp2shell-vulnerabilities-and-reducing-risk-while-you-patch Operational conclusion: patch now; a WAF only buys time. Confirm the actual web PHP build, not merely a WordPress or CLI version. Click linked titles in this slide to open primary guidance 12
  9. What systems can be affected? PRIMARY REFERENCES Beside Wordpress… •

    Drupal, Joomla, MediaWiki • PHP Hosting Setups • Apps and appliances (NAS, IP Camera etc) • Key: PHP + Internet Facing = Patch Immediately! Check all your systems that using PHP. Read Technical information and patch respectively. Click linked titles in this slide to open primary guidance 12

More Decks by Hong Kong WordPress Meetup

Other Decks in Technology