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-checker — Multi-technique vulnerability detector for CVE-2025-55182 in React/Next.js applications. Tests gadget chains, RCE payloads, and WAF bypass variants to identify vulnerable Server Actions endpoints. | Kitploit
Tools/GitHubGitHub/harness-security-labs/cve-2025-55182-checker
Vulnerability ScannersExploitationWeb Application ExploitationWAF BypassPenetration TestingPayload Development
GitHubharness-security-labs/cve-2025-55182-checker

CVE-2025-55182-checker

Multi-technique vulnerability detector for CVE-2025-55182 in React/Next.js applications. Tests gadget chains, RCE payloads, and WAF bypass variants to identify vulnerable Server Actions endpoints.

View Repository
159 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 Vulnerability Detector - Enhanced Edition

A comprehensive vulnerability detection tool for CVE-2025-55182 in React/Next.js applications with multiple detection techniques.

⚠️ Legal Disclaimer

FOR AUTHORIZED SECURITY TESTING AND RESEARCH PURPOSES ONLY

This tool is designed for:

  • Authorized penetration testing engagements
  • Security research in controlled environments
  • Educational purposes
  • Vulnerability assessment with proper authorization

Unauthorized access to computer systems is illegal. Always obtain written permission before testing.

Features

  • Multiple Detection Techniques: Comprehensive testing with various approaches
  • Gadget Chain Probes: Tests various Node.js module access paths
  • Safe Operations: Uses only harmless, non-destructive test commands
  • WAF Bypass Techniques: Advanced detection for protected environments
  • Batch Testing: Test multiple targets from a file

What This Script Does

This detector comprehensively tests if a target application is vulnerable to CVE-2025-55182 using multiple techniques:

✅ Gadget Chain Probes (Safe, Non-Destructive)

The tool tests Node.js gadget chains with harmless operations:

  • fs#constructor: Tests filesystem constructor access (no files accessed)
  • vm#runInThisContext: Evaluates safe JavaScript (1+1)
  • child_process#execSync: Executes harmless command (echo test)
  • module#_load: Loads safe built-in module (path)
  • fs#readFileSync: Reads safe system file (/dev/null)
  • util#promisify: Tests utility function access

✅ Enhanced Detection Techniques

  • Safe Side-Channel Detection: Non-exploitative error pattern detection
  • RCE Proof-of-Concept: Command execution tests (Unix/Linux & Windows)
  • WAF Bypass Variants: Techniques to evade web application firewalls
  • Advanced Payloads: Multiple payload construction methods

⚠️ What the Tool Does

Testing Operations:

  • Executes safe, harmless commands (echo test, 1+1)
  • Reads safe system files (/dev/null)
  • Tests module loading with built-in modules
  • Sends multiple payload variants to detect vulnerability

Does NOT:

  • Read sensitive files or data
  • Write or modify any files
  • Execute destructive commands
  • Leave any traces or backdoors
  • Exploit the vulnerability beyond detection

Installation

This tool uses uv for dependency management and execution.

Prerequisites

  • Python 3.13 or higher
  • uv (install from https://github.com/astral-sh/uv)

Quick Start

No installation needed! Just clone and run:

root@kitploit:~
git clone <repository-url>
cd CVE-2025-55182/poc
uv run check http://target.com:3000

The tool will automatically install dependencies on first run.

Usage

Basic Usage

root@kitploit:~
uv run check <target_url>

Examples

root@kitploit:~
# Test a target with default settings (tests /formaction endpoint)
uv run check http://localhost:3002

# Specify custom endpoint
uv run check http://localhost:3002 --endpoint /api/formaction

# Test multiple targets from a file
uv run check --file targets.txt

# Save vulnerable hosts to file
uv run check --file targets.txt -o vulnerable.txt

# Increase timeout for slow connections
uv run check http://localhost:3002 --timeout 15

# Disable SSL verification (for self-signed certificates)
uv run check http://localhost:3002 --no-ssl-verify

# Quiet mode (minimal output)
uv run check http://localhost:3002 --quiet

Command-line Options

root@kitploit:~
usage: uv run check [-h] [-f FILE] [-e ENDPOINT] [-t TIMEOUT]
                    [--no-ssl-verify] [-q] [-o OUTPUT] [target]

positional arguments:
  target                Target URL (e.g., http://target.com:3000)

optional arguments:
  -h, --help            Show help message and exit
  -f, --file FILE       File containing target URLs (one per line)
  -e, --endpoint        API endpoint path (default: /formaction)
  -t, --timeout         Request timeout in seconds (default: 10)
  --no-ssl-verify       Disable SSL certificate verification
  -q, --quiet           Quiet mode (minimal output)
  -o, --output OUTPUT   Output file to write vulnerable hosts

Exit Codes

  • 0 - Target is NOT vulnerable
  • 1 - Target IS vulnerable
  • 130 - User interrupted (Ctrl+C)
  • Other - Error occurred

Sample Output

Vulnerable Target

root@kitploit:~
# uv run check http://localhost:3002
======================================================================
CVE-2025-55182 Vulnerability Detector - Enhanced Edition
Multiple Detection Techniques | Comprehensive Coverage
======================================================================

[*] Testing http://localhost:3002/formaction
[*] Testing all detection techniques...
  → Gadget: fs#constructor: ✓ VULNERABLE
  → Gadget: vm#runInThisContext: ✓ VULNERABLE
  → Gadget: child_process#execSync: ✓ VULNERABLE
  → Gadget: module#_load: ✓ VULNERABLE
  → Gadget: fs#readFileSync: ✓ VULNERABLE
  → Gadget: util#promisify: ✗ Not vulnerable
  → Safe Side-Channel Detection: ✗ Not vulnerable
  → RCE PoC (Unix/Linux): ✗ Not vulnerable
  → RCE PoC (Windows): ✗ Not vulnerable
  → RCE with WAF Bypass (Unix/Linux): ✗ Not vulnerable
  → RCE with WAF Bypass (Windows): ✗ Not vulnerable
  → Advanced WAF Bypass (Unix/Linux): ✗ Not vulnerable

======================================================================
DETECTION RESULTS
======================================================================
Target:                  http://localhost:3002
Endpoint:                /formaction
Techniques Tested:       Multiple
Successful Techniques:   5 techniques detected vulnerability

Status:                  ⚠️  VULNERABLE

The target appears to be vulnerable to CVE-2025-55182.

Techniques that detected vulnerability:
 -> Gadget: fs#constructor
 -> Gadget: vm#runInThisContext
 -> Gadget: child_process#execSync
 -> Gadget: module#_load
 -> Gadget: fs#readFileSync

Recommendation: Apply security patches immediately.
======================================================================

Non-Vulnerable Target

root@kitploit:~
# uv run check http://localhost:8000
======================================================================
CVE-2025-55182 Vulnerability Detector - Enhanced Edition
Multiple Detection Techniques | Comprehensive Coverage
======================================================================

[*] Testing http://localhost:8000/formaction
[*] Testing all detection techniques...
  → Gadget: fs#constructor: ✗ Not vulnerable
  → Gadget: vm#runInThisContext: ✗ Not vulnerable
  → Gadget: child_process#execSync: ✗ Not vulnerable
  → Gadget: module#_load: ✗ Not vulnerable
  → Gadget: fs#readFileSync: ✗ Not vulnerable
  → Gadget: util#promisify: ✗ Not vulnerable
  → Safe Side-Channel Detection: ✗ Not vulnerable
  → RCE PoC (Unix/Linux): ✗ Not vulnerable
  → RCE PoC (Windows): ✗ Not vulnerable
  → RCE with WAF Bypass (Unix/Linux): ✗ Not vulnerable
  → RCE with WAF Bypass (Windows): ✗ Not vulnerable
  → Advanced WAF Bypass (Unix/Linux): ✗ Not vulnerable

======================================================================
DETECTION RESULTS
======================================================================
Target:                  http://localhost:8000
Endpoint:                /formaction
Techniques Tested:       Multiple

Status:                  ✓ NOT VULNERABLE

The target does not appear to be vulnerable to CVE-2025-55182.
All detection techniques failed to confirm vulnerability.
======================================================================

Batch Testing

The script allows you to test multiple hosts at once.

root@kitploit:~
# Create a file with target URLs (one per line)
echo "http://localhost:3002" > targets.txt
echo "http://localhost:8000" >> targets.txt

# Run batch scan
uv run check --file targets.txt -o vulnerable.txt

Output:

root@kitploit:~
======================================================================
CVE-2025-55182 Vulnerability Detector - Enhanced Edition
Multiple Detection Techniques | Comprehensive Coverage
======================================================================

[*] Loaded 2 target(s) from file

[*] Testing target 1/2
[*] Testing http://localhost:3002/formaction
[*] Testing all detection techniques...
  → Gadget: fs#constructor: ✓ VULNERABLE
  → Gadget: vm#runInThisContext: ✓ VULNERABLE
  [... additional techniques ...]

======================================================================
DETECTION RESULTS
======================================================================
Target:                  http://localhost:3002
Endpoint:                /formaction
Techniques Tested:       Multiple
Successful Techniques:   5 techniques detected vulnerability

Status:                  ⚠️  VULNERABLE
[... details ...]
======================================================================

[*] Testing target 2/2
[*] Testing http://localhost:8000/formaction
[*] Testing all detection techniques...
  → Gadget: fs#constructor: ✗ Not vulnerable
  [... all techniques fail ...]

----------------------------------------------------------------------
Target:                  http://localhost:8000
Endpoint:                /formaction
Techniques Tested:       Multiple

Status:                  ✓ NOT VULNERABLE
----------------------------------------------------------------------

======================================================================
SUMMARY
======================================================================
Total targets tested:  2
Vulnerable:            1
Not vulnerable:        1
======================================================================

[+] Wrote 1 vulnerable host(s) to vulnerable.txt

Detection Techniques Explained

Gadget Chain Probes

These techniques test if specific Node.js modules and functions are accessible through the vulnerability. All use safe, non-destructive operations:

  1. fs#constructor - Tests if filesystem module constructor can be accessed
  2. vm#runInThisContext - Tests JavaScript evaluation in VM context with 1+1
  3. child_process#execSync - Tests process execution with harmless echo test
  4. module#_load - Tests module loading by loading the built-in path module
  5. fs#readFileSync - Tests file reading by reading /dev/null (safe system file)
  6. util#promisify - Tests utility function access for promisification

Enhanced Detection

  1. Safe Side-Channel Detection - Analyzes error patterns without executing code
  2. RCE PoC (Unix/Linux) - Tests command execution with echo $((41*271))
  3. RCE PoC (Windows) - Tests PowerShell execution with 41*271
  4. RCE with WAF Bypass (Unix/Linux) - Adds 128KB junk data to evade WAF
  5. RCE with WAF Bypass (Windows) - Windows variant with WAF bypass
  6. Advanced WAF Bypass - Uses Unicode escaping and alternative prototype chains

Why Multiple Techniques?

Different environments may block certain approaches while allowing others:

  • Some WAFs block command execution but not filesystem access
  • Some servers restrict child_process but allow vm module
  • Testing multiple gadgets increases detection accuracy
  • Comprehensive coverage reduces false negatives

About CVE-2025-55182

CVE-2025-55182 is a vulnerability affecting certain React/Next.js applications that use Server Actions. The vulnerability allows attackers to execute arbitrary code on the server through unsafe deserialization of user-controlled data.

Affected Systems

  • React applications using Server Actions
  • Next.js applications with form actions
  • Applications that process multipart form data with $ACTION_* fields

Mitigation

  1. Update to patched versions of React/Next.js
  2. Validate and sanitize all form action inputs
  3. Implement proper access controls
  4. Monitor for suspicious activity

Responsible Disclosure

If you discover vulnerabilities using this tool:

  1. Do not exploit the vulnerability
  2. Report responsibly to the vendor/owner
  3. Give time for patches to be developed
  4. Document your findings professionally
  5. Follow coordinated disclosure guidelines

Support

For issues, questions, or improvements, please refer to the main project documentation.

License

This tool is provided for educational and authorized security testing purposes only.


Remember: With great power comes great responsibility. Use this tool ethically and legally.

Download Tool