Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA37464

SugarCRM Multiple Vulnerabilities
Secunia Advisory SA37464
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2009-11-26
   
Popularity 3,020 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Security Bypass
Manipulation of data
System access
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Vendor Patch
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
   
Software:
SugarCRM 5.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) No CVE references.

  

Description

Janek Vind has reported some vulnerabilities in SugarCRM, which can be exploited by malicious users to conduct SQL injection attacks, bypass certain security restrictions, and compromise a vulnerable system.

1) Input passed via the "current_query_by_page" parameter to multiple scripts is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Examples:
http://[host]/index.php?module=Project&action=index&Project2_PROJECT_offset=1&current_query_by_page=[code]
http://[host]/index.php?module=Opportunities&action=index&Opportunities2_OPPORTUNITY_offset=1&current_query_by_page=[code]
http://[host]/index.php?module=Project&action=index&Project2_PROJECT_offset=1&current_query_by_page=[code]
http://[host]/index.php?module=Cases&action=index&Cases2_CASE_offset=1&current_query_by_page=[code]
http://[host]/index.php?module=Bugs&action=index&Bugs2_BUG_offset=1&current_query_by_page=[code]
http://[host]/index.php?module=Tasks&Tasks2_TASK_offset=1&current_query_by_page=[code]
http://[host]/index.php?module=Meetings&action=index&return_module=Meetings&return_action=DetailView&Meetings2_MEETING_offset=1&current_query_by_page=[code]
http://[host]/index.php?module=Calls&action=index&return_module=Calls&return_action=DetailView&Calls2_CALL_offset=1&current_query_by_page=[code]
http://[host]/index.php?module=Notes&action=index&return_module=Notes&return_action=DetailView&Notes2_NOTE_offset=1&current_query_by_page=[code]

2) The application does not properly restrict access to the delete functionality, which can be exploited to delete arbitrary files from the webroot of the application.

3) Input passed via the "file" parameter to index.php (when "entryPoint" is set to "HandleAjaxCall" and "method" is set to "performInstall") is not properly sanitised before being used to include files. This can be exploited to include arbitrary files from local and remote resources.

4) The application does not properly restrict access to the Backup functionality, which can be exploited to create and download backup files.

5) The application does not properly restrict access to the "Upgrade Wizard" functionality, which can be exploited to execute arbitrary PHP code by uploading a PHP file compressed in ZIP format.

6) An error in the .htaccess file when SugarCRM is installed on the Windows platform can be exploited to access files directly via uppercase characters.

The vulnerabilities are reported in versions 5.2.0j and 5.5.0.RC2. Other versions may also be affected


Solution
Update to version 5.2.0k.
Further details available in Customer Area

Provided and/or discovered by
Janek Vind

Original Advisory
http://www.waraxe.us/advisory-76.html

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: SugarCRM Multiple Vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability