
Proof-of-concept for CVE-2022-42475, a FortiOS SSL-VPN heap overflow in sslvpnd enabling unauthenticated remote code execution, with affected version matrix and IOC checks.
Vulnerability name
CVE-2022-42475 Fortinet RCE vulnerability POC
Vulnerability cause
Due to a flaw in sslvpnd's validation of user-supplied input, an unauthenticated attacker can trigger a buffer overflow by sending a specially crafted packet, ultimately achieving arbitrary code execution on the target system.
Affected versions
2.0 <= FortiOS <= 7.2.2 0.0 <= FortiOS <= 7.0.8 4.0 <= FortiOS <= 6.4.10 2.0 <= FortiOS <= 6.2.11 0.0 <= FortiOS-6K7K <= 7.0.7 4.0 <= FortiOS-6K7K <= 6.4.9 2.0 <= FortiOS-6K7K <= 6.2.11 0.0 <= FortiOS-6K7K <= 6.0.14
Unaffected versions
FortiOS >= 7.2.3 FortiOS >= 7.0.9 FortiOS >= 6.4.11 FortiOS >= 6.2.12 FortiOS-6K7K >= 7.0.8 FortiOS-6K7K >= 6.4.10 FortiOS-6K7K >= 6.2.12 FortiOS-6K7K >= 6.0.15
Remediation
The official security versions that fix this vulnerability have now been released. Affected users are advised to upgrade their protection promptly: https://docs.fortinet.com/product/fortigate/7.2
Self-check for IOCs
Check whether the following log entry exists in the system: Logdesc=”Application crashed” and msg=”[…] application:sslvpnd,[…], Signal 11 received, Backtrace: […]”
Check whether the following files exist in the system
/data/lib/libips.bak /data/lib/libgif.so /data/lib/libiptcp.so /data/lib/libipudp.so /data/lib/libjepg.so /var/.sslvpnconfigbk /data/etc/wxd.conf /flash
Users can check the above files with the following commands:
diagnose sys last-modified-files /data/lib diagnose sys last-modified-files /var/ diagnose sys last-modified-files /data/etc/ diagnose sys last-modified-files /flash

MISP (मुख्य सॉफ़्टवेयर) - ओपन सोर्स थ्रेट इंटेलिजेंस और शेयरिंग प्लेटफ़ॉर्म

खुला साइबर खतरा बुद्धिमत्ता प्लेटफॉर्म

एक स्केलेबल खतरा खुफिया प्लेटफॉर्म जो 200+ विश्लेषकों का उपयोग करके ऑब्जर्वेबल्स और फाइलों को समृद्ध करता है, जिसमें SOC विश्लेषकों और DFIR टीमों के लिए अंतर्निहित GUI, REST API, और स्वचालित वर्कफ़्लो शामिल हैं।