module

Dolibarr ERP/CRM Post-Auth OS Command Injection

Disclosed
Apr 6, 2012
Created
May 30, 2018

Description

This module exploits a vulnerability found in Dolibarr ERP/CRM 3's
backup feature. This software is used to manage a company's business
information such as contacts, invoices, orders, stocks, agenda, etc.
When processing a database backup request, the export.php function
does not check the input given to the sql_compat parameter, which allows
a remote authenticated attacker to inject system commands into it,
and then gain arbitrary code execution.

Authors

Platform

Linux,Unix

Architectures

cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/linux/http/dolibarr_cmd_exec
msf exploit(dolibarr_cmd_exec) > show targets
...targets...
msf exploit(dolibarr_cmd_exec) > set TARGET < target-id >
msf exploit(dolibarr_cmd_exec) > show options
...show and set options...
msf exploit(dolibarr_cmd_exec) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.