{"id":"CVE-2018-6794","published":"2018-02-07T05:00:00Z","modified":"2024-08-05T06:10:11Z","title":"Suricata before 4.0.4 is prone to an HTTP detection bypass vulnerability in detect.c and stream-tcp.c","vendor":null,"product":null,"tier":"tail","description":{"text":"Suricata before 4.0.4 is prone to an HTTP detection bypass vulnerability in detect.c and stream-tcp.c. If a malicious server breaks a normal TCP flow and sends data before the 3-way handshake is complete, then the data sent by the malicious server will be accepted by web clients such as a web browser or Linux CLI utilities, but ignored by Suricata IDS signatures. This mostly affects IDS signatures for the HTTP protocol and TCP stream content; signatures for TCP packets will inspect such network traffic as usual.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.23687,"percentile":0.97866,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/OISF/suricata/pull/3202/commits/e1ef57c848bbe4e567d5d4b66d346a742e3f77a1","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/12/msg00000.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://redmine.openinfosecfoundation.org/issues/2427","tags":["x_refsource_CONFIRM"]},{"url":"https://suricata-ids.org/2018/02/14/suricata-4-0-4-available/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.exploit-db.com/exploits/44247/","tags":["exploit","x_refsource_EXPLOIT-DB"]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":19.57},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2018-03-05"},"first":{"date":"2018-03-05","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/44247"},"provenance":"source"},"summary":{"text":"The flaw lies in the detection engine of Suricata (versions before 4.0.4), specifically in the detect.c and stream-tcp.c components, where HTTP and TCP stream signature inspection can be bypassed. A malicious server that breaks a normal TCP flow by sending data before the three-way handshake completes can have that data accepted by web clients while being ignored by Suricata's HTTP and TCP stream signatures, though packet-level signatures still inspect such traffic.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:45:14Z"},"euvd":{"id":"EUVD-2018-18541","exploited":false,"provenance":"source"},"exploits":[{"id":44247,"url":"https://www.exploit-db.com/exploits/44247","title":"Suricata < 4.0.4 - IDS Detection Bypass","date":"2018-03-05","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/44247/"],"lineage":{"familyId":"fam-oisf-suricata-cve-2018-6794","children":[{"from":"CVE-2018-6794","to":"CVE-2018-14568","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/stream-tcp.c"],"commits":["https://github.com/OISF/suricata/commit/843d0b7a10bb45627f94764a6c5d468a24143345","https://github.com/OISF/suricata/commit/e1ef57c848bbe4e567d5d4b66d346a742e3f77a1"],"basis":"shared function","functions":["StreamTcpPacket"]}]},{"from":"CVE-2018-6794","to":"CVE-2019-1010279","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/detect.c"],"commits":["https://github.com/OISF/suricata/commit/e1ef57c848bbe4e567d5d4b66d346a742e3f77a1","https://github.com/OISF/suricata/commit/d8634daf74c882356659addb65fb142b738a186b"],"basis":"rarely changed file"}]},{"from":"CVE-2018-6794","to":"CVE-2019-18792","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/stream-tcp.c"],"commits":["https://github.com/OISF/suricata/commit/e1ef57c848bbe4e567d5d4b66d346a742e3f77a1","https://github.com/OISF/suricata/commit/fa692df37a796c3330c81988d15ef1a219afc006","https://github.com/OISF/suricata/commit/1c63d3905852f746ccde7e2585600b2199cefb4b"],"basis":"shared function","functions":["StreamTcpPacket"]}]},{"from":"CVE-2018-6794","to":"CVE-2024-55629","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/stream-tcp.c"],"commits":["https://github.com/OISF/suricata/commit/e1ef57c848bbe4e567d5d4b66d346a742e3f77a1","https://github.com/OISF/suricata/commit/6882bcb3e51bd3cf509fb6569cc30f48d7bb53d7","https://github.com/OISF/suricata/commit/779f9d8ba35c3f9b5abfa327d3a4209861bd2eb8"],"basis":"shared function","functions":["StreamTcpPacket"]}]}]}}