
1979 changes to exploits/shellcodes Couchdb 1.5.0 - 'uuids' Denial of Service Apache CouchDB 1.5.0 - 'uuids' Denial of Service Beyond Remote 2.2.5.3 - Denial of Service (PoC) udisks2 2.8.0 - Denial of Service (PoC) Termite 3.4 - Denial of Service (PoC) SoftX FTP Client 3.3 - Denial of Service (PoC) Silverstripe 2.3.5 - Cross-Site Request Forgery / Open redirection SilverStripe CMS 2.3.5 - Cross-Site Request Forgery / Open Redirection Silverstripe CMS 3.0.2 - Multiple Vulnerabilities SilverStripe CMS 3.0.2 - Multiple Vulnerabilities Silverstripe CMS 2.4 - File Renaming Security Bypass SilverStripe CMS 2.4 - File Renaming Security Bypass Silverstripe CMS 2.4.5 - Multiple Cross-Site Scripting Vulnerabilities SilverStripe CMS 2.4.5 - Multiple Cross-Site Scripting Vulnerabilities Silverstripe CMS 2.4.7 - 'install.php' PHP Code Injection SilverStripe CMS 2.4.7 - 'install.php' PHP Code Injection Silverstripe Pixlr Image Editor - 'upload.php' Arbitrary File Upload SilverStripe CMS Pixlr Image Editor - 'upload.php' Arbitrary File Upload Silverstripe CMS 2.4.x - 'BackURL' Open Redirection SilverStripe CMS 2.4.x - 'BackURL' Open Redirection Silverstripe CMS - 'MemberLoginForm.php' Information Disclosure SilverStripe CMS - 'MemberLoginForm.php' Information Disclosure Silverstripe CMS - Multiple HTML Injection Vulnerabilities SilverStripe CMS - Multiple HTML Injection Vulnerabilities Apache CouchDB 1.7.0 and 2.x before 2.1.1 - Remote Privilege Escalation Apache CouchDB 1.7.0 / 2.x < 2.1.1 - Remote Privilege Escalation Monstra CMS before 3.0.4 - Cross-Site Scripting Monstra CMS < 3.0.4 - Cross-Site Scripting (2) Monstra CMS < 3.0.4 - Cross-Site Scripting Monstra CMS < 3.0.4 - Cross-Site Scripting (1) Navigate CMS 2.8 - Cross-Site Scripting Collectric CMU 1.0 - 'lang' SQL injection Joomla! Component CW Article Attachments 1.0.6 - 'id' SQL Injection LG SuperSign EZ CMS 2.5 - Remote Code Execution MyBB Visual Editor 1.8.18 - Cross-Site Scripting Joomla! Component AMGallery 1.2.3 - 'filter_category_id' SQL Injection Joomla! Component Micro Deal Factory 2.4.0 - 'id' SQL Injection RICOH Aficio MP 301 Printer - Cross-Site Scripting Joomla! Component Auction Factory 4.5.5 - 'filter_order' SQL Injection RICOH MP C6003 Printer - Cross-Site Scripting Linux/ARM - Egghunter (PWN!) + execve(_/bin/sh__ NULL_ NULL) Shellcode (28 Bytes) Linux/ARM - sigaction() Based Egghunter (PWN!) + execve(_/bin/sh__ NULL_ NULL) Shellcode (52 Bytes)
57 lines
No EOL
2.8 KiB
Text
57 lines
No EOL
2.8 KiB
Text
-----------------------------------------------------
|
||
Vulnerability Type: Detection Bypass
|
||
Affected Product: Suricata
|
||
Vulnerable version: <4.0.4
|
||
CVE number: CVE-2018-6794
|
||
Found: 25.01.2018
|
||
By: Kirill Shipulin (@kirill_wow), Positive Technologies
|
||
Severity: Medium
|
||
------------------------------------------
|
||
|
||
About Suricata:
|
||
---------------
|
||
Suricata is a high performance Network Threat Detection, IDS, IPS and Network Security Monitoring engine. Open Source and owned by a community run non-profit foundation, the Open Information Security Foundation (OISF). Suricata is developed by the OISF, its supporting vendors and the community
|
||
|
||
Attack Description:
|
||
-------------------
|
||
If as a server side you break a normal TCP 3 way handshake packets order and inject some response data before 3whs is complete then data still will be received by the a client but some IDS engines may skip content checks on that.
|
||
|
||
Attack scenario TCP flow scheme:
|
||
Client -> [SYN] [Seq=0 Ack= 0] -> Evil Server
|
||
Client <- [SYN, ACK] [Seq=0 Ack= 1] <- Evil Server
|
||
Client <- [PSH, ACK] [Seq=1 Ack= 1] <- Evil Server # Injection before the 3whs is completed
|
||
Client <- [FIN, ACK] [Seq=83 Ack= 1] <- Evil Server
|
||
Client -> [ACK] [Seq=1 Ack= 84] -> Evil Server
|
||
Client -> [PSH, ACK] [Seq=1 Ack= 84] -> Evil Server
|
||
|
||
IDS signature checks for tcp stream or http response body will be skipped in the case of data injection. This attack technique requires all three packets from a malicious server to be received by a client side together before it completes 3whs. Proof of concept server was written in C to reproduce this and it works reliably in local networks. Since some network devices may affect packets transmission exploitation is not so reliable for the internet scenario.
|
||
|
||
This attack possibly may impact other network monitoring or intrusion detection systems because is not limited to Suricata IDS: an old Snort IDS version 2.9.4 is also affected.
|
||
|
||
Successful exploitation leads to a complete TCP-Stream response or HTTP response signatures bypass and may be used to prevent malicious payloads from network detection.
|
||
|
||
PoС:
|
||
----
|
||
A Working PoC server is available here: https://github.com/kirillwow/ids_bypass
|
||
There is also a traffic capture of this data injection technique.
|
||
|
||
Timeline Summary:
|
||
-----------------
|
||
2018-01-25: Issue submitted to the bug tracker.
|
||
2018-01-30: Patch ready.
|
||
2018-02-14: Suricata 4.0.4 containing the fix has been released.
|
||
|
||
References:
|
||
-----------
|
||
CVE-2018-6794
|
||
https://redmine.openinfosecfoundation.org/issues/2427
|
||
|
||
Contacts:
|
||
---------
|
||
Twitter: https://twitter.com/AttackDetection
|
||
Twitter: https://twitter.com/kirill_wow
|
||
Telegram: https://t.me/kirill_wow
|
||
|
||
|
||
Proof of Concept:
|
||
https://github.com/offensive-security/exploitdb-bin-sploits/raw/master/bin-sploits/44247.zip |