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 SA47969

Dolibarr ERP/CRM SQL and Command Injection Vulnerabilities
Secunia Advisory SA47969
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2012-02-10
Last Update 2012-04-09
   
Popularity 497 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Manipulation of data
System access
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Unpatched
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
Remediation status Secunia VIM
   
Software:
Dolibarr ERP/CRM 3.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2012-1225 CVSS available in Customer Area
  

Description

Multiple vulnerabilities have been discovered in Dolibarr ERP/CRM, which can be exploited by malicious users to conduct SQL injection attacks and compromise a vulnerable system.

1) Input passed via the "rowid" parameter to adherents/fiche.php not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires the "Members" module within the "Human Resource Management" section to be enabled (disabled by default) and "Read members" permissions.

2) Input passed via the "sql_compat" parameter to admin/tools/export.php is not properly sanitised before being used in an "popen()" call. This can be exploited to inject and execute arbitrary shell commands.

Successful exploitation of this vulnerability requires administrator privileges.

The vulnerabilities are confirmed in version 3.1.1. Other versions may also be affected.


Solution
Edit the source code to ensure that input is properly sanitised.

Provided and/or discovered by
1) Benjamin Kunz Mejri and Ucha Gobejishvili, Vulnerability-Lab.
2) Nahuel Grisolia.

Changelog
Further details available in Customer Area

Original Advisory
Vulnerability Lab:
http://www.vulnerability-lab.com/get_content.php?id=427

Nahuel Grisolia:
http://seclists.org/fulldisclosure/2012/Apr/78

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: Dolibarr ERP/CRM SQL and Command Injection 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