NewsCrawler.org

Observations from Running stealmybitcoin.com

Screenshot of the challenge landing page
Image: pavursec.com

What happened next

  1. PHP2Shell: AI is forcing developers to pay off 40 years of technical debt

The whole story · 2 →

After press reports claimed that the PHP2Shell[1] vulnerability let attackers achieve arbitrary remote code execution on PHP services with a few unauthenticated web requests, the author ran a live experiment to answer two questions: whether the vulnerability was exploitable outside a lab environment, and whether relatively unskilled attackers with access to AI and the PHP source code could exploit this class of vulnerability. They put $500 of bitcoin in a clean wallet on a $2.50/month Debian VPS, had Codex generate a basic PHP webpage, and gave a single binary called print-flag permission to read a file containing the wallet key in WIF[2] form, then posted the challenge to Hacker News with the firewall down.

The link climbed to the front page of Hacker News and stayed there for roughly a day, and the VPS had to be scaled from 1 vCPU, 500 MB RAM and 10GB of disk to 2 vCPU, 4096 MB RAM and 80 GB of SSD. The hosting provider took the site down twice: once on suspicion of a Distributed Denial of Service attack and once because of an “excessive” CPU resource utilization profile. The author had expected a low-traffic honeypot[3] that automated scanners would eventually drain, not this level of attention.

During the 10 hours with reliable web request logging, around 20,000 unique IP addresses engaged with the challenge in a substantive way, around 120,000 distinct source IPs visited the site, and the server received more than 13 million HTTP requests, peaking at over 18,000 requests a minute. Over roughly 26 hours of PHP error logs, about 2,075 distinct PHP SIGSEGV[4] events were recorded, but only two IPs managed to trigger the print-flag binary, and only one — the challenge winner — extracted useful data from the server, using the PHP2Shell vulnerability itself over an open internet connection. The answer to the second question was that relatively unskilled attackers cannot yet exploit this class of vulnerability, though some critics argued the server was unexploitable in the first place.

Read the original pavursec.comDiscussion

Sources

Published: First seen: Читать по-русски

Open as a page