最近因为搬家不能上网,闲得无聊于是从网上下载各种各样的程序下来读,找找漏洞。尽管很多的程序漏洞依然大面积存在,但是也很开心的看到更多的程序也变得很安全,有的甚至真的找不出来明显的安全漏洞。看来程序员的防范思路都很不错,学到不少安全方面的东西。尽管一些简单而明显的漏洞已经很难发现了,但是还是有些地方需要注意的,一些漏洞在asp+access环境下尽管利用很苛刻,但是危害很大,这里我就以一些雪人论坛修改版本做例子说一下这些有点苛刻的漏洞危害与利用。
雪人论坛是国内的比较大的一个论坛,asp+access结构,早期的时候听说过存在过Sql注入漏洞。他的修改版本众多,我就找了个叫做颓废者论坛的修改版本,大家可以去中国站长站上看下其他的修改版本,我大致看了下,大部分都是存在这种漏洞的。颓废者论坛本来的作者也是对安全有一定了解的,所以本来是不抱什么希望找出什么大的漏洞,但是当我看到index.asp代码也就是用户进入论坛时第一个调用的文件的时候,我知道,漏洞出现了。看看index.asp里面的一些代码,我的是颓废者论坛(简约版),其他版本核心代码也是一样的哦:
Determina Security Research has discovered a vulnerability in the USER32.DLL code responsible for loading animated cursor (.ANI) files. This vulnerability can be exploited by a malicious web page or HTML email message and results in remote code execution with the privileges of the logged-in user. The vulnerable code is present in all versions of Windows up to and including Windows Vista. All applications that use the standard Windows API for loading cursors and icons are affected. This includes Windows Explorer, Internet Explorer, Mozilla Firefox, Outlook and others.
Microsoft fixed a closely related vulnerability with the MS05-002 security update, but their fix was incomplete. Determina Security Research was able to bypass