MS08-001 - The case of the missing Windows Server 2003 attack vector

Part 3 of our MS08-001 blog post series
<http://blogs.technet.com/swi/archive/2008/01/08/ms08-001-part-3-the-c...
-the-igmp-network-critical.aspx>  mentioned that Windows Server 2003 does
not expose an attack vector to the vulnerable IGMP code execution
vulnerability by default.  Windows XP and Vista enable UPnP (Universal
Plug-and-Play) which exposes an attack vector to the vulnerable code but
Windows Server 2003 does not enable UPnP.  As a result, the WS03 machine
will ignore IGMP messages received from the network.

We have received a few questions about Windows Server 2003's exposure to the
IGMP vulnerability.

Question 1: By default, Win2k3 server joins to multicast group 224.0.0.1
<http://224.0.0.1/> . Does it mean that Win2K3 is vulnerable by default? And
the rating in MSRC bulletin is wrong?

Answer:  The bulletin rating is correct. Win2k3 server is not vulnerable to
IGMP issue when it only joins to 224.0.0.1 <http://224.0.0.1/> .

Observe the netsh command output on a default configuration of Win2K3
server:

 

>netsh int ip show joins

Interface Addr   Multicast Group

---------------  ---------------

10.1.1.1         224.0.0.1 <http://224.0.0.1/>

224.0.0.1 <http://224.0.0.1/>  is all hosts on the subnet. The reason that
win2k3 server is not vulnerable despite being joined to  224.0.0.1
<http://224.0.0.1/>  is because Windows ignores IGMP queries to that
address.  Here's the actual code:

    } else {
      // If all-hosts address, ignore it
      if (IP_ADDR_EQUAL(IQH->igh_addr, ALL_HOST_MCAST)) {
          DEBUGMSG(DBG_WARN && DBG_IGMP,
                    (DTEXT("Dropping IGMPv3 query for the All-Hosts
group/n")));
          return;
      }

Question 2: How can I tell whether my Windows Server 2003 machine is
vulnerable?

Answer: If the server joins to any multicast group other than 224.0.0.1
<http://224.0.0.1/> , then it is vulnerable to IGMP attack.

Using the following netsh command will show the multicast groups to which
the machine is joined.

netsh int ip show joins

For example, if the WINS component is enabled in Win2k3 server, the output
of the netsh command above would be:

Interface Addr   Multicast Group

---------------  ---------------

10.1.1.1         224.0.0.1 <http://224.0.0.1/>  
10.1.1.1 <http://10.1.1.1/>          224.0.1.24 <http://224.0.1.24/>

224.0.1.24 <http://224.0.1.24/>  is IP multicast group for WINS. The
configuration above (if unpatched) is vulnerable to the IGMP attack.

Question 3: Even if a server is not joined to a multicast group other than
224.0.0.1 <http://224.0.0.1/> , could it still be affected if an attacker
sent a *unicast* IGMP packet?

Answer: No. Though the host would receive the unicast IGMP packet, valid
multicast address needs to be contained in IGMP query payload so the packet
would be ignored.

Published Thursday, January 10, 2008 5:00 PM by migrady
<http://blogs.technet.com/user/Profile.aspx?UserID=26018>  

Filed under: IGMP
<http://blogs.technet.com/swi/archive/tags/IGMP/default.aspx> , attack
vector
<http://blogs.technet.com/swi/archive/tags/attack+vector/default.aspx> ,
UPnP <http://blogs.technet.com/swi/archive/tags/UPnP/default.aspx> ,
multicast group
<http://blogs.technet.com/swi/archive/tags/multicast+group/default.aspx> ,
netsh <http://blogs.technet.com/swi/archive/tags/netsh/default.aspx>

[Ph4nt0m]  <http://www.ph4nt0m.org/>

[Ph4nt0m Security Team]

                    <http://blog.ph4nt0m.org/> 刺@ph4nt0m

          Email:  a...@ph4nt0m.org

          PingMe:
<http://cn.pingme.messenger.yahoo.com/webchat/ajax_webchat.php?yid=han...
hq&sig=9ae1bbb1ae99009d8859e88e899ab2d1c2a17724>

          === V3ry G00d, V3ry Str0ng ===

          === Ultim4te H4cking ===

          === XPLOITZ ! ===

          === #_# ===

#If you brave,there is nothing you cannot achieve.#  

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值