Red Hat Bugzilla – Bug 447870
CVE-2008-1804 snort: IP Fragment TTL Evasion Vulnerability
Last modified: 2008-06-06 04:01:51 EDT
iDefense released a security advisory for snort:
Remote exploitation of a design error vulnerability in Snort, as included in
various vendors' operating system distributions, could allow an attacker to
bypass filter rules.
Due to a design error vulnerability, Snort does not properly reassemble
fragmented IP packets. When receiving incoming fragments, Snort checks the Time
To Live (TTL) value of the fragment, and compares it to the TTL of the initial
fragment. If the difference between the initial fragment and the following
fragments is more than a configured amount, the fragments will be silently
discard. This results in valid traffic not being examined and/or filtered by Snort.
Exploitation of this vulnerability allows an attacker to bypass all Snort rules.
In order to exploit this vulnerability, an attacker would have to fragment IP
packets destined for a targeted host, ensuring that the TTL difference is
greater than the configured maximum. By default, the maximum difference is 5.
If an attacker is successful, all fragments with invalid TTL differences will be
dropped. No rules will be applied to them.
iDefense has confirmed the existence of this vulnerability in Snort 2.8 and 2.6.
Snort 2.4 is not vulnerable.
In the snort.conf file, set the ttl_limit configuration value to 255 as shown below.
preprocessor frag3_engine: ttl_limit 255
This will set the allowable difference to the maximum possible value, and
prevent fragments from being dropped.
Sourcefire has addressed this vulnerability by releasing version 2.8.1 of Snort.
+ updated version of snort_manual.pdf
Based on Detection part of the advisory, this should affect snort packages in F7
- F9, rawhide already has 2.8.1 which has changes above included.
snort-2.8.1-3.fc7 has been submitted as an update for Fedora 7
snort-2.8.1-3.fc8 has been submitted as an update for Fedora 8
snort-2.8.1-3.fc9 has been submitted as an update for Fedora 9
snort-2.8.1-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
snort-2.8.1-3.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
snort-2.8.1-3.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
This issue was addressed in: