Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
React2Shell-Vulnerability-Verification-Script — React2Shell 취약점 검증 스크립트 (React2Shell, CVE-2025-55182로도 알려짐). | Kitploit
도구/GitHubGitHub/degenwithheart/react2shell-vulnerability-verification-script
Static AnalysisVulnerability ScannersVulnerability AnalysisCode AnalysisWeb SecurityLearning & Education
GitHubdegenwithheart/react2shell-vulnerability-verification-script

React2Shell-Vulnerability-Verification-Script

React2Shell 취약점 검증 스크립트 (React2Shell, CVE-2025-55182로도 알려짐).

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
저장소 보기
8개월 전아직 검토되지 않음

React2Shell 취약점 검증 스크립트 (verify_react_vulnerability.py)

이 스크립트는 무엇인가요?

이 스크립트는 프로젝트가 심각한 React2Shell 취약점 (CVE-2025-55182)의 영향을 받는지 여부를 빠르게 확인할 수 있도록 도와주는 간단한 독립형 Python 스크립트입니다.

두 단계로 검사를 수행합니다:

  1. 의존성 검사: package.json 파일에서 알려진 취약한 버전의 React 및 Next.js를 검사합니다.
  2. 포괄적 코드베이스 스캔 (선택 사항): 의존성 검사가 통과되면 소스 코드에 대한 심층 스캔을 수행할지 선택할 수 있습니다. 이 스캔은 프로젝트가 취약한 React Server Components 기능 집합을 사용하고 있음을 나타내는 다양한 증거를 찾습니다.

어떤 기능을 하나요?

  1. package.json 찾기: 스크립트가 실행된 디렉토리에서 package.json 파일을 찾습니다.
  2. 의존성 읽기: 프로젝트에 명시된 react 및 next의 정확한 버전을 찾습니다.
  3. 버전 비교: 설치된 버전을 취약한 것으로 알려진 내장 버전 목록과 비교합니다.
  4. 수정 방법 제공: 취약한 의존성이 발견되면 스크립트는 안전한 버전으로 업데이트하기 위한 정확한 npm install 명령을 제공합니다.
  5. 포괄적 심층 스캔 제공: 의존성이 안전해 보이면 코드에 대한 훨씬 더 심층적인 분석을 실행할 수 있는 권한을 요청합니다. 이 스캔은 다음을 포함한 여러 패턴을 찾습니다:
    • "use server"
    • "use client"
    • createSafeActionClient
    • registerServerReference
    • react-server-dom-webpack
  6. 상세한 결과 보고: 심층 스캔에서 해당 패턴이 발견되면 각 패턴이 의미하는 바에 대한 자세한 보고서를 제공하고 해당 패턴이 발견된 파일을 나열합니다.

사용 방법

사전 요구 사항

  1. Python 3: Python 3이 설치되어 있어야 합니다. python3 --version 명령으로 확인할 수 있습니다.
  2. Packaging 라이브러리: 이 스크립트는 소프트웨어 버전을 비교하기 위해 일반적인 Python 라이브러리를 사용합니다. 설치되어 있지 않다면 pip를 사용하여 설치하세요:
    root@kitploit:~
    pip install packaging
    

스크립트 실행

  1. verify_react_vulnerability.py 스크립트를 프로젝트의 루트 디렉토리 (package.json이 있는 디렉토리)에 배치하세요.

  2. 터미널을 열고 다음 명령을 실행하세요:

    root@kitploit:~
    python3 verify_react_vulnerability.py
    

출력 이해하기

시나리오 1: 취약한 의존성 발견

취약한 라이브러리 버전이 발견되면 스크립트가 중단되고 즉시 문제를 보고합니다:

root@kitploit:~
--- Step 1: Checking versions in package.json ---
❌ VULNERABLE: Found React version 19.0.1.
...
-------------------------------------------------

❌ SUMMARY: Your project is VULNERABLE based on dependency versions.
   Please update the following dependencies immediately.

--- Recommended Fixes ---
npm install [email protected] [email protected]
...
-------------------------------------------------

시나리오 2: 취약한 의존성이 없음 (포괄적 코드 스캔 포함)

의존성이 안전하면 스크립트가 심층 스캔을 제안합니다.

root@kitploit:~
--- Step 1: Checking versions in package.json ---
✅ OK: Found React version 18.3.1. Not in a known vulnerable range.
...
-------------------------------------------------

✅ INFO: Your project's dependencies do not seem to be affected by React2Shell.
   However, vulnerable features might be in use if code was copy-pasted or 'vendored'.
   Do you want to perform a comprehensive deep code scan? (y/n): y

심층 스캔에서 지표가 발견되면 상세한 보고서를 제공합니다:

root@kitploit:~
--- Step 2: Performing Comprehensive Deep Code Scan ---
Searching for patterns related to React Server Components...

⚠️ WARNING: Deep scan found indicators of React Server Component usage.
   This does not guarantee a vulnerability, but warrants a manual review.
   Ensure your framework versions are fully patched.

   - Found pattern '"use server"':
     Reason: Indicates a file contains React Server Actions, the primary feature associated with the vulnerability.
     In files: ['src/actions/auth.ts']

   - Found pattern '"use client"':
     Reason: Indicates a Client Component, which may import and use Server Actions from other files.
     In files: ['src/components/LoginButton.tsx', 'src/components/ThemeSwitcher.tsx']
-------------------------------------------------

심층 스캔에서 아무것도 발견되지 않으면 프로젝트가 안전할 가능성이 높다고 확인합니다:

root@kitploit:~
--- Step 2: Performing Comprehensive Deep Code Scan ---
Searching for patterns related to React Server Components...

✅ OK: The comprehensive deep scan did not find any indicators of RSC usage.
-------------------------------------------------
도구 다운로드