How Cloudflare WAF helps protect against phpAfterShell and other critical PHP flaws
Curated from Cloudflare Blog
Edge WAF coverage for a fresh PHP vulnerability shows how quickly protection can reach a whole customer base, but it is not a fix. A WAF rule matches request patterns, while the flaw in PHP's session handling stays in your runtime until you upgrade. For SRE teams, the useful questions are how many services run affected PHP versions, which of them are reachable without a managed WAF in front, and whether untrusted input can influence session data. Vendor rules also tend to trail new payload variants, so treat them as a stopgap that buys time to patch. The article is worth reading for the detail on what the rules cover and where the gaps might be. Takeaway: inventory every PHP runtime against the fixed release this week, and patch before relying on any edge rule.
phpAfterShell is a critical flaw in PHP's default session handler that can lead to code execution. Cloudflare WAF blocks it for all customers, including Free plans, and adds new rules for other PHP flaws fixed in the same release.
— Cloudflare Blog