---
title: "Discussion on \"PHP2Shell: The Decade Old Flaw Behind 70% of the Web \" | Hashnode"
description: "Discussion on \"PHP2Shell: The Decade Old Flaw Behind 70% of the Web \". Two critical CVEs, one root cause, and what it means for anyone running PHP"
url: "https://hashnode.com/posts/php2shell-the-decade-old-flaw-behind-70-of-the-web/6adadba3a48cd2e249e9745a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [PHP2Shell: The Decade Old Flaw Behind 70% of the Web](https://ayeshakoder.hashnode.dev/php2shell-the-decade-old-flaw-behind-70-of-the-web?utm_source=hashnode&utm_medium=feed)

Two critical CVEs, one root cause, and what it means for anyone running PHP

Oct 23 · 8 min read · ayeshakoder.hashnode.dev  
Read the article

-   [#security](https://hashnode.com/tag/security)
-   [#php](https://hashnode.com/tag/php)
-   [#ai](https://hashnode.com/tag/ai)
-   [#vulnerability](https://hashnode.com/tag/vulnerability)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#wordpress](https://hashnode.com/tag/wordpress)
-   [#php2shell](https://hashnode.com/tag/php2shell)
-   [#openai](https://hashnode.com/tag/openai)

## Written by

[Ayesha Khan](https://hashnode.com/@ayeshakhalil)

@ayeshakhalil

  
[View profile](https://hashnode.com/@ayeshakhalil)

I build AI, then try to break it.

Computer engineering grad. I build cool stuff and write about it here mostly for myself, and for anyone else who's into the same rabbit holes. No polish, just what I actually learn while building.

## Responses 1

Markdown supported · ⌘↵ to post

[Rishabh Mishra](https://hashnode.com/@rushdeploy)

[Oct 23](https://hashnode.com/posts/php2shell-the-decade-old-flaw-behind-70-of-the-web/6adadba3a48cd2e249e9745a/comment/6adaf7b27ef20a4cd5d172b7)

Solid breakdown. The CLI-vs-web check is the detail most people will miss. For WordPress owners: the CMS update doesn't cover this — you need the host to patch the PHP runtime and restart PHP-FPM, then confirm the running version.
