Researcher wins Bitcoin bounty by exploiting PHP RCE in under 20 hours

A challenge put 0.025 BTC on an unpatched PHP server. Researcher KillaBoi achieved remote code execution and claimed the win in 19.28 hours.

A weathered wooden treasure chest with gold trim sits on a grey stone block
AI illustration

A public challenge built to test whether a PHP remote code execution bug works outside a lab setting was won in less than a day. The organizer placed 0.025 BTC on an unpatched server at stealmybitcoin.com and invited anyone to take it. A researcher using the handle KillaBoi broke in and proved code execution 19.28 hours after the challenge opened.

The challenge

The premise was simple: run a vulnerable PHP server in the open, put real money on it, and see whether the exploit holds up against a live target rather than a controlled test environment. The prize was held in a Bitcoin wallet tied to the server.

According to the challenge site, the win was recorded on 25 October 2026 at 15:47 UTC. At that moment the prize pot stood at 0.02511679 BTC, worth $2,021.22. The site now states that there is no bitcoin left on the server and that more challenges may appear in the future.

How the exploit worked

The attack chained several steps:

  • Memory exhaustion during session handling. The researcher caused PHP to run out of memory while it was processing a session.
  • Address leak through the cookie. That condition was used to leak memory addresses back to the attacker via the cookie.
  • Fake PHP structure. With the leaked addresses, the researcher built a forged internal PHP structure in memory.
  • Call to system(). Finally, the PHP process was steered into calling system(), giving command execution on the server.

The chain shows a familiar pattern for memory corruption exploits: first gain an information leak to defeat address randomization, then use it to craft fake objects that redirect execution. KillaBoi has published a proof of concept and writeup on GitHub under the repository StealMyBitcoin-PoC.

A key that did not match

There was one twist. The private key the researcher pulled back from the server did not match the prize wallet. The mismatch came from a mistake by the challenge creator, not from a flaw in the exploit. Since the researcher had clearly demonstrated code execution, the organizer confirmed the win anyway. The organizer has also published a blog post about the experience of hosting the challenge.

Why it matters

Bug reports and lab demonstrations do not always convince administrators to patch quickly. A live server with money attached is a more direct test. In this case, a single researcher turned the vulnerability into working remote code execution in under 20 hours, against a target that anyone on the internet could reach.

For anyone still running unpatched PHP, the result is a practical data point: the exploit path is public, it has been demonstrated on a real host, and it ends with arbitrary command execution.

Key takeaways

  • A researcher known as KillaBoi exploited an unpatched PHP server and proved code execution in 19.28 hours.
  • The exploit chained session memory exhaustion, a cookie based address leak, a forged PHP structure and a call to system().
  • The recovered private key did not match the prize wallet due to an organizer error, but the win was confirmed.
  • A public proof of concept is available, so unpatched PHP servers should be updated without delay.