SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   SugarSales (SugarCRM) Vendors:   SugarCRM Inc.
SugarCRM Input Validation Holes Let Remote Users View Files, Inject SQL Commands, and Conduct Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1012373
SecurityTracker URL:  http://securitytracker.com/id/1012373
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Dec 2 2004
Impact:   Disclosure of authentication information, Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
Exploit Included:  Yes  
Version(s): 2.5 and prior versions
Description:   Several vulnerabilities were reported in SugarCRM. A remote user can conduct cross-site scripting attacks, inject SQL commands, and view files on the target system.

James Bercegay of the GulfTech Security Research Team reported that a remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the SugarCRM software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

Some demonstration exploit URLs are provided:

/index.php?action=UnifiedSearch&module=Home&search_form=false&query _string=%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E

/index.php?module=Accounts&action=ListView&query=true&name=[XSS]

/index.php?action=index&module=Home&mod_strings[LNK_NEW_CONTACT]= %3Cscript%3Ealert(document.cookie)%3C/script%3E

/modules/Users/Error.php?app_strings[NTC_CLICK_BACK]=%3Cscript%3Ealert(document.cookie)%3C/script%3E

It is also reported that Damon Wood discovered that nearly all fields used when adding emails, calls, contacts, and accounts and other obejcts are not properly filtered to remove HTML code.

It is also reported that the 'record' variable is not properly validated, allowing a remote user to inject SQL commands:

index.php?action=DetailView&module=Accounts&record=[SQL]

It is also reported that a remote user can view files on the target system with the privileges of the target web service:

/index.php?module=Opportunities&action=../../../../../../../../etc/passwd%00&advanced=true

/index.php?action=DetailView&module=../../../../../etc/passwd%00

Versions 1.5, 2.0, and 2.5 are affected, except that the SQL injection flaws have
been corrected in version 2.5.

The original advisory is available at:

http://www.gulftech.org/?node=research&article_id=00053-120104

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the SugarCRM software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A remote user can inject SQL commands to be executed on the underlying database.

A remote user can view arbitrary files on the target system with the privileges of the target web service.

Solution:   The SQL injection flaws have been corrected in version 2.5.

No solution was available at the time of this entry for the remaining flaws.

Vendor URL:  www.sugarcrm.com/home/ (Links to External Site)
Cause:   Access control error, Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents



[Original Message Not Available for Viewing]


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC