8 comments

  • athrowaway3z1 hour ago
    &gt; A1 — Memory Exhaustion (~383MB):<p>I&#x27;m actually somewhat surprised at the clumsiness here.<p>I&#x27;m a complete amateur that had DeepSeek build a PHP2Shell exploit, and once the stealmybitcoin site went up and set an upload limit, i had DeepSeek try to shrink&#x2F;amplify it.<p>DeepSeek couldn&#x27;t find anything but a 2x reduction, but reading the report of how it was done - <a href="https:&#x2F;&#x2F;github.com&#x2F;KillaBoi&#x2F;StealMyBitcoin-PoC" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;KillaBoi&#x2F;StealMyBitcoin-PoC</a> - I was somewhat surprised it didn&#x27;t find it, and equally horrified at PHP allowing such a memory bomb of creating nested objects by parsing `f[0][x][x]...` from random requests.<p>Point being; these aren&#x27;t amateurs but i kind of expect most well funded pros to have found this method to avoid sending massive filenames and session progress data.
  • xxmarkuski50 minutes ago
    Dream is btw founded and led by Sebastian Kurz, who was head of the Austrian government. He had to step down because of a corruption scandal.
    • Topfi21 minutes ago
      For our US friend, as context, this is akin to Rudy Giuliani being a cybersecurity expert. Partly, because it simply never was Sebastian Kurzs area of expertise, mainly because the referenced corruption scandal centered around the use of Whatsapp to facilitate said corruption, so, you know...
    • cookiengineer48 minutes ago
      One of the three co-founders also founded NSO Group, and was developing the Pegasus malware.<p>Just for context, that is the type of evil we&#x27;re talking about here.<p>A German comedian made an episode about it [1]<p>[1] <a href="https:&#x2F;&#x2F;youtube.com&#x2F;watch?v=_PF23EdGNcE" rel="nofollow">https:&#x2F;&#x2F;youtube.com&#x2F;watch?v=_PF23EdGNcE</a>
  • bix66 minutes ago
    It sounds like multiple things were misconfigured on these servers and they still have access?!?
  • codegeek53 minutes ago
    I am confused. Is this attack possible even after the PHP patches OR these servers just didn&#x27;t patch ?
    • jdiff47 minutes ago
      &gt; The affected devices run specific versions of a large vendor’s firewall software.<p>And the vendor&#x27;s firewall software runs an unpatched version.
      • sznio18 minutes ago
        I bet it&#x27;s fortinet.
  • tamimio2 minutes ago
    Firewalls are likely fortinet
  • tensegrist1 hour ago
    perhaps i was wrong<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=50272530">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=50272530</a>
    • Vaushite1 hour ago
      Extremely wrong. I&#x27;m not sure how &quot;RCE on every PHP server, from anywhere on the internet, no other requirements&quot; could possibly be underblown by anyone. Exploiting the PHP request parser bypasses basically all security checks and it doesn&#x27;t matter how secure your code is because the exploitable component runs before your code and can&#x27;t be disabled.<p>I am very curious to hear why you thought it was overblown.<p>There was also that other guy who posted &quot;steal my bitcoin&quot; on a vulnerable PHP server with the private keys to prove it was overblown, and got his bitcoin stolen within a day.
      • jerf31 minutes ago
        &quot;There was also that other guy who posted &quot;steal my bitcoin&quot; on a vulnerable PHP server with the private keys to prove it was overblown, and got his bitcoin stolen within a day.&quot;<p>19 hours: <a href="https:&#x2F;&#x2F;stealmybitcoin.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;stealmybitcoin.com&#x2F;</a><p>Part of the confusion is that the initial PR for the release made it sound like there was a ready-to-go exploit that was just push button, get shell on any PHP server in the world. That turned out not to be the case, as evidenced by the fact that the number was 19 hours and not 19 minutes.<p>But the fact that it was 19 hours and not &quot;never&quot; also does provide a data point that everything that was vulnerable really was vulnerable, it just may not have been quite as vulnerable as it was initially presented. Still plenty vulnerable, of course.<p>My point here being that the initial 24 hours were very confusing and I think it&#x27;s worth remembering that and giving people grace for it. Even now, I&#x27;ve heard rumors of an exploit that does work on all boxes without making changes for a specific target but I&#x27;m not actually sure whether that exists or not. (Any further info welcome.)
        • NitpickLawyer29 minutes ago
          It&#x27;s not 19hours. The server was originally configured with no running php. Once they added a php file, the server got pwned in 2 hours.
        • cowlevel27 minutes ago
          Shutting down half the internet was the right move. If it took someone 19 hours to exploit a site, you&#x27;d better have shut it down before 19 hours and not after.<p>I don&#x27;t see what was confusing about the initial 24 hours. GP was correct, the description of the bug made it clear it was a very high risk.
        • beepbooptheory5 minutes ago
          Also, unless I am reading this wrong, it does not seem like what actually got the bitcoin was a 2shell-like exploit? Seems like memory corruption leading to printing out the flag through just http requests? How would you use this outside of a CTF context?<p><a href="https:&#x2F;&#x2F;github.com&#x2F;KillaBoi&#x2F;StealMyBitcoin-PoC" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;KillaBoi&#x2F;StealMyBitcoin-PoC</a>
      • 17186274401 hour ago
        &gt; I am very curious to hear why you thought it was overblown.<p>Not having made the claim (took down my website too), but because PHP is not connected directly to the network. While you cannot prevent PHP from being overtaken from inside the PHP program, you can prevent PHP being executed on malicious data by configuring the webserver. It&#x27;s overblown in the sense that it would be even more serious if the same happened in the webserver itself.
        • cowlevel27 minutes ago
          Can you? Initial suggestions to block multipart content-types were a red herring.
      • jstanley1 hour ago
        &gt; I&#x27;m not sure how &quot;RCE on every PHP server, from anywhere on the internet, no other requirements&quot; could possibly be underblown by anyone<p>It could be overblown if it&#x27;s not true. The amount of time it took for anyone to claim the Bitcoin from the supposedly-vulnerable PHP site convinced a lot of people that the vulnerability was not as bad as claimed.
        • tkz131258 minutes ago
          wasn&#x27;t it setup in an unexploitable configuration (not actually serving a php page IIRC?) for most of the time, and then got popped within like 2 hours once fixed?
          • lifeisloving51 minutes ago
            The point is, under normal configurations when you&#x27;re serving the PHP server correctly with table-stakes best practices the server is not exploitable<p>This was not a scary vuln at all.
            • cowlevel26 minutes ago
              Which best practices did you use to prevent exploitability?<p>And would you stake your bitcoin on it?
      • jrflo25 minutes ago
        I think it goes back to the huge amount of anti-AI sentiment that&#x27;s out there today. Any AI accomplishment gets undersold by haters, i.e. people maintaining that the Navier-Stokes solution was stolen, people saying that Lean proofs can&#x27;t be relied on, exploits like PHP2Shell are esoteric and not usable in the real-world, etc. Those are just comments I recall reading off the top of my head but I could find sources if anyone wants. I think it&#x27;s just a way for people to cope and fool themselves into thinking that this whole AI thing isn&#x27;t a big deal and will just blow over.
      • lifeisloving54 minutes ago
        Its overblown in the sense that 70% of the internet was not in fact vulnerable, as widely reported. And not everyone is a hackor because they have access to llms. Go look at normie coverage from people like Linus tech tips and you&#x27;ll see them saying how millions of servers were under attack by script kiddies with llms, amd how llms are so dangerous.<p>The whole thing was basically a psyop, whether intential or not idk but Califs research was funded in part by OpenAI so there&#x27;s that.
        • robby_w_g10 minutes ago
          I agree. There&#x27;s nuance to it. I believe the CVE was overblown, and I also believe that it is a severe vulnerability that should be addressed ASAP. 2 things can be true at once.<p>It was OpenAI&#x27;s marketing that hyped up the vulnerability to the point that guys on my hockey team saw it in the news and were asking about it. There doesn&#x27;t need to be mainstream articles about it, these kinds of vulnerabilities happen every year. Just patch and move on.
    • Topfi19 minutes ago
      Respect, hats off to reevaluate when presented with the info. Will fully admit, I myself lacked the ability to assess the true severity, mainly cause I try to stay away from PHP since my first encounter in sixth grade, so was going a bit back-and-forth due to what I was reading.<p>Mainly saw the severity in the economic impact of having to quickly patch so much, but taking offline being the right choice given the risk, along with of course all the decades old, never patches, blogs being botnet targets someday in the future, akin to Wordpress being commonly used for Ransomware hosting for similar reasons. And of course hopefully learning something from the timeline and leak for future disclosures. Feel things need to generally change from the status quo, barely has changed since the 2015 Google&#x2F;MSFT squabble...
    • rkozik19891 hour ago
      Yes, you were. These exploits are happening in processes like php-fpm before it actually executes any code for the web application, so its not like you need to find endpoint where a specific class is being invoked or anything like that.
    • aaomidi1 hour ago
      I commend you to having corrected your thoughts this publicly fwiw.<p>We need more of this.
  • jvandijk32 minutes ago
    Haha woopsie
  • lunargamma6761 hour ago
    Same here, though what stuck with me is that a firewall&#x27;s admin PHP page was reachable from the internet at all, keep that on a mgmt VLAN.
    • cowlevel25 minutes ago
      it probably starts with a correct and safe authorization check, but this vulnerability happens before any user code runs, so every PHP page is vulnerable.
      • bell-cot1 minute ago
        True-<i>ish</i>? If your firewall&#x27;s admin page is internet-accessible, you have no excuse for not doing &quot;bolted to bedrock&quot; lockdowns of your web server config and your PHP config. Either of which could have blocked exploitation of the PHP vuln.