
Exchange 0-day (CVE-2022-41082) 취약점을 탐지하는 Nmap 스크립트
Nmap NSE 스크립트로 Exchange 취약점(CVE-2022-41082)을 확인합니다. NSE 스크립트는 인터넷에서 가장 일반적으로 노출된 서비스를 확인합니다. 가상 패치가 작동하는지 확인하는 기본 스크립트입니다.
현재 패치가 없으므로, 완화 조치만 확인하여 호스트가 취약한지 검사합니다.
간단한 예:
nmap -sV -T4 -v --script=http-vuln-cve-2022 scanme.nmap.org
더 빠른 실행 (대규모 서브넷):
nmap -p443 -T4 -v --script=http-vuln-cve-2022 10.0.0.0/16
취약:
nmap -Pn -T4 -p443 --script=http-vuln-cve2022-41082.nse 127.0.0.1
Starting Nmap 7.92 ( https://nmap.org ) at 2022-10-01 13:37 CEST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.030s latency).
PORT STATE SERVICE
443/tcp open https
| http-vuln-cve2022-41082:
| VULNERABLE:
| Microsoft Exchange - 0-day RCE
| State: VULNERABLE
| IDs: CVE:CVE-2022-41082
| Risk factor: High CVSSv2: 10.0 (HIGH) (AV:N/AC:L/AU:N/C:C/I:C/A:C)
| Exchange 0-day vuln: CVE-2022-41082
|
| Disclosure date: 2022-09-29
| References:
| https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41082
| https://microsoft.github.io/CSS-Exchange/Security/EOMTv2/
| https://www.microsoft.com/security/blog/2022/09/30/analyzing-attacks-using-the-exchange-vulnerabilities-cve-2022-41040-and-cve-2022-41082/
|_ https://msrc-blog.microsoft.com/2022/09/29/customer-guidance-for-reported-zero-day-vulnerabilities-in-microsoft-exchange-server/
Nmap done: 1 IP address (1 host up) scanned in 0.59 seconds
nmap -Pn -T4 -p443 --script=http-vuln-cve2022-41082.nse scanme.nmap.org
Starting Nmap 7.92 ( https://nmap.org ) at 2022-10-01 13:39 CEST
Nmap scan report for scanme.nmap.org (45.33.32.156)
Host is up (0.17s latency).
PORT STATE SERVICE
443/tcp closed https
Nmap done: 1 IP address (1 host up) scanned in 1.62 seconds
취약점에 대한 일반 참고 자료 및 링크
Microsoft Blog - CVE-2022-41082에 관한 Microsoft 블로그
Microsoft Mitigation Tool - Microsoft Exchange On-premises Mitigation Tool v2
Microsoft Guidance - Microsoft Exchange Server에서 보고된 제로데이 취약점에 대한 고객 지침
VNCCERT-CC 0dayex-checker - 제로데이 Microsoft Exchange Server 검사기 (가상 패치 검사기)
작성자: Vlatko Kosturjak (Diverto). Dalibor S.에게 감사드립니다.