# Cloudflare Shields PHP Sites from php2shell Exploits

Original title: Cloudflare deploys protections against php2shell vulnerability

> Hacker News story 50181326 · language: en · submitted 2026-10-21
> Web version: https://zeli.app/story/50181326
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 127 · by [Maxious](<https://news.ycombinator.com/user?id=Maxious>) · 💬 22
[original](<https://blog.cloudflare.com/php-vulnerabilities-waf-protection/>) · [HN discussion](<https://news.ycombinator.com/item?id=50181326>)

## Summary

Cloudflare has rolled out new Web Application Firewall rules to block attacks exploiting the php2shell vulnerability, a flaw that can let attackers run arbitrary code on PHP servers. The managed rules are now live for all customers, requiring no configuration, and target the specific request patterns used in php2shell exploits. Cloudflare urges PHP site owners to patch their servers while relying on the WAF as a stopgap.

## Key quote

> The php2shell vulnerability allows attackers to execute arbitrary code on vulnerable PHP servers, and Cloudflare's new managed rules are designed to block these attacks before they reach your origin.

## HN discussion (22 comments)

### [CrimsonRain](<https://news.ycombinator.com/item?id=50184974>)

> Thank you cloudflare. This single action would save millions of websites from getting pwnd

### [mentalgear](<https://news.ycombinator.com/item?id=50183262>)

> As big a fan of open software as I am, the combinations of open-weight LLM models that are capable of e2e cyber-penetration (even by actors that might just put in the compute and prompt it: "make me money") and the current mitigations that let those entities, that already hold too much data and power (political, infrastructure, etc), expand to become the eventual gatekeepers of the "open internet", is highly worrisome.
>
> If you have ideas for how we can adjust to this safely and with an eventual more equal distribution of power, please do share.

### [Melatonic](<https://news.ycombinator.com/item?id=50184920>)

> For anybody running Crowdtrike are there any downsides to enabling the Linux sensor settings for "Enhanced PHP visibility" ?
>
> Edit: may have gotten Cloudflare and Crowdstrike mixed up but might as well leave this up

---

## Cite

- Page: https://zeli.app/story/50181326
- Date: 2026-10-21
- Source: blog.cloudflare.com (https://blog.cloudflare.com/php-vulnerabilities-waf-protection/)
- Hacker News: https://news.ycombinator.com/item?id=50181326

## Other languages

- zh: https://zeli.app/zh/story/50181326 · markdown: https://zeli.app/zh/story/50181326.md
- ja: https://zeli.app/ja/story/50181326 · markdown: https://zeli.app/ja/story/50181326.md
- ko: https://zeli.app/ko/story/50181326 · markdown: https://zeli.app/ko/story/50181326.md
- de: https://zeli.app/de/story/50181326 · markdown: https://zeli.app/de/story/50181326.md
- es: https://zeli.app/es/story/50181326 · markdown: https://zeli.app/es/story/50181326.md
- ru: https://zeli.app/ru/story/50181326 · markdown: https://zeli.app/ru/story/50181326.md
