Exploit-DB #18480
Description: Dolibarr ERP/CRM 3.2.0 < Alpha - File Inclusion
Type: webapps
Platform: php
Date: 2012-02-10
Author: Vulnerability-Lab

Exploit:
Title:
======
Dolibarr CMS v3.2.0 Alpha - File Include Vulnerabilities


Date:
=====
2012-02-07


References:
===========
http://www.vulnerability-lab.com/get_content.php?id=428


VL-ID:
=====
428


Introduction:
=============
Dolibarr ERP & CRM is a modern software to manage your company or foundation activity (contacts, suppliers, 
invoices, orders, stocks, agenda, ...). It s an opensource free software designed for small and medium 
companies, foundations and freelances. You can install, use and distribute it as a standalone application 
or as a web application (on mutualized or dedicated server, or on SaaS or Cloud solutions) and use it with 
any devices (desktop, smartphone, tablet).

(Copy of the Vendor Homepage: http://www.dolibarr.org/)


Abstract:
=========
Vulnerability-Lab researcher discovered a multiple File Include Vulnerabilities on Dolibarrs CMS v3.2.0 Alpha.


Report-Timeline:
================
2011-02-08:	Public or Non-Public Disclosure


Status:
========
Published


Exploitation-Technique:
=======================
Remote


Severity:
=========
Critical


Details:
========
Multiple File Include Vulnerabilities are detected on Dolibarrs Content Management System v3.2.0 Alpha.
The vulnerability allows an attacker (remote) or local low privileged user account to request local web-server 
or system files.  Successful exploitation of the vulnerability results in dbms & application compromise.

Vulnerable Module(s):
					[+] ?modulepart=project&file=
					[+] ?action=create&actioncode=AC_RDV&contactid=1&socid=1&backtopage=


Picture(s):
					../1.png
					../2.png


Proof of Concept:
=================
The vulnerabilities can be exploited by remote attackers or local low privileged user accounts. For demonstration or reproduce ...


http://server/document.php?modulepart=project&file=../[FILE INCLUDE VULNERABILITY!]

http://server/comm/action/fiche.php?action=create&actioncode=AC_RDV&contactid=1&socid=1&backtopage=../common/[FILE INCLUDE VULNERABILITY!]


Risk:
=====
The security riks of the file include vulnerabilities are estimated as high(+).


Credits:
========
Vulnerability Research Laboratory - Benjamin Kunz Mejri & Ucha Gobejishvili (longrifle0x) 


Disclaimer:
===========
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties, 
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business 
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some 
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation 
may not apply. Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability-
Lab. Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of 
other media, are reserved by Vulnerability-Lab or its suppliers.

    						Copyright � 2011|Vulnerability-Lab




-- 
Website: www.vulnerability-lab.com ; vuln-lab.com or vuln-db.com
Contact: admin@vulnerability-lab.com or support@vulnerability-lab.com