
Laravel Ignition CVE-2021-3129 RCE용 Python 익스플로잇 스크립트로, 로그 포이즈닝과 phar 역직렬화를 사용하여 취약한 웹 애플리케이션에서 명령을 실행합니다.
CVSS 9.8 (Critical) | 안전하지 않은 파일 작업 → 로그 포이즈닝 → Phar 역직렬화 → RCE
Laravel Ignition < 2.5.2(Laravel < 8.4.2)는 APP_DEBUG=true일 때 RCE 취약점이 존재합니다. /_ignition/execute-solution 엔드포인트는 solution 클래스 MakeViewVariableOptionalSolution을 통해 임의 파일 쓰기를 허용합니다. 공격자는 로그 포이즈닝(log poisoning) + Phar 역직렬화(deserialization)(phpggc의 gadget chain)을 결합하여 인증 없이 서버에서 코드를 실행할 수 있습니다.
패치됨: Ignition 2.5.2
REPORT.md를 참조하세요 — 개요, 랩(lab) 환경 구축, 정찰(recon), 익스플로잇, 디버깅(Xdebug + VS Code), 근본 원인 분석 및 권장 사항을 포함한 전체 분석입니다.
CVE-2021-3129/
├── REPORT.md # Báo cáo phân tích đầy đủ
├── cve_2021_3129.py # Script exploit (Python)
├── requirements.txt # Python dependencies
└── img/ # Screenshots
└── *.png # setup, recon, exploit, debug, patch
# Cài dependencies
pip install -r requirements.txt
# Exploit
python3 cve_2021_3129.py -t http://<TARGET> -c "whoami"