PHP2Shell: AI uncovers critical RCE in PHP

(wiz.io)

129 points | by danlark1 1 hour ago

8 comments

  • edh649 16 minutes ago
    Seems to have been prompted from research by calif.io who started disclosure on August 11 vs Wiz on August 24th? A bit unclear on the participants and how they all interacted... https://calif.io/php2shell/
    • geerlingguy 8 minutes ago
      One pattern of AI-assisted writing I hate is that technical articles now read as Atlantic journalistic tech-noir stories, which require scrolling through 20+ pages of content to get to the meat of a post.
  • Topfi 23 minutes ago
    Can anyone explain the two month window between reporting and disclosure? I do understand Responsible Disclosure as a concept, but looking at the timeline and severity, I struggle to understand the timing, especially the month that passed before an acknowledgment.

    Edit: Apparently this had been reported more than half a decade ago [0]. I am getting more confused the more I look into this, hopeful for a well written, factual post-mortem from someone who hasn't actively avoided PHP for the last decade.

    [0] https://news.ycombinator.com/item?id=50181395

    • phoronixrly 21 minutes ago
      Can anyone explain the lack of the irresponsible disclosure in the 'Responsible' disclosure timeline? The one that happened just before the coordinated release?
  • asbv-1qq 28 minutes ago
    The flaw was in at least 20 year old code, which seems to be a common theme for AI discoveries.

    No compute costs for finding the issue or for writing the exploit are disclosed.

    But it is marketed as if it were the first RCE found in human history.

    • pixl97 2 minutes ago
      Eh, it's an RCE that's been around forever and runs on a pretty large number of websites. Worse a lot of businesses have things like wordpress sites so one of those getting compromised is a foot in the door allowing movement into the more protected areas of the network.

      So yea, it's a big deal.

    • chrisvenum 20 minutes ago
      [dead]
  • tchalla 34 minutes ago
    > We used Wiz Atlas, Gemini 4 Argon and GPT-5.6 Sol throughout this research. Notably, Gemini 4 Argon made an invaluable contribution to finding the vulnerability, exploit development, attack detection, and validation of the patch.
    • krelian 28 minutes ago
      First the product they sell, then the product they got early access too...

      I know they waited two months with this but wouldn't it be wiser to wait just a little bit more than a few minutes after the fix released?

      • NoahZuniga 24 minutes ago
        Wiz is a google company...
    • evandena 32 minutes ago
      a little self promotion there :P
  • pettijohn 40 minutes ago
    Silly question, is PHP part of Project Glasswing? Crazy this has been dormant for a decade. And scary to wonder what else is lurking out there.
    • Maxious 36 minutes ago
      The OpenAI post linked says Sol assisted https://openai.com/index/coordinated-disclosure-of-critical-... and they invite more open source projects to apply to their program https://patchtheplanet.org/
    • rs999gti 34 minutes ago
      Lots of stuff is PHP e.g. most message boards. It was very popular pre-dynamic web.
      • apocalyptic0n3 2 minutes ago
        It's still the most widely used server side language on the web thanks to WordPress, unless that has changed recently (it was dropping)
      • whycome 17 minutes ago
        It’s still popular af. Almost half of any cms site online is powered by Wordpress. Many sales sites use woocommerce (Wordpress plugin). Message boards for sure (phpbb!). Moodle and other similar learning management tools run on PHP. Other cms systems like drupal and joomla make up another big portion of cms installs. I think the custom Wikipedia (mediawiki?) is php.
      • dd8601fn 31 minutes ago
        I just got a nostalgia hit remembering all the phpBB type boards.

        But also I haven’t seen much of that style of bulletin boards in ages. Maybe the occasional EEVBlog or Ars kinda count?

        • bombcar 16 minutes ago
          phpBB, vbulletin, and XenForo still power more than you might realize - often websites that still have comments are using one of those as a back-end, even if you can't access it directly.
          • rkozik1989 11 minutes ago
            How dare your forget PHPnuke.
  • sehw 39 minutes ago
    Ye, no humans but "AI".
    • dewey 33 minutes ago
      Grinding through abandoned source code in hopes of finding a vulnerability isn't exactly the most fulfilling work for many, perfect use case for AI which doesn't sleep.
    • dspillett 16 minutes ago
      Apparently both bugs had been reported previously, pre-AI, if so some important questions need to be asked about how those reports slipped through without a fix.
    • 743947630229 37 minutes ago
      [dead]
  • simonw 28 minutes ago
    Timeline from that article:

    August 19, 2026: Wiz Research discovers the first PHP vulnerability using Wiz Atlas, Gemini 4 Argon, and GPT-5.6 Sol.

    August 20, 2026: Unauthenticated RCE is confirmed against Drupal.

    August 21, 2026: Unauthenticated RCE is confirmed against WordPress.

    August 24, 2026: Wiz Research reports the vulnerabilities to the PHP security team.

    September 21, 2026: PHP acknowledges the reports and begins developing a coordinated fix.

    October 21, 2026: Patched PHP releases become available.

    October 21, 2026: Public disclosure.

    I want to understand how it leaked. I guess a whole lot of people were looped in between September 21 and October 21?

    • mjr00 11 minutes ago
      > I want to understand how it leaked. I guess a whole lot of people were looped in between September 21 and October 21?

      Yes. I was at AWS when Spectre and Meltdown were discovered, and we received approximately a month of advance notice and put together teams to apply mitigations. The work of the team was on a need-to-know basis--even team members' managers only knew they were pulled onto a critical project, not what the specific project was. But there were still 30+ people in the company who knew, and that was just one company (I'm guessing Google/Azure/other cloud providers got similar advance notice).

      Now, this is a much wider scale vulnerability, in the sense that Spectre/Meltdown primarily impacted cloud providers, but this attack impacts literally anyone who runs PHP. Dozens, if not hundreds, of companies likely got advance notice that a patch needed to be installed. In those companies there are teams of people applying those patches. All it takes is one of them who wants 15 minutes of internet fame to leak the details.

      • geerlingguy 6 minutes ago
        Even some smaller vulnerabilities are spread through hosting companies pretty quickly within a day or two prior to public release, to give teams time to make sure staff will be ready to patch immediately.

        The wider the pre-release news spreads, the more chance you get someone who will spill the beans (intentionally or not).

    • Good4boothee 8 minutes ago
      > I want to understand how it leaked

      If I understand correctly someone showed off a video of exploit in action - just like the ones included in article - and the visible messages were enough for other LLM users to discover the exploited bug.

    • bombcar 14 minutes ago
      Two months is way too long for this, and the people involved seem to not know the "way" to do this - it shouldn't have taken a month from "reports" to "PHP acknowledges" which smells like "we sent an email or filled out a web form" when the ACTUAL reporting mechanism is "we talked to our friends at <MAJOR DISTRO> or <WORDPRESS> who called the right people and a patch is being slipped in."
    • its606 9 minutes ago
      It would have been nice if there had been time for downstream distributors to patch as well.
    • projektfu 24 minutes ago
      Simon, it seems you spend too much time close to the AIs and your writing is getting flagged.
  • chinathrow 25 minutes ago
    [dead]