---
title: "CVE-2012-10059\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2012-10059?format=md
keywords: index, follow
---

# CVE-2012-10059

Publication date 13 August 2025

Last updated 17 August 2026

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

Dolibarr ERP/CRM versions <= 3.1.1 and <= 3.2.0 contain a
post-authenticated OS command injection vulnerability in its database
backup feature. The export.php script fails to sanitize the sql\_compat
parameter, allowing authenticated users to inject arbitrary system
commands, resulting in remote code execution on the server.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| dolibarr | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.04 LTS noble | Not in release |
| 22.04 LTS jammy | Not in release |
| 16.04 LTS xenial | Needs evaluation |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v4.0

**Base score**

9.4 · Critical

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Attack requirements | None |
  | Privileges required | Low |
  | User interaction | None |
  | Vulnerable system - Confidentiality impact | High |
  | Vulnerable system - Integrity impact | High |
  | Vulnerable system - Availability impact | High |
  | Subsequent system - Confidentiality impact | High |
  | Subsequent system - Integrity impact | High |
  | Subsequent system - Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.4 · Critical |
  | Base + Threat score | - |
  | Base + Environmental score | - |
  | Base + Threat + Environmental score | - |

**Vector:** CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-10059)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2012-10059)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2012-10059)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2012-10059)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2012-10059>
* <https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dolibarr_cmd_exec.rb>
* <https://seclists.org/fulldisclosure/2012/Apr/78>
* <https://www.dolibarr.org/>
* <https://www.exploit-db.com/exploits/18724>
* <https://www.exploit-db.com/exploits/18725>
* <https://www.vulncheck.com/advisories/dolibarr-erp-crm-post-auth-os-command-injection>
