
Python 스크립트로, 취약한 Report.ashx 엔드포인트를 프로빙하고 HTTP 응답을 분석하여 Sitecore Experience Platform 사전 인증 RCE(CVE-2021-42237)를 탐지합니다.
Sitecore RCE 탐지용 - CVE-2021-42237 Sitecore Experience Platform 사전 인증 RCE - CVE-2021-42237
Sitecore 버전 탐지와 GET 및 POST를 통한 취약한 Report.ashx 요청 시 응답에 의존합니다.
이 스크립트는 각 줄에 www.url.com 형식의 URL 목록이 포함된 파일을 입력으로 받습니다.
사용법 : python3 check-for-sitecore-rce.py -h
python3 check-for-sitecore-rce.py -u urls.txt
웹 애플리케이션이 오류를 다르게 처리하는 경우 오탐(false positive)이 발생할 수 있습니다. 200 응답이 있는 페이지를 확인하는 것이 좋습니다.
PoCs


참고 자료 : https://blog.assetnote.io/2021/11/02/sitecore-rce/ , https://support.sitecore.com/kb?id=kb_article_view&sysparm_article=KB1000776