Skip to content
KitploitKITPLOIT
OutilsExploitsBlog
Log in
Soumettre
OutilsExploitsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

FluxContactConfidentialité© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
Outils/GitHubGitHub/tc4dy/cve-2026-119977-toolkit
Defensive ToolsReconnaissanceWeb Vulnerability ScannersVulnerability AnalysisExploitationWeb Application ExploitationPost-ExploitationWAF BypassPenetration TestingRed TeamingPayload Development
71il y a 13 joursPas encore vérifié
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.

Voir le dépôt
Partager
Contenu non disponible dans la langue demandée. Affichage de la version anglaise.

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

Télécharger l’outil

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 La boîte à outils OSINT ultime : graphe d'enquête, notation de confiance, familles d'alias, carte, chronologie et rapports. 49 modules, plus de 400 sites, aucune clé API requise.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # Application d'exécution en un clic GhostLock (CVE-2026-43499)

    593
  • 3

    looking-glass

    anonghosty/looking-glass

    Plateforme CSIRT qui ingère les rapports Shadowserver dans MongoDB et les rejoue sous forme de cartes interactives, d'analyses, de constats, d'avis et de tableaux de bord exécutifs.

    371
  • 4

    redforge

    cybersecurity91/redforge

    Boîte à outils red team côté navigateur avec 102 outils hors ligne pour la reconnaissance, la génération de payloads, les attaques par identifiants, la cryptographie, l'encodage et le reporting d'engagement.

    336
  • 5

    ARTEX

    baarai/artex

    Plateforme autonome de tests d'intrusion multi-agents basée sur des LLM, avec agents planificateur/ouvrier, graphes d'actifs et d'exploration, enregistrement du trafic MITM et retest des vulnérabilités.

    326
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    Le système d'action pour la cybersécurité native IA—où l'intention devient une exécution gouvernée, les preuves deviennent une mémoire opérationnelle, et chaque opération améliore la suivante.

    322

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →