Skip to content
KitploitKITPLOIT
ToolsBlog
Log in
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-54887-PoC — TypeScript PoC for CVE-2024-54887 (TP-Link TL-WR940N authenticated RCE) | Kitploit
Tools/GitHubGitHub/gumbraise/cve-2024-54887-poc
IoT SecurityPayload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingHardware & IoT Security
GitHubgumbraise/cve-2024-54887-poc

CVE-2024-54887-PoC

TypeScript PoC for CVE-2024-54887 (TP-Link TL-WR940N authenticated RCE)

View Repository
113 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2024-54887 TypeScript PoC

This repository contains a TypeScript (ts-node) rewrite of the public Python PoC for CVE-2024-54887 (TP-Link TL-WR940N v3/v4 authenticated RCE).

Prerequisites

  • Node.js 20+

Install

npm install

Usage

npx ts-node .\cve-2024-54887.ts --ip <router-ip>

Optional credentials:

npx ts-node .\cve-2024-54887.ts --ip <router-ip> --username <user> --password <pass>

Short flags are also available:

npx ts-node .\cve-2024-54887.ts -i <router-ip> -u <user> -p <pass>

Show help:

npx ts-node .\cve-2024-54887.ts --help

What the script does

  1. Logs in to the target router with MD5-hashed password auth.
  2. Extracts the authenticated session path from the login response.
  3. Builds and sends the crafted Wan6to4TunnelCfgRpm.htm payload.
  4. Waits briefly, then indicates where to check for the bind shell (port 4444).
Download Tool