阿里旺旺2010远程代码执行漏洞

- AV AC AU C I A
发布: 2025-04-13
修订: 2025-04-13

### 漏洞复现 阿里旺旺2010版本的ImageMan.dll动态链接库中,有一个COM接口负责处理图片信息,其中有一个函数AutoPic存在漏洞,当在html中加载这个COM接口,并传入特殊字符串时,会由于对字符串长度没有进行检查,在拷贝时读取到不可用地址,从而导致程序进入SEH异常处理,通过超长payload可以覆盖SEH指针从而达到eip可控的效果,下面对此漏洞进行详细分析。 首先安装阿里旺旺2010,之后用IE打开,发现IE崩溃,通过附加windbg,可以到达漏洞崩溃位置。 ``` (a5c.628): Access violation - code c0000005 (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. eax=00000041 ebx=1003ed3c ecx=020dfefc edx=fdf20104 esi=00000041 edi=020e0000 eip=1003406b esp=020deedc ebp=020deee4 iopl=0 nv up ei pl zr na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010246 *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Program Files\AliWangWang\Pictool\ImageMan.dll - ImageMan!DllUnregisterServer+0x32e70: 1003406b 8807 mov byte ptr [edi],al ds:0023:020e0000=4d ``` 此时edi因为引用了一个不可写地址,从而引发了异常,继续执行。 ``` 0:008> g (a5c.628): Access violation - code c0000005 (first chance) First chance exceptions are reported...

0%
暂无可用Exp或PoC
当前有0条受影响产品信息