NewsCrawler.org

How PHP 7.4 sites were protected from php2shell without shutting down

How PHP 7.4 sites were protected from php2shell without shutting down
深夜のサーバールームで、エンジニアの前に立つ光の盾が赤い攻撃をはじき返し、サーバーは緑のランプのまま動き続けている
赤い小包を抱えたロボットが、矢印の案内標識に従って回り道をするうちに、小包を道に落としてしまっている
Image: qiita.com

What happened next

  1. PHP2Shell: no successful attacks seen so far, exposed vulnerable machines down 67%
  2. PHP Foundation has one full-time employee; 73% of installs are past end-of-life
  3. PHP2Shell: overlapping discovery claims from Quarkslab, Calif, Wiz, OpenAI, Google
  4. PHP2Shell: two PHP remote code execution bugs fixed, PHP since 5.4 affected
  5. PHP Foundation runs on one full-time employee while PHP may power up to 70% of websites

The whole story · 6 →

On the night of October 21, 2026, the author’s sites were running PHP 7.4, which was not covered by the official patched versions for the two vulnerabilities known as php2shell[1]. The author kept the sites online by disabling `session.upload_progress.enabled` and configuring a WAF[2] to block multipart/form-data[3] requests outside the admin hosts. The setting was applied one server at a time after removing each from the ALB, and monitoring requests continued to return 200. A configuration error initially left the WAF rule ineffective; the author corrected it and verified that test requests returned 403. Attacks from five IP addresses were then blocked, and read-only checks found no signs of intrusion or tampering on the servers running php-fpm[4].

Read the original qiita.com

Sources

  • Qiita JA

    PHP脆弱性php2shell対応、7.4本番を止めずに守った夜と実際の攻撃

    219 likes147 saves0 commentsReactions: 0

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

Open as a page