Microsoft IIS ASP远程缓冲区溢出漏洞(MS06-034)
发布日期:2006-07-11
更新日期:2006-07-19
受影响系统:Microsoft IIS 5.0
- Microsoft Windows 2000 SP4
Microsoft IIS 5.1
- Microsoft Windows XP Professional SP2
- Microsoft Windows XP Professional SP1
- Microsoft Windows XP 64-bit Edition
Microsoft IIS 6.0
- Microsoft Windows 2003
描述:
BUGTRAQ ID:
18858
CVE(CAN) ID:
CVE-2006-0026
Microsoft IIS是Microsoft Windows自带的一个网络信息服务器,其中包含HTTP服务功能。
IIS实现上存在缓冲区溢出漏洞,远程攻击者可能利用此漏洞在服务器上执行任意指令。
IIS的ASP.DLL的include函数检查参数是否大于260个字节。如果大于的话就会报错,但在报错之前执行了错误的计算。
mov edi, [ebp+var_228] ; load length of parameter
cmp edi, 104h ; check if larger than 260 bytes
jbe short loc_
mov esi, [ebp+var_22C] ; load address of parameter
lea eax, [edi+esi-104h] ; load eax with the address of the last
; 260 bytes of the parameter
; (length of string+source of string)-
104h
lea edx, [ebp+var_211] ; load edx with address on stack
sub edx, eax ;
mov cl, [eax] ; \
mov [edx+eax], cl ; do the copy
inc eax ; and overflow the stack
test cl, cl ; /
jnz short loc_7096D1F3 ;
攻击者可以通过创建特制的Active Server Pages(ASP)文件来利用这个漏洞,如果IIS处理了该文件的话就会导致执行任意指令。利用这个漏洞必须有效的登录凭据,成功利用这个漏洞的攻击者可以当前用户权限执行指令。
<*来源:Brett Moore (
brett.moore@SECURITY-ASSESSMENT.COM)
链接:
http://marc.theaimsgroup.com/?l=bugtraq&m=115327071231004&w=2
http://www.microsoft.com/technet/security/bulletin/ms06-034.mspx
http://www.us-cert.gov/cas/techalerts/TA06-192A.html
*>
测试方法:
警 告
以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!
<!-- #include file="<long buffer>"
建议:
厂商补丁:
Microsoft
---------
Microsoft已经为此发布了一个安全公告(MS06-034)以及相应补丁:
MS06-034:Vulnerability in Microsoft Internet Information Services using Active Server Pages Could Allow Remote Code Execution (917537)
链接:
http://www.microsoft.com/technet/security/bulletin/ms06-034.mspx浏览次数:5567
严重程度:0(网友投票)