CVE-2002-0060
CVSS7.5
发布时间 :2002-03-08 00:00:00
修订时间 :2016-10-17 22:15:42
NMCO    

[原文]IRC connection tracking helper module in the netfilter subsystem for Linux 2.4.18-pre9 and earlier does not properly set the mask for conntrack expectations for incoming DCC connections, which could allow remote attackers to bypass intended firewall restrictions.


[CNNVD]Linux Kernel IRC DCC连接跟踪模块不必要端口访问漏洞(CNNVD-200203-015)

        
        Linux kernel是一个开源,自由的操作系统核心,最初由Linus Torvalds完成。在版本大于2.4.14的核心中的netfilter子系统里包含了一个连接跟踪模块,以提供对IRC DCC协议的支持,它监视外出的DCC CHAT/SEND 请求,然后将允许预期进入的DCC连接通过防火墙。
        Linux kernel 2.4.14-pre9以及更低版本中在IRC连接跟踪模块实现上存在漏洞,导致在防火墙上出现不必要的端口接受外部连接。
        当防火墙内部主机向外发起一个IRC DCC会话时,防火墙预期的动作应该是允许"来自任意IP/任意端口到特定IP/特定端口"的连接,当连接到来的时候,这个IRC DCC会话就初始化完毕。然而有问题的内核没有正确地限制访问许可,防火墙预期动作成了允许"来自任意IP/任意端口到任意IP/特定端口"的连接。这样,只要防火墙内部的某个主机向外发起一个IRC DCC请求,任意外部主机就可以连接防火墙内部任意IP的特定端口(内部主机IRC DCC请求使用的端口)。
        攻击者可能利用这个漏洞检测防火墙后面的存活主机,甚至对内部主机发起攻击。
        

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

- CPE (受影响的平台与产品)

产品及版本信息(CPE)暂不可用

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2002-0060
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2002-0060
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200203-015
(官方数据源) CNNVD

- 其它链接及资源

http://frontal2.mandriva.com/security/advisories?name=MDKSA-2002:041
(UNKNOWN)  MANDRAKE  MDKSA-2002:041
http://marc.info/?l=bugtraq&m=101483396412051&w=2
(UNKNOWN)  BUGTRAQ  20020227 security advisory linux 2.4.x ip_conntrack_irc
http://marc.info/?l=vuln-dev&m=101486352429653&w=2
(UNKNOWN)  VULN-DEV  20020227 Fwd: [ANNOUNCE] Security Advisory about IRC DCC connection tracking
http://www.kb.cert.org/vuls/id/230307
(UNKNOWN)  CERT-VN  VU#230307
http://www.netfilter.org/security/2002-02-25-irc-dcc-mask.html
(VENDOR_ADVISORY)  CONFIRM  http://www.netfilter.org/security/2002-02-25-irc-dcc-mask.html
http://www.redhat.com/support/errata/RHSA-2002-028.html
(UNKNOWN)  REDHAT  RHSA-2002:028
http://www.securityfocus.com/bid/4188
(UNKNOWN)  BID  4188
http://www1.itrc.hp.com/service/cki/docDisplay.do?docId=HPSBUX0203-027
(UNKNOWN)  HP  HPSBUX0203-027
http://xforce.iss.net/xforce/xfdb/8302
(UNKNOWN)  XF  linux-dcc-port-access(8302)

- 漏洞信息

Linux Kernel IRC DCC连接跟踪模块不必要端口访问漏洞
高危 设计错误
2002-03-08 00:00:00 2005-05-02 00:00:00
远程  
        
        Linux kernel是一个开源,自由的操作系统核心,最初由Linus Torvalds完成。在版本大于2.4.14的核心中的netfilter子系统里包含了一个连接跟踪模块,以提供对IRC DCC协议的支持,它监视外出的DCC CHAT/SEND 请求,然后将允许预期进入的DCC连接通过防火墙。
        Linux kernel 2.4.14-pre9以及更低版本中在IRC连接跟踪模块实现上存在漏洞,导致在防火墙上出现不必要的端口接受外部连接。
        当防火墙内部主机向外发起一个IRC DCC会话时,防火墙预期的动作应该是允许"来自任意IP/任意端口到特定IP/特定端口"的连接,当连接到来的时候,这个IRC DCC会话就初始化完毕。然而有问题的内核没有正确地限制访问许可,防火墙预期动作成了允许"来自任意IP/任意端口到任意IP/特定端口"的连接。这样,只要防火墙内部的某个主机向外发起一个IRC DCC请求,任意外部主机就可以连接防火墙内部任意IP的特定端口(内部主机IRC DCC请求使用的端口)。
        攻击者可能利用这个漏洞检测防火墙后面的存活主机,甚至对内部主机发起攻击。
        

- 公告与补丁

        临时解决方法:
        如果您不能立刻安装补丁或者升级,CNNVD建议您采取以下措施以降低威胁:
        * 不要使用有问题的Linux内核进行IRC DCC连接。
        * 对Linux内核源码打如下的补丁,重新编译:
        - --- linux-2.4.18-pre8-plain/net/ipv4/netfilter/ip_conntrack_irc.c Sat Dec 22 18:52:16 2001
        +++ linux-2.4.18-pre8-nfpom/net/ipv4/netfilter/ip_conntrack_irc.c Tue Feb 5 15:55:29 2002
        @@ -1,8 +1,8 @@
        - -/* IRC extension for IP connection tracking, Version 1.20
        - - * (C) 2000-2001 by Harald Welte <laforge@gnumonks.org>
        +/* IRC extension for IP connection tracking, Version 1.21
        + * (C) 2000-2002 by Harald Welte <laforge@gnumonks.org>
         * based on RR's ip_conntrack_ftp.c
         *
        - - * ip_conntrack_irc.c,v 1.20 2001/12/06 07:42:10 laforge Exp
        + * ip_conntrack_irc.c,v 1.21 2002/02/05 14:49:26 laforge Exp
         *
         * This program is free software; you can redistribute it and/or
         * modify it under the terms of the GNU General Public License
        @@ -112,9 +112,9 @@
        
         struct ip_ct_irc *info = &ct->help.ct_irc_info;
        
        - - memset(&mask, 0, sizeof(struct ip_conntrack_tuple));
        - - mask.dst.u.tcp.port = 0xFFFF;
        - - mask.dst.protonum = 0xFFFF;
        + mask = ((struct ip_conntrack_tuple)
        + { { 0, { 0 } },
        + { 0xFFFFFFFF, { 0xFFFF }, 0xFFFF }});
        
         DEBUGP("entered\n");
         /* Can't track connections formed before we registered */
        厂商补丁:
        HP
        --
        HP已经为此发布了一个安全公告(HPSBTL0203-027):
        HPSBTL0203-027:Updated 2.4 kernel available
        由于HP Secure OS Software for Linux不支持netfilter组件,所以不受此漏洞的影响。
        Linux
        -----
        目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:
        
        http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.18.tar.gz

        RedHat
        ------
        RedHat已经为此发布了一个安全公告(RHSA-2002:028-13)以及相应补丁:
        RHSA-2002:028-13:Updated 2.4 kernel available
        链接:https://www.redhat.com/support/errata/RHSA-2002-028.html
        补丁下载:
        Red Hat Linux 7.1:
        SRPMS:
        ftp://updates.redhat.com/7.1/en/os/SRPMS/kernel-2.4.9-31.src.rpm
        alpha:
        ftp://updates.redhat.com/7.1/en/os/alpha/kernel-2.4.9-31.alpha.rpm
        ftp://updates.redhat.com/7.1/en/os/alpha/kernel-smp-2.4.9-31.alpha.rpm
        ftp://updates.redhat.com/7.1/en/os/alpha/kernel-source-2.4.9-31.alpha.rpm
        ftp://updates.redhat.com/7.1/en/os/alpha/kernel-BOOT-2.4.9-31.alpha.rpm
        ftp://updates.redhat.com/7.1/en/os/alpha/kernel-headers-2.4.9-31.alpha.rpm
        ftp://updates.redhat.com/7.1/en/os/alpha/kernel-doc-2.4.9-31.alpha.rpm
        athlon:
        ftp://updates.redhat.com/7.1/en/os/athlon/kernel-2.4.9-31.athlon.rpm
        ftp://updates.redhat.com/7.1/en/os/athlon/kernel-smp-2.4.9-31.athlon.rpm
        i386:
        ftp://updates.redhat.com/7.1/en/os/i386/kernel-2.4.9-31.i386.rpm
        ftp://updates.redhat.com/7.1/en/os/i386/kernel-source-2.4.9-31.i386.rpm
        ftp://updates.redhat.com/7.1/en/os/i386/kernel-BOOT-2.4.9-31.i386.rpm
        ftp://updates.redhat.com/7.1/en/os/i386/kernel-headers-2.4.9-31.i386.rpm
        ftp://updates.redhat.com/7.1/en/os/i386/kernel-doc-2.4.9-31.i386.rpm
        i586:
        ftp://updates.redhat.com/7.1/en/os/i586/kernel-2.4.9-31.i586.rpm
        ftp://updates.redhat.com/7.1/en/os/i586/kernel-smp-2.4.9-31.i586.rpm
        i686:
        ftp://updates.redhat.com/7.1/en/os/i686/kernel-2.4.9-31.i686.rpm
        ftp://updates.redhat.com/7.1/en/os/i686/kernel-smp-2.4.9-31.i686.rpm
        ftp://updates.redhat.com/7.1/en/os/i686/kernel-enterprise-2.4.9-31.i686.rpm
        ftp://updates.redhat.com/7.1/en/os/i686/kernel-debug-2.4.9-31.i686.rpm
        ia64:
        ftp://updates.redhat.com/7.1/en/os/ia64/kernel-2.4.9-31.ia64.rpm
        ftp://updates.redhat.com/7.1/en/os/ia64/kernel-smp-2.4.9-31.ia64.rpm
        ftp://updates.redhat.com/7.1/en/os/ia64/kernel-source-2.4.9-31.ia64.rpm
        ftp://updates.redhat.com/7.1/en/os/ia64/kernel-headers-2.4.9-31.ia64.rpm
        ftp://updates.redhat.com/7.1/en/os/ia64/kernel-doc-2.4.9-31.ia64.rpm
        Red Hat Linux 7.2:
        SRPMS:
        ftp://updates.redhat.com/7.2/en/os/SRPMS/kernel-2.4.9-31.src.rpm
        athlon:
        ftp://updates.redhat.com/7.2/en/os/athlon/kernel-2.4.9-31.athlon.rpm
        ftp://updates.redhat.com/7.2/en/os/athlon/kernel-smp-2.4.9-31.athlon.rpm
        i386:
        ftp://updates.redhat.com/7.2/en/os/i386/kernel-2.4.9-31.i386.rpm
        ftp://updates.redhat.com/7.2/en/os/i386/kernel-source-2.4.9-31.i386.rpm
        ftp://updates.redhat.com/7.2/en/os/i386/kernel-BOOT-2.4.9-31.i386.rpm
        ftp://updates.redhat.com/7.2/en/os/i386/kernel-headers-2.4.9-31.i386.rpm
        ftp://updates.redhat.com/7.2/en/os/i386/kernel-doc-2.4.9-31.i386.rpm
        i586:
        ftp://updates.redhat

- 漏洞信息

5391
Linux Kernel IPTables / Netfilter IRC Connection Tracking Module Firewall Bypass
Remote / Network Access Authentication Management, Infrastructure, Misconfiguration
Loss of Confidentiality
Exploit Public

- 漏洞描述

The IRC connection tracking module of netfilter (iptables) in the Linux kernel contains a flaw that may allow a malicious user to bypass the intended firewall rules. The issue is triggered when a user attempts to connect through the IRC connection tracking module. Instead of being tracked by incoming destination address and incoming destination port, the incoming connections are only tracked by port. It is possible that the flaw may allow unintended connections to pass through the firewall, resulting in a loss of confidentiality.

- 时间线

2002-02-22 Unknow
2002-02-22 Unknow

- 解决方案

Upgrade to version 2.4.18-pre8 or higher, as it has been reported to fix this vulnerability. It is also possible to correct the flaw by applying the vendor-supplied patch.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站