WHAT NEW IN X10.28 WED

AI collections from X · 22 collections · 58,924 posts

gemini-4IMAGE

PHP2Shell: Gemini 4 Argon and GPT-5.6 Sol independently reproduce PHP exploit

Security firm Calif used GPT-5.6 Sol and Wiz used Gemini 4 Argon to independently find and demonstrate a PHP 5.4+ memory-reuse vulnerability, with AI automating the memory-layout tuning that was previously manual.

情報の灯台
@joho_no_todaiArchived 2 days agoOriginally posted 2026.10.25
PHP2Shell: Gemini 4 Argon and GPT-5.6 Sol independently reproduce PHP exploit (image 1 of 2)
PHP2Shell: Gemini 4 Argon and GPT-5.6 Sol independently reproduce PHP exploit (image 2 of 2)
情報の灯台 @joho_no_todaiOriginally posted 2026.10.25
Open original on X

PHP2Shellの核心は「なぜ20年間バグが残り続けたか」にある PHPはリクエストごとにメモリを確保し、終わったら解放する。 メモリ上限に達して処理が中断すると、使い終わったはずのメモリ領域を指すポインタが残る。 次のリクエストがその残骸を正規データとして読み、サーバーを乗っ取る。 概念は2004年から知られていた。 難しかったのは実際の攻撃に組み立てること。 メモリ配置がPHPバージョン・設定・アプリで変わるため、手作業での調整が非現実的だった。 AIがその調整を自動化した。 セキュリティ企業Calif社がGPT-5.6 SolでWiz社がGemini 4 Argonでそれぞれ独立して同じバグを発見・実証している。 PHP 5.4以降の全バージョンが対象。 修正版は公開済みだが、8.1以前はサポート終了でソースパッチのみ提供されている。 https://joho-todai.com/php-2shell-vulnerability-ai-discovery/

This post quotes another post: x.com/joho_no_todai/status/2113791820706803961

x.com/joho_no_todai/status/2114278318803742896Archived 2026.10.26 10:01