Security researcher James Pavur ran stealmybitcoin.com to test the real-world exploitability of the PHP2Shell vulnerability. One skilled attacker succeeded, but tens of thousands of attempts yielded almost no success, suggesting the bug is real but not yet reliably weaponizable by inexpert users. By James Pavur.

He set up stealmybitcoin.com with a PHP site and a bitcoin wallet key to test claims around the PHP2Shell vulnerability reported by the New York Times. The experiment aimed to answer whether the bug is exploitable outside a lab and whether relatively unskilled attackers with AI assistance could use it.

The article describes:

  • Real-world test confirms PHP2Shell is exploitable outside lab
  • Success requires tailored exploit for specific PHP configuration
  • AI-assisted attackers still struggle to reliably weaponize difficult CVE
  • Patching remains urgent for PHP sites

The challenge winner exploited the server directly over an open internet connection using PHP2Shell, targeting the specific PHP configuration. Only two IPs triggered the print-flag executable, and only one exfiltrated useful content, despite tens of thousands of attempts during the nine-hour window after the first successful solve. Pavur notes that the vulnerability is real and that a sufficiently motivated adversary with AI help can hack a website without direct memory access, but the success rate remains extremely low.

The timeline shows the challenge starting 24 Oct 20:30 UTC, with the first successful print-flag execution at 25 Oct 15:47 UTC, followed by validation and announcement later that day. Pavur concludes that PHP-based sites should patch immediately and expects more general exploit chains over coming months. He also observes that AI-assisted exploitation is advancing but not yet able to turn a difficult CVE like PHP2Shell into a reliable attack tool for inexpert users. Nice one!

[Read More]

Tags security-and-privacy backend-development software-engineering