Skip to content
KitploitKITPLOIT
ToolsBlog
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-2025-55182-EXP — Python-based exploit for CVE-2025-55182 (Next.js RCE) with single/batch target scanning, command execution, interactive shell, and 4 attack modes with Base64 encoding support. | Kitploit
Tools/GitHubGitHub/lc-pro/cve-2025-55182-exp
Vulnerability ScannersPayload GenerationExploitationWeb Application ExploitationPenetration TestingCommand and Control
GitHublc-pro/cve-2025-55182-exp

CVE-2025-55182-EXP

Python-based exploit for CVE-2025-55182 (Next.js RCE) with single/batch target scanning, command execution, interactive shell, and 4 attack modes with Base64 encoding support.

View Repository
219 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-2025-55182 Exploitation Tool

Tool Introduction

This tool is used to detect and exploit the CVE-2025-55182 vulnerability (presumably a code execution vulnerability in frameworks related to Next.js). It supports single-target / multi-target batch detection, command execution, interactive shell, and provides 4 attack modes for different scenarios. It also supports Base64 encoding of commands, proxy forwarding, log output, and other flexible configurations.

Vulnerability Description

The CVE-2025-55182 vulnerability may exist in applications related to Next.js. By crafting malicious requests, the execution logic in _response is tampered with, and a child_process module call is injected, achieving remote command execution (RCE). The tool sends specially crafted form data to trigger the vulnerability and return the command execution result.

Environment Requirements

  • Python 3.7+
  • Dependency: requests
  • Install dependencies:
    • root@kitploit:~
pip install requests

Basic Usage

1. Single Target Command Execution (Default Attack Mode)

root@kitploit:~
# Execute whoami command (Attack Mode 1: with response)
python CVE-2025-55182-exploit.py -u https://target.com -c "whoami"

# Execute system command (Base64 encoded to avoid special character interception)
python CVE-2025-55182-exploit.py -u https://target.com -c "cat /etc/passwd" -b

# Full response mode (Base64 decode the returned result)
python CVE-2025-55182-exploit.py -u https://target.com -c "ipconfig" -p 4

2. Multi-target Batch Detection

root@kitploit:~
# Read target URLs from file, batch execute id command (20 threads)
python CVE-2025-55182-exploit.py -l targets.txt -c "id" -t 20 -o result.log

3. Interactive Shell Mode

root@kitploit:~
# Connect to target and enter interactive command line (supports Base64 encoding toggle)
python CVE-2025-55182-exploit.py -u https://target.com -s

4. Proxy Mode (Packet Capture / Traffic Forwarding)

root@kitploit:~
# Analyze traffic via Burp Suite proxy
python CVE-2025-55182-exploit.py -u https://target.com -c "whoami" --proxy http://127.0.0.1:8080

Parameter Description

ParameterShorthandRequiredDescriptionExample
--url-uNoSingle target URL (mutually exclusive with -l, -u takes priority)-u https://target.com
--url-list-lNoTarget URL list file (one URL per line, supports missing protocol, automatically adds http/https)-l urls.txt
--payload-pNoAttack mode (default: 1)
1=With response (execSync)
2=No response (execSync)
3=No response (exec)
--cmd-cNoSystem command to execute (required for batch/single target command execution, mutually exclusive with -s)-c "whoami" or -c "dir"
--threads-tNoNumber of threads for batch detection (default: 10, recommended not to exceed 50)-t 20
--outlog-oNoLog output file (default: cve-2025-55182.log)-o exploit.log
--base64-bNoBase64 encode the command specified by -c (to avoid special character interception)-c "cat /etc/passwd" -b
--cmd-shell-sNoInteractive shell mode (only supports single target -u, mutually exclusive with -c)-u https://target.com -s
--proxy-NoProxy configuration (supports HTTP/HTTPS proxy for packet capture or traffic forwarding)--proxy http://127.0.0.1:8080

Attack Mode Details

Mode NumberMode DescriptionCharacteristicsApplicable Scenario
1With response (execSync)Execute command synchronously, return 303 redirect, result included in response headersQuickly verify if the vulnerability exists
2No response (execSync)Execute command synchronously, no result returned (execution effect must be confirmed by other means)Covert execution
3No response (exec)Execute command asynchronously, no result returned (low trace, suitable for operations that do not need confirmation)Covert batch attacks
4Full responseExecute command synchronously, result Base64 encoded and returned in response body (tool automatically decodes)Scenarios requiring full command output

Interactive Shell Commands

After entering -s mode, the following built-in commands are supported:

CommandFunction Description
b64Switch to Base64 encoded command mode
nob64Exit Base64 encoding mode
exitExit the interactive shell
?View help information

Output Description

  1. Console output: Contains key information such as execution time, target URL, response status code, command execution result, etc.;
  2. Log file: All execution records (success/failure) are automatically written to the file specified by --outlog for subsequent analysis;
  3. Success list: After the batch detection ends, automatically summarizes targets with the vulnerability (status code 303/500).

Notes

  1. Legal authorization: You must obtain legal authorization from the target system before using this tool. It is strictly prohibited to use it for unauthorized penetration testing;
  2. Mutually exclusive parameters:
    1. -u and -l are mutually exclusive; when both are specified, -u takes priority;
    2. -c and -s are mutually exclusive; in -s mode, -c does not need to be specified;
  3. URL format:
    1. If URLs in the -l file do not have a protocol (e.g., target.com), the tool will automatically try http:// and https://;
    2. It is recommended to manually specify the full URL (e.g., https://target.com) to avoid unnecessary connection failures;
  4. Encoding handling: When -b or b64 mode is enabled, the tool will automatically handle Base64 encoding/decoding, no manual operation required;
  5. Network environment: When the network is unstable, increase the --time-out timeout value to avoid false negatives.

Frequently Asked Questions

  1. "Proxy not available": The proxy is unavailable. Check whether the proxy address is correct, or use --skip-check to skip the check;
  2. Command execution returns no result:
    1. Try switching attack modes (e.g., -p 4 full response mode);
    2. Enable Base64 encoding (-b) to prevent the command from being intercepted by the target system;
  3. Connection timeout: Check if the target is reachable, or increase the --time-out timeout value;
  4. SSL handshake failure: The target does not support the HTTPS protocol. Try using the HTTP protocol (e.g., http://target.com).

Disclaimer

This tool is intended only for network security research and vulnerability verification. The user is solely responsible for all consequences arising from violations of the Cybersecurity Law and other relevant laws and regulations. The tool developer bears no liability.

Download Tool
--skip-check-NoSkip proxy connectivity check (default verifies proxy availability)--proxy http://127.0.0.1:8080 --skip-check
--time-out-NoRequest timeout (in seconds, default: 10)--time-out 15