
CVE-2025-11953 데모: React Native CLI의 심각한 RCE 취약점 (CVSS 9.8). 개념 증명 익스플로잇 및 완화 전략을 포함한 교육용 보안 연구.
JFSA-2025-001495618 - React Native CLI의 심각한 명령 주입
React Native CLI가 열어놓는 Metro 개발 서버는 기본적으로 외부 인터페이스에 바인딩됩니다. 서버는 OS 명령 주입에 취약한 엔드포인트(/open-url)를 노출합니다. 이를 통해 인증되지 않은 네트워크 공격자가 서버에 POST 요청을 보내고 임의의 실행 파일을 실행할 수 있습니다.
react-native-cli-command-injection-demo/
├── README.md # This file
├── vulnerable-setup/
│ ├── package.json # Vulnerable version setup
│ ├── metro.config.js # Metro configuration
│ └── start-vulnerable.js # Script to start vulnerable server
├── exploit-examples/
│ ├── basic-exploit.sh # Basic command injection example
│ ├── windows-exploit.sh # Windows-specific exploit
│ ├── advanced-exploit.py # Advanced exploitation script
│ └── payload-examples.json # Various payload examples
├── secure-setup/
│ ├── package.json # Fixed version setup
│ ├── metro.config.js # Secure configuration
│ └── start-secure.js # Secure server startup
└── mitigation/
├── SECURITY.md # Security recommendations
└── host-binding-examples.sh # Host binding examples
cd vulnerable-setup
npm install
npm run start:vulnerable
cd exploit-examples
./basic-exploit.sh
cd secure-setup
npm install
npm run start:secure
이 데모는 교육 목적으로만 제공됩니다. 프로덕션 환경이나 소유하지 않은 시스템에 대해 이 예제를 사용하지 마십시오. 항상 책임 있는 공개 절차를 따르십시오.