# php2shell in Practice: Exploitable, Conditional, and Hard to Mass-Exploit

DevFeed: [php2shell in Practice: Exploitable, Conditional, and Hard to Mass-Exploit](<https://devfeed.tech/articles/php2shell-in-practice-exploitable-conditional-and-hard-to-mass-exploit-102820.md>)

Original publisher: [Read original article](<https://www.praetorian.com/blog/php2shell/>)

Author: Michelle Rhodes

Published: 2026-10-27T19:31:40Z

Content type: article

Language: en

Sources: [Praetorian](<https://devfeed.tech/sources/praetorian.md>)

Topics: [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [Cybersecurity](<https://devfeed.tech/topics/cybersecurity.md>), [LLM security](<https://devfeed.tech/topics/llm-security.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [64-bit](<https://devfeed.tech/tags/64-bit.md>), [access-tokens](<https://devfeed.tech/tags/access-tokens.md>), [admin](<https://devfeed.tech/tags/admin.md>), [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-offensive-security](<https://devfeed.tech/tags/ai-offensive-security.md>), [auth](<https://devfeed.tech/tags/auth.md>), [calif](<https://devfeed.tech/tags/calif.md>), [conditional](<https://devfeed.tech/tags/conditional.md>), [core](<https://devfeed.tech/tags/core.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2026-109618](<https://devfeed.tech/tags/cve-2026-109618.md>), [cve-2026-109619](<https://devfeed.tech/tags/cve-2026-109619.md>), [disclosure](<https://devfeed.tech/tags/disclosure.md>), [exploit](<https://devfeed.tech/tags/exploit.md>), [exploit-development](<https://devfeed.tech/tags/exploit-development.md>), [october](<https://devfeed.tech/tags/october.md>), [offensive-security](<https://devfeed.tech/tags/offensive-security.md>), [php](<https://devfeed.tech/tags/php.md>), [php2shell](<https://devfeed.tech/tags/php2shell.md>), [rce](<https://devfeed.tech/tags/rce.md>), [red-team](<https://devfeed.tech/tags/red-team.md>), [remote-code-execution](<https://devfeed.tech/tags/remote-code-execution.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [vulnerability-research](<https://devfeed.tech/tags/vulnerability-research.md>)

## AI overview

Praetorian reports that php2shell can yield remote code execution, but its tested mod_php path is highly conditional and unlikely to support easy, reliable mass exploitation. Attackers need a heap pointer leak to bypass ASLR, build-specific offsets, precise heap control, and two requests handled by the same worker; target configuration such as memory_limit also affects exploitability. display_errors=On makes the leak easier, but the authors found no live customer phpinfo hosts with that setting. With display_errors=Off, triggering an out-of-memory condition at a narrow point requires extensive heap tuning. Exposed phpinfo pages can reveal version, build, architecture, handler, and configuration details that reduce attacker guesswork; the authors recommend removing them. The analysis focuses on mod_php; the PHP-FPM serializer variant was not fully analyzed, and practical exploitability of PHP 5.6.40 remained unresolved. The authors describe LLMs as useful for codebase navigation and heap debugging, but prone to cheating and unsupported claims, requiring knowledgeable human oversight.

## Source excerpt

Cutting Through the php2shell Noise On October 20, details of php2shell, two pre-auth RCE vulnerabilities in the PHP core discovered by Calif (CVE-2026-109618 and CVE-2026-109619), leaked ahead of coordinated disclosure. Advisories listing affected versions followed quickly, along with a flood of PoCs, many AI-generated and non-functional. We waited until we had our own data. This [...] The post php2shell in Practice: Exploitable, Conditional, and Hard to Mass-Exploit appeared first on Praetorian.