PHP2Shell demonstrates how a use-after-free vulnerability can be weaponized into a working memory exploit, allowing attackers to redirect execution by relying on predictable memory locations.
In this video, we examine the results of testing a working PHP2Shell exploit against software with and without RunSafe Protect. Without protection, the exploit succeeded in all 10 attempts. With RunSafe Protect enabled, all 10 exploit attempts failed at the first gadget in the attack chain.
Through load-time function randomization, RunSafe Protect changes where code resides in memory, disrupting the predictable memory layout that exploits depend on without requiring source code changes.
While patching remains essential, these results demonstrate the value of runtime protection as an additional layer of defense, helping organizations protect critical software while underlying vulnerabilities are addressed.

