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.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # GhostLock 원탭 실행 앱 (CVE-2026-43499)

    601
  • 3

    looking-glass

    anonghosty/looking-glass

    Shadowserver 보고서를 MongoDB로 수집하고 이를 대화형 지도, 분석, 발견 사항, 권고 및 경영진 대시보드로 재생하는 CSIRT 플랫폼입니다.

    403
  • 4

    ARTEX

    baarai/artex

    LLM 멀티 에이전트 자율 침투 테스트 플랫폼으로, 플래너/워커 에이전트, 자산 및 탐색 그래프, MITM 트래픽 기록, 취약점 재테스트 기능을 제공합니다.

    319
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI 네이티브 사이버보안을 위한 행동 체계—의도가 통제된 실행이 되고, 증거가 운영 메모리가 되며, 모든 운영이 다음 운영을 개선하는 곳.

    265
  • 6

    Aliens_eye

    arxhr007/aliens_eye

    웹 전반에서 7,700개 이상의 소셜 미디어 신원을 발견하고 매핑하는 AI 기반 OSINT 엔진

    263

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →