PJBlog 3.0.6.170 Action.asp页面跨站脚本攻击漏洞

2009-5-9 21:11:44  分类:漏洞信息  作者:xloong 已被围观loading 被网友评论1条 我要评论

PJBlog 3.0.6.170 Action.asp页面跨站脚本攻击漏洞

影响版本:PJBlog 3.0.6.170

程序介绍:
PJBlog一套开源免费的中文个人博客系统程序,采用asp+Access的技术,具有相当高的运作效能以及更新率,也支持目前Blog所使用的新技术。

漏洞分析:
在文件Action.asp中:

elseif request("action")="type1" then //第23行
dim  mainurl,main,mainstr
mainurl=request("mainurl")
main=trim(checkstr(request("main")))
response.clear()
mainstr=""
If  Len(memName)>0 Then mainstr=mainstr&"<img  src=""images/download.gif"" alt=""下载文件"" style=""margin:0px 2px -4px 0px""/> <a href="""&mainurl&"""  target=""_blank"">"&main&"</a>"

程序对于输出变量mainurl和main没有过滤导致xss漏洞的产生。在同文件42行代码类似

漏洞利用:
http://www.target.com/Action.asp?action=type1&mainurl=xxx">[XSS]

解决方案:
厂商补丁:
PJblog
-------
目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:
http://bbs.pjhome.net/thread-52214-1-1.html

信息来源:
<*来源: Bug.Center.Team http://www.cnbct.org
链接: http://wavdb.com/vuln/1408 *>

相关:
PJBlog 3.0.6.170 cls_logAction.asp SQL注入漏洞
PJBlog 3.0.6.170 Getarticle.asp页面跨站脚本攻击XSS漏洞
PJblog V3.0 0day Vbs版漏洞利用工具exploit

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
如原创文章转载,请注明: 转自:夜火博客 [ http://www.15897.com/ ]

本文链接地址: http://www.15897.com/blog/post/PJBlog-3.0.6.170-Action.asp-XSS.html

Tags: PJblog   XSS   漏洞信息  

| More

已有1位网友对本文做了一针见血的评论 【我要评论

评论:



< # TEMPLATE_INCLUDE_POSTAD # >
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

订阅RSS

搜 索

最新发表

最新评论

最新留言

其 他