Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1182059 - (CVE-2014-8160) CVE-2014-8160 kernel: iptables restriction bypass if a protocol handler kernel module not loaded
CVE-2014-8160 kernel: iptables restriction bypass if a protocol handler kerne...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20140925,repor...
: Security
Depends On: 1114697 1170520 1182063 1182064 1182071 1182072
Blocks: 1115023
  Show dependency treegraph
 
Reported: 2015-01-14 06:16 EST by Vasyl Kaigorodov
Modified: 2018-08-28 17:56 EDT (History)
35 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A flaw was found in the way the Linux kernel's netfilter subsystem handled generic protocol tracking. As demonstrated in the Stream Control Transmission Protocol (SCTP) case, a remote attacker could use this flaw to bypass intended iptables rule restrictions when the associated connection tracking module was not loaded on the system.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:0284 normal SHIPPED_LIVE Important: kernel security and bug fix update 2015-03-03 12:49:58 EST
Red Hat Product Errata RHSA-2015:0290 normal SHIPPED_LIVE Important: kernel security, bug fix, and enhancement update 2015-03-05 11:13:58 EST
Red Hat Product Errata RHSA-2015:0674 normal SHIPPED_LIVE Important: kernel security and bug fix update 2015-03-11 15:27:24 EDT

  None (edit)
Description Vasyl Kaigorodov 2015-01-14 06:16:57 EST
It was reported [1] that iptables can allow protocols that do not have a protocol handler kernel module loaded.

Given following iptables ruleset:
-P FORWARD DROP
-A FORWARD -m sctp --dport 9 -j ACCEPT
-A FORWARD -p tcp --dport 80 -j ACCEPT
-A FORWARD -p tcp -m conntrack -m state ESTABLISHED,RELATED -j ACCEPT

One would assume that this allows SCTP on port 9 and TCP on port 80.
Unfortunately, if the SCTP conntrack module is not loaded, this allows *all* SCTP communication to pass through, i.e. -p sctp -j ACCEPT

[1]: http://www.spinics.net/lists/netfilter-devel/msg33430.html
Comment 2 Vasyl Kaigorodov 2015-01-14 06:22:00 EST
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1182063]
Comment 4 Petr Matousek 2015-01-14 06:39:46 EST
Upstream patch:

git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=db29a9508a9246e77087c5531e45b2c88ec6988b
Comment 5 errata-xmlrpc 2015-03-03 07:52:00 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6.5 EUS - Server and Compute Node Only

Via RHSA-2015:0284 https://rhn.redhat.com/errata/RHSA-2015-0284.html
Comment 7 errata-xmlrpc 2015-03-05 08:04:27 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:0290 https://rhn.redhat.com/errata/RHSA-2015-0290.html
Comment 8 errata-xmlrpc 2015-03-11 11:29:43 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2015:0674 https://rhn.redhat.com/errata/RHSA-2015-0674.html
Comment 9 Dominik Mierzejewski 2016-04-18 11:50:14 EDT
What's the status of this bug WRT RHEL5?

Note You need to log in before you can comment on or make changes to this bug.