logoalt Hacker News

cookiengineer • yesterday at 9:43 PM • 2 replies • view on HN

My PoC (generated) was able to exploit an index.php with a simple echo.

The only thing you have to know in advance is the relative memory offset distances, and that's it. Memory feng shui was the longest part of the implementation.

[1] https://github.com/cookiengineer/actual-php2shell


Replies

cluckindan • yesterday at 11:40 PM

Did you even read the diff, it synthesized intentionally vulnerable code which trivializes the exploitability

➕ show 2 replies
Onavo • yesterday at 9:55 PM

Try finding a modern Linux distro without ASLR enabled defaults.

➕ show 1 reply