Secunia Logo
Netsikker nu! 2008
 
CONTROLzx HMS Cross-Site Scripting and SQL Injection
Secunia Advisory: SA17755
Release Date: 2005-11-29
Last Update: 2006-04-20
Popularity: 5,083 views

Critical:
Less critical
Impact: Cross Site Scripting
Manipulation of data
Where: From remote
Solution Status: Vendor Patch

Software:CONTROLzx HMS 3.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-4366


Description:
r0t has reported some vulnerabilities in CONTROLzx HMS, which can be exploited by malicious users to conduct SQL injection attacks and by malicious people to conduct cross-site scripting attacks.

1) Some input passed in the customer interface isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Examples:
http://[host]/customers/domains.php?plan_id=[code]
http://[host]/customers/viewinvoice.php?invoiceID=[code]
http://[host]/customers/viewplan.php?customerPlanID=[code]
http://[host]/customers/referred_plans.php?ref_id=[code]
http://[host]/customers/referred_plans.php?sort=id&order=asc&ref_id=[code]
http://[host]/customers/viewusage.php?plan_id=[code]
http://[host]/customers/listcharges.php?customerPlanID=[code]
http://[host]/customers/pop_accounts.php?plan_id=[code]
http://[host]/customers/pop_accounts.php?plan_id=35&domain=[code]
http://[host]/customers/databases.php?plan_id=[code]
http://[host]/customers/databases.php?plan_id=35&domain=[code]
http://[host]/customers/ftp_users.php?plan_id=[code]
http://[host]/customers/ftp_users.php?plan_id=35&domain=[code]
http://[host]/customers/crons.php?plan_id=[code]
http://[host]/customers/crons.php?plan_id=35&domain=[code]
http://[host]/customers/pass_dirs.php?plan_id=[code]
http://[host]/customers/pass_dirs.php?plan_id=35&domain=[code]
http://[host]/customers/zone_files.php?plan_id=[code]
http://[host]/customers/zone_files.php?plan_id=35&domain=[code]
http://[host]/customers/htaccess.php?plan_id=[code]
http://[host]/customers/htaccess.php?plan_id=35&domain=[code]
http://[host]/customers/software.php?plan_id=[code]
http://[host]/customers/software.php?plan_id=35&domain=[code]

2) Input passed to the "sld" parameter in "register_domain.php" and the "customerEmailAddress" parameter in "login.php" isn't properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

The vulnerabilities have been reported in version 3.2 and prior. Other versions may also be affected.

Solution:
Update to version 3.3.8.

Provided and/or discovered by:
r0t

2) Additional information provided by vipsta.

Changelog:
2005-12-08: Added additional information provided by vipsta. Updated "Description" section.
2006-01-13: Added CVE reference.
2006-02-01: Updated "Solution" section.
2006-03-28: Updated "Solution" section.
2006-04-20: Updated "Description" and "Solution" sections.

Original Advisory:
http://pridels.blogspot.com/2005/11/drzes-hms-32-multiple-vuln.html


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

7th Oct, 2008
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 362 views
Debian update for php5
Moderately // 291 views
Atarone CMS Multiple Vulnerabilities
Moderately // 318 views
Debian update for squid
Less // 317 views
SUSE update for mercurial
Moderately // 366 views
SUSE update for openssh
Less // 296 views
Fedora update for mediawiki

Solutions | More...  


Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Zeroboard Multiple Vulnerabilities // 55 views
2. Zeroboard Two Vulnerabilities // 52 views
3. phpBB BBcode "url" Script Insertion Vulnerability // 42 views
4. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 39 views
5. phpBB "url" bbcode Script Insertion Vulnerability // 39 views
6. HP-UX NFS/ONCplus Denial of Service Vulnerability // 33 views
7. D-Bus "_dbus_validate_signature_with_reason()" Denial of Service // 28 views
8. SUSE update for openssh // 27 views
9. Atarone CMS Multiple Vulnerabilities // 26 views
10. H-Sphere webshell4 Cross-Site Scripting and Request Forgery // 26 views