Unofficial Hacker News companion — get notified on comment replies, and more.

Elephant in the Server Room: >50% of WordPress Sites Run PHP That's EOL by Jan (opens external site)

284 points by xadz 3 days ago | adamgreenough.net | 132 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (11)

  1. "You have nothing to worry about for a couple years"

    have you heard of php2shell for instance? The problem is they don't offer patches to < PHP 8.

    I think the only way that's true is if you install a proxy like https://github.com/Qbix/proxy - and even that doesn't protect you from the latest vulnerabilities discovered in e.g. PHP's backtrace for fatal errors.

    Replies (4)
    1. Shared host wordpress installs are hardened as if the www-data user is already compromised so even if it's hacked it can't do anything.
      Replies (1)
      1. Really? :)
        Replies (1)
        1. Yes that's the absolute first thing a mutual host does.
          Replies (1)
          1. > so even if it's hacked it can't do anything

            This is what my comment is about. Hardening your server is the bare minimum you need to do today, and most certainly does not mean that you are safe.

    2. Pretty sure they had patches for 7.4 and some other versions for php2shell.
      Replies (1)
      1. The php team had an official 7.4 patch, yes. That was the only 7 or older version, that got an official patch by the php team, though. But it saved my beacon that day. Because it gave me the time to first patch php and then migrate an old application onto something more reasonable (needed to rewrite it, but reduced the complexity and the number of dependencies, so a net positive in my books).
    3. I had a fully patched version of _5.6_ within a few hours of disclosure. This thread is specifically about non-official support, it's weird to just... ignore that. Were you meaning to reply to a different thread on the same post?

      Oh, the post is a simple ego ad for a vibe coded mitigation that may or may not accomplish the stated goal, and may or may not introduce a fun new layer with fun new potential issues.

      Replies (1)
      1. Well, by that same logic, your ego 5.6 patch may or may not actually work, but thanks for telling us about it?

        I’d say making a proxy to help people and giving it away under MIT license is making the situation better for them than being totally exposed. But I’m happy for you tho that you’ve been able to patch your 5.6, your skills are impressive. Or sorry that happened.

        Replies (1)
        1. No, they likely got the fix from the vendor they use (e.g. RedHat).
    4. You can get the patched EOL versions right here, for example: https://github.com/remicollet/php-src-security

      All the way down to 5.6.