Vulnerability identifier: #VU35480
Vulnerability risk: High
CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-125
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Suricata
Server applications /
IDS/IPS systems, Firewalls and proxy servers
Vendor: Open Information Security Foundation
Description
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
An issue was discovered in Suricata 4.1.4. By sending multiple IPv4 packets that have invalid IPv4Options, the function IPV4OptValidateTimestamp in decode-ipv4.c tries to access a memory region that is not allocated. There is a check for o->len < 5 (corresponding to 2 bytes of header and 3 bytes of data). Then, "flag = *(o->data + 3)" places one beyond the 3 bytes, because the code should have been "flag = *(o->data + 1)" instead.
Mitigation
Install update from vendor's website.
Vulnerable software versions
Suricata: 4.1.4
External links
http://lists.openinfosecfoundation.org/pipermail/oisf-announce/
http://suricata-ids.org/2019/09/24/suricata-4-1-5-released/
http://www.code-intelligence.com/cve-2019-16411
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.