Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-87902-exploit — Exploit para explotar la vulnerabilidad CVE-2026-87902 que se acontece en el core de WordPress | Kitploit
Tools/GitHubGitHub/maalfer/cve-2026-87902-exploit
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingRemote Access ToolPayload Development
GitHubmaalfer/cve-2026-87902-exploit

CVE-2026-87902-exploit

Exploit para explotar la vulnerabilidad CVE-2026-87902 que se acontece en el core de WordPress

View Repository
2111 month agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    905
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    881
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    673
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    454
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    402
  • 6

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    397

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-87902 — WordPress LFI → RCE

Unauthenticated exploit (LFI → RCE) for WordPress 4.7.0 – 7.1.1 · fix: 7.1.2

Usage

git clone https://github.com/Maalfer/CVE-2026-87902-exploit.git
cd CVE-2026-87902-exploit

# 1) validate the LFI (writes nothing to the server)
python3 exploit.py --url http://target/ --validate-only

# 2) RCE
python3 exploit.py --url http://target/ -c "id"

# 3) consola interactiva
python3 exploit.py --url http://objetivo/ -c id --shell

Conditions for a WordPress site to be exploitable

All four must be met at the same time. If 3 is missing, the LFI does not exist.

  • WordPress < 7.1.2 — the flaw is in get_page_template(), without validate_file(). In 7.1.2+ it is patched.
  • At least one published page — a page_id is needed for WordPress to resolve the template (auto-detected via REST).
  • A real page-* directory in the active theme — mandatory: file_exists() does not traverse a nonexistent component, so the ../ only goes up if the first segment exists on disk. Twenty Twelve (page-templates/) has it; most block themes (Twenty Twenty-Three) do not. It also affects the parent theme.
  • For RCE: readable pearcmd.php + register_argc_argv=On — the LFI only reads; execution uses PEAR's config-create polyglot. With register_argc_argv=Off or without PEAR installed, there is LFI but no RCE.

Without the 4th, the result is pure LFI: it allows reading any .php on the system, for example page-templates/../../../wp-config.php (DB hashes and salts).

image image

Only for your own systems or with written authorization.

Download Tool