Description
|
|
Multiple vulnerabilities have been reported in Dolibarr CMS, which can be exploited by malicious users to conduct script insertion and SQL injection attacks and by malicious people to conduct cross-site scripting attacks.
1) Input passed via the "entity" POST parameter to user/fiche.php (when "action" is set to "update", "save" is set to "Save", and "id", "lastname", "photo", "firstname", "job", "login", "password", "admin", "superadmin", "office_phone", "user_mobile", "office_fax", "email", "signature", "accountancy_code", and "token" are set) is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
2) Input passed via multiple parameters to multiple scripts is not 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.
List of affected scripts and parameters:
<a href="http://[host]/index.php?mainmenu=home&dol_hide_leftmenu
" target="_blank">http://[host]/index.php?mainmenu=home&dol_hide_leftmenu
</a>
<a href="http://[host]/index.php?mainmenu=home&dol_use_jmobile
" target="_blank">http://[host]/index.php?mainmenu=home&dol_use_jmobile
</a>
<a href="http://[host]/index.php?mainmenu=home&dol_optimize_smallscreen
" target="_blank">http://[host]/index.php?mainmenu...mp;dol_optimize_smallscreen
</a>
<a href="http://[host]/index.php?mainmenu=home&dol_no_mouse_hover
" target="_blank">http://[host]/index.php?mainmenu=home&dol_no_mouse_hover
</a>
<a href="http://[host]/index.php?mainmenu=home&dol_hide_topmenu
" target="_blank">http://[host]/index.php?mainmenu=home&dol_hide_topmenu
</a>
<a href="http://[host]/index.php?leftmenu=&optioncss=print&mainmenu
" target="_blank">http://[host]/index.php?leftmenu...ptioncss=print&mainmenu
</a>
<a href="http://[host]/user/logout.php?dol_hide_leftmenu
" target="_blank">http://[host]/user/logout.php?dol_hide_leftmenu
</a>
<a href="http://[host]/user/logout.php?dol_use_jmobile
" target="_blank">http://[host]/user/logout.php?dol_use_jmobile
</a>
<a href="http://[host]/user/logout.php?dol_optimize_smallscreen
" target="_blank">http://[host]/user/logout.php?dol_optimize_smallscreen
</a>
<a href="http://[host]/user/logout.php?dol_no_mouse_hover
" target="_blank">http://[host]/user/logout.php?dol_no_mouse_hover
</a>
<a href="http://[host]/user/logout.php?dol_hide_topmenu
" target="_blank">http://[host]/user/logout.php?dol_hide_topmenu
</a>
<a href="http://[host]/viewimage.php?entity=1&file=2&cache=0&modulepart
" target="_blank">http://[host]/viewimage.php?enti...&cache=0&modulepart
</a>
<a href="http://[host]/viewimage.php?entity=1&modulepart=userphoto&cache=0&file
" target="_blank">http://[host]/viewimage.php?enti...rphoto&cache=0&file
</a>
<a href="http://[host]/user/index.php?dol_hide_leftmenu
" target="_blank">http://[host]/user/index.php?dol_hide_leftmenu
</a>
<a href="http://[host]/user/index.php?dol_use_jmobile
" target="_blank">http://[host]/user/index.php?dol_use_jmobile
</a>
<a href="http://[host]/user/index.php?dol_optimize_smallscreen
" target="_blank">http://[host]/user/index.php?dol_optimize_smallscreen
</a>
<a href="http://[host]/user/index.php?dol_no_mouse_hover
" target="_blank">http://[host]/user/index.php?dol_no_mouse_hover
</a>
<a href="http://[host]/user/index.php?dol_hide_topmenu
" target="_blank">http://[host]/user/index.php?dol_hide_topmenu
</a>
3) Input passed via the Email, First Name, Last Name, Login, and Job fields in the User Card form is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site if malicious data is viewed.
The vulnerabilities are reported in version 3.5.3. Prior versions may also be affected.
|