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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2026-119977-Toolkit — Red/blue team toolkit for CVE-2026-119977 WordPress core upgrade-window RCE: version triage, WAF origin discovery, race oracle, staged wp-config takeover and Bait MySQL proof. | Kitploit
ツール/GitHubGitHub/tc4dy/cve-2026-119977-toolkit
Defensive ToolsReconnaissanceWeb Vulnerability ScannersVulnerability AnalysisExploitationWeb Application ExploitationPost-ExploitationWAF BypassPenetration TestingRed TeamingPayload Development
7113日前未レビュー
共有
GitHub
tc4dy/cve-2026-119977-toolkit

CVE-2026-119977-Toolkit

Red/blue team toolkit for CVE-2026-119977 WordPress core upgrade-window RCE: version triage, WAF origin discovery, race oracle, staged wp-config takeover and Bait MySQL proof.

リポジトリを見る
要求された言語のコンテンツは利用できません。英語版を表示しています。

CVE-2026-119977 – WordPress Core Upgrade-Window RCE Toolkit

CI Python 3.8+ CVSS Zero Deps Red/Blue

Ethical Use Only – Authorized Tested
This repository provides tools for authorized security professionals, blue teams, and penetration testers only.
Unauthorized access to computer systems is illegal under CFAA (US), Computer Misuse Act (UK), TCK 243/244 (Turkey), and similar laws worldwide.


CVEPoC

[*] Vulnerability Overview

CVE-2026-119977 is a use-after-free in the Linux kernel's IPv4 TCP stack... no, wait. It is a TOCTOU race condition in WordPress Core versions 4.7.0 through 7.1.3. During a full-package core update, WordPress unpacks the new release into a predictable, web-accessible staging directory under wp-content/upgrade/. Because update_core() does not skip wp-config.php when copying the staged tree to the live root, an unauthenticated attacker who reaches the staged installer inside the update window can plant an attacker-controlled wp-config.php that replaces the live one.

How it works

  1. Predictable staging directory – WP_Upgrader::unpack_package() derives the working directory from the package basename, which is wordpress-<version>.
  2. Staged installer reachable – the staged tree contains wp-admin/setup-config.php, which runs without the live wp-config.php.
  3. Config write – an unauthenticated attacker drives setup-config.php?step=2 with database credentials they control. WordPress writes wp-config.php into the staged tree.
  4. Promotion – update_core() copies the staged tree into ABSPATH. Before 7.1.4, wp-config.php was not in the skip list, so the attacker-written config replaces the live one.
  5. Impact – the live site now loads an attacker-controlled wp-config.php. Pointing DB_HOST at an endpoint the attacker owns yields full configuration takeover and code execution through the theme editor.

The upstream fix is in WordPress 7.1.4 (backported to 4.7): the staging name includes a 16-char random suffix, wp-content/upgrade/index.php is written and preserved, and wp-config.php is added to the update_core() skip list. IPv6 is not related; that was the other CVE.

Affected Versions

  • WordPress Core – 4.7.0 through 7.1.3
  • Fixed in – 7.1.4 and later, plus the 7.1.4 backport for older branches
  • CISA KEV – added 2026-11-03
  • CVSS – 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)

Patch

  • Upgrade to WordPress 7.1.4 or later.
  • If upgrade is not possible:
    • Block wp-content/upgrade/ at the web server.
    • Disable automatic background updates until patched.
    • Monitor inbound HTTP requests for wp-content/upgrade/.

[</>] Tools

ToolPurposeIntended User
exploit.pyRed team toolkit. Fingerprints WordPress, discovers origin behind CDNs, watches for the upgrade window, races the staged config write, proves promotion via a Bait MySQL server, optionally creates an admin account and deploys a mu-plugin shell. Includes SOCKS5 proxy pool, rate limiter, state file, and retry loop.Red teams / authorized pentesters
safecheck.pyNon-intrusive local triage. Grades a WordPress version against the fixed release for its branch. Reads wp-includes/version.php from a local install, a version file, or a JSON inventory. Never sends a network request.Blue teams / security auditors

[>] Feature Matrix

Featureexploit.pysafecheck.py
WordPress version fingerprint[+][+]
Local version triage[-][+]
WAF detection[+][-]
Origin discovery behind CDN[+][-]
Upgrade-window race oracle[+][-]
Staged config write[+][-]
Bait MySQL promotion proof[+][-]
Admin creation via attacker DB[+][-]
mu-plugin shell deploy[+][-]
Log cleanup[+][-]
SOCKS5 proxy pool with circuit breaker[+][-]
Rate limiter[+][-]
State file for resume[+][-]
Retry with backoff[+][-]
HTTP/2 single-packet race[+][-]
JSON inventory input[-][+]
JSON / JSONL / CSV output[+][+]
Async, zero-dependency runtime[+][+]

[/] Installation

git clone https://github.com/tc4dy/CVE-2026-119977-PoC-Exploit
cd CVE-2026-119977-PoC-Exploit/tools/
pip install -r requirements.txt

requirements.txt

requests

#optional
httpx
pymysql
passlib
h2spacex

Note: only httpx is required for the core exploit path. pymysql enables the real-database admin creation path. passlib produces a WordPress-compatible phpass hash. h2spacex enables the HTTP/2 single-packet race. The tool falls back gracefully when any of them is missing.


[>_] Usage

python exploit.py -t https://blog.example --authorized

Without flags, both tools print their help. exploit.py refuses to run without --authorized.

exploit.py flags

FlagDescription
-t, --targetTarget URL
--authorizedConfirm authorized testing (required)
--modecheck, watch, or exploit (default: exploit)
--race-modehttpx or single (HTTP/2 single-packet)
--db-hostDB_HOST to plant in the staged config
--db-portDB port
--db-nameDatabase name
--db-userDatabase user
--db-passDatabase password
--workersConcurrent window pollers (default: 16)
--threadsConcurrent race POSTs (default: 32)
--timeoutHTTP timeout (default: 8.0)
--rateRequests per second (default: 20.0)
--durationWindow watch duration (default: 3600)
--retryRetry attempts (default: 3)
--pathForced staging directory name
--state-fileResume state file
--log-fileDebug log file
--proxy-fileSOCKS5 proxy list
--cleanupRemove the created admin and wipe logs
--bait-portBind a Bait MySQL server and wait for promotion
--deploy-shellDeploy a mu-plugin shell after login
--versionsCandidate staging names
--upgrade-pathWeb path of the upgrade dir
--distro-dirTop-level directory inside the package
--no-colorDisable ANSI colors

safecheck.py flags

FlagDescription
--versionWordPress version string
--version-filePath to wp-includes/version.php
--wp-rootPath to a WordPress install
--inventory-jsonJSON list of site entries
--upgrade-exposedMark wp-content/upgrade as web-accessible
--upgrade-blockedMark wp-content/upgrade as blocked
--auto-updates-offMark automatic updates as off
--jsonMachine-readable output
--listPrint the fixed table

[>] Scenarios

ツールをダウンロード

人気

すべて見る →

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

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 究極のOSINTツールキット:調査グラフ、信頼度スコアリング、エイリアスファミリー、マップ、タイムライン、レポート。49個のモジュール、400以上のサイト、APIキー不要。

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock ワンタップ実行アプリ(CVE-2026-43499)

    593
  • 3

    looking-glass

    anonghosty/looking-glass

    ShadowserverレポートをMongoDBに取り込み、インタラクティブなマップ、分析、調査結果、アドバイザリ、エグゼクティブダッシュボードとして再生するCSIRTプラットフォーム。

    371
  • 4

    redforge

    cybersecurity91/redforge

    ブラウザ側のレッドチームツールキット。偵察、ペイロード生成、認証情報攻撃、暗号、エンコーディング、エンゲージメントレポート向けの102のオフラインツールを備えています。

    336
  • 5

    ARTEX

    baarai/artex

    プランナー/ワーカーエージェント、資産グラフと探索グラフ、MITMトラフィック記録、脆弱性の再テストを備えたLLMマルチエージェント自律ペネトレーションテストプラットフォーム。

    326
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AIネイティブなサイバーセキュリティのためのアクションシステム。意図がガバナンスされた実行に変わり、証拠が運用記憶となり、すべての操作が次の操作を改善する。

    322

すべてのツールを探索

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

すべてのツールを見る →