Light Blog 4.1 XSS Vulnerability

2007-06-11T00:00:00
ID SECURITYVULNS:DOC:17211
Type securityvulns
Reporter Securityvulns
Modified 2007-06-11T00:00:00

Description

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(1234567576)%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