Forgot your password?
typodupeerror
PHP The Internet Technology

Government Websites Go Dark After Severe PHP Vulnerabilities Disclosed (the-independent.com) 58

"PHP disclosed two critical vulnerabilities in their programming language and urged web site operators to immediately apply the fix," writes longtime Slashdot reader smooth wombat. "As a result, government web sites in Europe and elsewhere temporarily went dark on Wednesday as operators worked to protect their systems." The Independent reports: Dane Knecht, the chief technology officer of Web and cloud security firm Cloudflare, said that attacks were emerging and Cloudflare was updating its firewall rules as a stopgap measure. "We are seeing early attacks emerging and are updating mitigations as new vectors show up. This is a STOPGAP only. Patch as soon as PHP releases the update," he said on X.

Officials have said that all PHP versions from PHP 5 onward could be affected, although PHP has not yet disclosed which versions are vulnerable.
Special thanks to Slashdot readers Alain Williams and mrspoonsi for sharing this critical PHP security release.

For more details, read the official PHP announcement and guidance on what to do next.

Government Websites Go Dark After Severe PHP Vulnerabilities Disclosed

Comments Filter:
  • by TheSpinningBrain ( 998202 ) on Wednesday October 21, 2026 @01:04PM (#66386502)
    I hope that this gets patched soon so that I can continue browsing my favorite government websites.
    • You can still browse them, but a few of them may be defaced for a while.
    • Re:Get Well Soon (Score:5, Insightful)

      by OffTheLip ( 636691 ) on Wednesday October 21, 2026 @01:13PM (#66386514)
      I assume your comment was sarcasm but several US government sites are very active now as Medicare open enrollment has started and the ACA federal sites as well. Many citizens depend on these sites as well as others. The European sites likely have similar importance.
    • by tlhIngan ( 30335 )

      I hope that this gets patched soon so that I can continue browsing my favorite government websites.

      A large number of sites are down. Among more /. crowd would be GoG and Steam for the same reason.

      The only really good news is a lot of people are taking it seriously still and not just leaving something vulnerable up. Hopefully sites remaining down will alert others to update their PHP.

  • For more details.... (Score:3, Informative)

    by SoCalChris ( 573049 ) on Wednesday October 21, 2026 @01:22PM (#66386532) Journal

    Read the prior story that was posted to the front page just prior to this one.

    Good jorb, editors. In a crazy world like we're living in now, it's reassuring to know that some things like slashdot editors not reading the site will never change.

  • by Creepy ( 93888 ) on Wednesday October 21, 2026 @01:38PM (#66386554) Journal

    The patch notes say both vulnerabilities will be fixed on Oct 26 unless it's seen in the wild before that.

    I've had trust issues with PHP using software since one piece I installed wanted to run web files root. Just no. Web server files are owned by the web user and can't touch anything else on the Raspberry Pi it runs on. That is not PHP though, just developers that don't think of security first using PHP.

    • by dskoll ( 99328 )

      Having Web server files owned by the web user is a security risk; if someone executes code as the web user, they can change those files.

      If the files are owned by root, then they can't be defaced by the web user.

      If you need to have writable files, then those should be in a separate directory that's not part of the WEBROOT.

      • This is hilarious. Most PHP sites have a database; please tell me how having read-only files solve the issue of being able to have unfettered access to the application database and assorted services. Or being able to run arbitrary code to e.g. participate in DoS attacks, or running proxies for malicious connections; Or being able to run a second-stage exploit to gain root in many, many systems (choose your cve).
        • Most sites don't store code in the db.

          Drupal used to let you do that but they took it out for security reasons.

          It's a much bigger deal if they can write PHP files and then run them, because that allows them to execute arbitrary code as the Web user.

        • by dskoll ( 99328 )

          I never said that having web files not owned by the web user makes your site secure. I just said that it's not a good idea to have files in the WEBROOT that are writable by the web user because that makes defacing a site or even running malware in clients' web browsers trivial.

          My personal web site uses PHP, but I don't use a database because the site is simple enough not to require one. I use PHP more-or-less as a templating engine to include standard boilerplate headers and footers on all of the pages.

    • by EvilSS ( 557649 )
      Someone jumped the gun and dropped the exploits and working code for them last night.
  • by CustomBuild ( 2891601 ) on Wednesday October 21, 2026 @01:53PM (#66386578)

    The detail that jumps out in PHP's advisory [php.net] is that the demonstrated mod_php exploit can trigger before any application code runs. Your application's login screen and carefully written input validation never get a vote. Under those circumstances, a PHP-generated "down for maintenance" page could still leave you exposed. Taking a site offline while sorting that out seems entirely reasonable. An outage is visible and embarrassing, which makes it easy to criticize. A compromised server might keep serving perfectly normal pages while somebody helps themselves to the data. The fixed releases are now available. What I'd want to hear afterward is how quickly each organization could identify its PHP installations and get the fixes deployed. If answering "where do we run this?" requires an emergency meeting and somebody's old spreadsheet, there's another problem waiting for the next advisory.

    • by Anonymous Coward
      I'm so glad an ex-employer of mine is safe from this horrible bug... they are still running their web-sites on PHP4.
  • Over 50% of the world's public government websites are hosted on Drupal, which is based on PHP.

    • Out of curiosity: How do you know? Did you pull that information out of your back side, or do you have a reference?
      • The claim that drupal powers 56% of government websites is repeated on a few sites. It seems to be from 2021. It doesn't have a credible source and seems to be false.

  • There has been an increase in reports of cyber attacks resulting in the leaking of customers' personal data here in Japan, just over the last month or so.

    The use of AI to both identify vulnerabilities and exploit them is presumably a period we need to go through, albeit painful. We come out the other side with more robust software.

    It's a bit like if all the world were suddenly compelled to go for a health check... with the addition of bad guys who go around infecting people that are now known to have weak i

  • I swear PHP and WordPress ha e been security nightmares forever. IMHO I would never use them for production applications that are internet facing.

Men take only their needs into consideration -- never their abilities. -- Napoleon Bonaparte

Working...