
CVE-2020-0610(BlueGate)을 위한 재현 가능한 실습 환경 - Windows RD Gateway UDP/DTLS 원격 코드 실행 취약점. PowerShell 스크립트, 설정 가이드, nuclei 템플릿 검증 예제를 포함합니다.
Nuclei PR: https://github.com/projectdiscovery/nuclei-templates/pull/13076
CVE-2020-0610(BlueGate)을 위한 포괄적인 재현 가능한 실험실 환경입니다. 이는 Microsoft Windows RD Gateway(원격 데스크톱 게이트웨이)의 심각한 사전 인증 원격 코드 실행 취약점입니다. 이 실험실은 보안 연구원들이 최소한의 비파괴적 DTLS 핸드셰이크 기법을 사용하여 취약점을 안전하게 테스트하고 검증할 수 있도록 지원합니다.
CVE-2020-0610은 Windows RD Gateway의 심각한 RCE 취약점으로, 인증되지 않은 공격자가 포트 3391로 특수하게 조작된 UDP 패킷을 전송하여 임의 코드를 실행할 수 있습니다. 이 취약점은 다음에 영향을 미칩니다:
CVSS 점수: 9.8(치명적) 공격 경로: 네트워크(UDP/3391) 인증: 필요 없음 영향: 완전한 시스템 장악
# Via Server Manager GUI
Server Manager → Add Roles and Features → Remote Desktop Services → RD Gateway
# Via RD Gateway Manager
RD Gateway Manager → <ServerName> → Properties → Transport Settings
→ Check "Allow users to connect by using UDP" → OK
# Run as Administrator
powershell -ExecutionPolicy Bypass -File .\scripts\add-udp-3391-firewall.ps1
# Verify RD Gateway and firewall configuration
powershell -ExecutionPolicy Bypass -File .\scripts\sanity-check.ps1
# Using Nuclei scanner
nuclei -t network/cves/2020/CVE-2020-0610.yaml \
-u <target_host> \
-var rdg_port=3391 \
-var dtls_timeout=6 \
-debug
DEBUG_HEX:
NUCLEI_RESULT:VULNERABLE
DEBUG_HEX: 160303...ffff0080
NUCLEI_RESULT:NOT_VULNERABLE
핵심 지표는 패치된 시스템에서 ffff0080 트레일러(0x8000ffff의 리틀엔디언 표현)의 존재 여부입니다.
lab-rdg-bluegate/
├── README.md # This comprehensive guide
├── scripts/
│ ├── add-udp-3391-firewall.ps1 # Firewall configuration
│ └── sanity-check.ps1 # System validation
└── samples/
├── nuclei-debug-vulnerable.txt # Example vulnerable output
└── nuclei-debug-patched.txt # Example patched output
이 실험실은 보안 연구 커뮤니티를 지원하기 위해 제작되었습니다. 기여를 환영합니다:
이 실험실 환경은 교육 및 승인된 보안 테스트 목적으로만 제공됩니다. 사용자는 다음에 대한 책임이 있습니다:
CVE-2020-0610 BlueGate RD Gateway Windows Server Remote Code Execution UDP DTLS Nuclei Security Research Vulnerability Lab Penetration Testing Red Team Blue Team Cybersecurity