Skip to content
KitploitKITPLOIT
FerramentasExploitsBlog
Log in
Enviar
FerramentasExploitsBlog
Enviar

Ferramentas de Hacking, PenTest e Cibersegurança para o seu Arsenal de Segurança!

Kitploit é um diretório de ferramentas de hacking, cibersegurança e pentesting. Descubra as últimas atualizações de projetos para encontrar vulnerabilidades, analisar sistemas, automatizar testes e fortalecer sua segurança.

FeedsContatoPrivacidade© 2026 Kitploit

Diretório de Ferramentas

Categorias

Ver todas as categorias
Loading categories
Ferramentas/GitHubGitHub/tc4dy/cve-2026-119977-toolkit
Defensive ToolsReconnaissanceWeb Vulnerability ScannersVulnerability AnalysisExploitationWeb Application ExploitationPost-ExploitationWAF BypassPenetration TestingRed TeamingPayload Development
71há 13 diasAinda não revisado
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.

Ver Repositório
Compartilhar
Conteúdo não disponível no idioma solicitado. Mostrando versão em inglês.

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

Baixar ferramenta

Mais Populares

Ver todos →

Descubra as ferramentas mais usadas pela nossa comunidade.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 O kit definitivo de OSINT: grafo de investigação, pontuação de confiança, famílias de alias, mapa, linha do tempo e relatórios. 49 módulos, mais de 400 sites, sem necessidade de chaves de API.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # Aplicativo de Execução em Um Toque GhostLock (CVE-2026-43499)

    593
  • 3

    looking-glass

    anonghosty/looking-glass

    Plataforma CSIRT que ingere relatórios do Shadowserver no MongoDB e os reproduz como mapas interativos, análises, descobertas, avisos e painéis executivos.

    371
  • 4

    redforge

    cybersecurity91/redforge

    Kit de ferramentas de red team do lado do navegador com 102 ferramentas offline para reconhecimento, geração de payloads, ataques a credenciais, criptografia, codificação e relatórios de engajamento.

    336
  • 5

    ARTEX

    baarai/artex

    Plataforma autônoma de testes de penetração multiagente com LLM, com agentes planejador/executor, grafos de ativos e de exploração, registro de tráfego MITM e reteste de vulnerabilidades.

    326
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    O sistema de ação para cibersegurança nativa em IA—onde a intenção se torna execução governada, a evidência se torna memória operacional, e cada operação melhora a próxima.

    322

Explore todas as ferramentas

Navegue pela nossa coleção de ferramentas

Ver todas as ferramentas →