myBloggie index.php Multiple Variable XSS

2005-05-05T06:44:30
ID OSVDB:16360
Type osvdb
Reporter Alberto Trivero(trivero@jumpy.it)
Modified 2005-05-05T06:44:30

Description

Vulnerability Description

myBloggie contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'year', 'cat_id', 'month_no' or 'post_id' variables upon submission to the 'index.php' script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.

Solution Description

Upgrade to version 2.1.2 or higher, as it has been reported to fix this vulnerability. In addition, myWebland has released a patch for some older versions.

Short Description

myBloggie contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate the 'year', 'cat_id', 'month_no' or 'post_id' variables upon submission to the 'index.php' script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.

Manual Testing Notes

http://[victim]/mybloggie/index.php?month_no=3&year=%3Cscript%3Ealert(document.cookies)%3C/script%3E

http://[victim]/mybloggie/index.php?mode=viewcat&cat_id=%3C%73%63%72%69%70%74%3E%61%6C%65%72%74%28%64%6F%63%75%6D%65%6E%74%2E%63%6F%6F%6B%69%65%29%3C%2F%73%63%72%69%70%74%3EC

http://[victim]/mybloggie/index.php?mode=viewmonth&month_no=%3C%73%63%72%69%70%74%3E%61%6C%65%72%74%28%64%6F%63%75%6D%65%6E%74%2E%63%6F%6F%6B%69%65%29%3C%2F%73%63%72%69%70%74%3E

http://[victim]/mybloggie/index.php?mode=viewid&post_id=%3C%73%63%72%69%70%74%3E%61%6C%65%72%74%28%64%6F%63%75%6D%65%6E%74%2E%63%6F%6F%6B%69%65%29%3C%2F%73%63%72%69%70%74%3E

References:

Vendor URL: http://www.mywebland.com/ Vendor Specific Solution URL: http://mywebland.com/forums/viewtopic.php?t=180 Related OSVDB ID: 16361 Related OSVDB ID: 16359 Related OSVDB ID: 16362 Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2005-05/0049.html ISS X-Force ID: 20436 CVE-2005-1498 Bugtraq ID: 13507