Light Blog add_comment.php cross-site scripting
| lightblog-addcomment-xss (34753) |
Description:
Light Blog is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the add_comment.php script. A remote attacker could exploit this vulnerability using the id parameter to inject malicious script into a Web page which would be executed in a victim's Web browser within the security context of the hosting Web site, once the page is viewed. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.
Platforms Affected:
- Peter Bailey, Light Blog 4.1 prior 6/6/2007
Remedy:
Upgrade to the latest version of LightBlog (4.1 6/6/2007 or later), available from the LightBlog Web site. See References.
Consequences:
Gain Access
References:
- BugTraq Mailing List, Wed Jun 06 2007 - 14:21:20 CDT , Light Blog 4.1 XSS Vulnerability at http://archives.neohapsis.com/archives/bugtraq/2007-06/0074.html.
- Light Blog Web site, LightBlog at http://www.publicwarehouse.co.uk/php_scripts/lightblog.php.
- Secure Vision Web site, Light Blog- Cross site Scripting (XSS) at http://www.secvsn.com/content/Advisories/sr-060607-lightblog.html.
- BID-24741: LightBlog Add_Comment.PHP Cross-Site Scripting Vulnerability
- BID-24752: LightBlog Main.PHP Arbitrary File Upload Vulnerability
- CVE-2007-3131: Cross-site scripting (XSS) vulnerability in add_comment.php in Light Blog 4.1 before 20070606 allows remote attackers to inject arbitrary web script or HTML via the id parameter.
- SA25561: LightBlog "id" Cross-Site Scripting Vulnerability
Reported:
Jun 06, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
