CVE-2016-4338
The mysql user parameter configuration script (userparameter_mysql.conf) in the agent in Zabbix...
The mysql user parameter configuration script (userparameter_mysql.conf) in the agent in Zabbix before 2.0.18, 2.2.x before 2.2.13, and 3.0.x before 3.0.3, when used with a shell other than bash, allows context-dependent attackers to execute arbitrary code or SQL commands via the mysql.size parameter.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.1
The mysql user parameter configuration script (userparameter_mysql.conf) in the agent in Zabbix before 2.0.18, 2.2.x before 2.2.13, and 3.0.x before 3.0.3, when used with a shell other than bash, allows context-dependent attackers to execute arbitrary code or SQL commands via the mysql.size parameter.
- Record
CVE-2016-4338- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-89
- Updated
- 2026-11-02
CVE List No score
The mysql user parameter configuration script (userparameter_mysql.conf) in the agent in Zabbix before 2.0.18, 2.2.x before 2.2.13, and 3.0.x before 3.0.3, when used with a shell other than bash, allows context-dependent attackers to execute arbitrary code or SQL commands via the mysql.size parameter.
- Record
CVE-2016-4338- Updated
- 2026-11-02
EUVDEUVD-2016-5338 No score
The mysql user parameter configuration script (userparameter_mysql.conf) in the agent in Zabbix before 2.0.18, 2.2.x before 2.2.13, and 3.0.x before 3.0.3, when used with a shell other than bash, allows context-dependent attackers to execute arbitrary code or SQL commands via the mysql.size parameter.
- Record
EUVD-2016-5338- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-399r-wgcm-v67f
8.1
The mysql user parameter configuration script (userparameter_mysql.conf) in the agent in Zabbix...
The mysql user parameter configuration script (userparameter_mysql.conf) in the agent in Zabbix before 2.0.18, 2.2.x before 2.2.13, and 3.0.x before 3.0.3, when used with a shell other than bash, allows context-dependent attackers to execute arbitrary code or SQL commands via the mysql.size parameter.
- Record
GHSA-399r-wgcm-v67f- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-89
- Updated
- 2026-11-02
OSV
8.1
The mysql user parameter configuration script (userparameter_mysql.conf) in the agent in Zabbix before 2.0.18, 2.2.x before 2.2.13, and 3.0.x before 3.0.3, when used with a shell other than bash, allows context-dependent attackers to execute arbitrary code or SQL commands via the mysql.size parameter.
- Record
CVE-2016-4338- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-4338
8.1
The mysql user parameter configuration script (userparameter_mysql.conf) in the agent in Zabbix before 2.0.18, 2.2.x before 2.2.13, and 3.0.x before 3.0.3, when used with a shell other than bash, allows context-dependent attackers to execute arbitrary code or SQL commands via the mysql.size parameter.
- Record
DEBIAN-CVE-2016-4338- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-4338
8.1
The mysql user parameter configuration script (userparameter_mysql.conf) in the agent in Zabbix before 2.0.18, 2.2.x before 2.2.13, and 3.0.x before 3.0.3, when used with a shell other than bash, allows context-dependent attackers to execute arbitrary code or SQL commands via the mysql.size parameter.
- Record
UBUNTU-CVE-2016-4338- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUSN-4767-1 No score
zabbix vulnerabilities
Fu Chuang discovered that Zabbix did not properly parse IPs. A remote attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 14.04 ESM, Ubuntu 16.04 ESM and Ubuntu 18.04 ESM. (CVE-2020-11800)
It was discovered that Zabbix incorrectly handled certain requests. A remote attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2017-2824, CVE-2017-2825)
It was discovered that Zabbix incorrectly handled certain XML files. A remote attacker could possibly use this issue to read arbitrary files or potentially execute arbitrary code. This issue only affected Ubuntu 14.04 ESM. (CVE-2014-3005)
It was discovered that Zabbix incorrectly handled certain inputs. A remote attacker could possibly use this issue to execute arbitrary SQL commands. This issue only affected Ubuntu 14.04 ESM. (CVE-2016-10134, CVE-2016-4338)
It was discovered that Zabbix incorrectly handled the request parameter. A remote attacker could possibly use this issue to redirect requests to external links. This issue only affected Ubuntu 14.04 ESM and Ubuntu 18.04 ESM. (CVE-2016-10742)
It was discovered that Zabbix incorrectly handled failed login attempts. A remote attacker could possibly use this issue to enumerate users. (CVE-2019-15132)
It was discovered that Zabbix did not properly validate input. A remote attacker could exploit this to conduct cross-site scripting (XSS) attacks. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-15803)
- Record
USN-4767-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
zabbixDebian:12 |
before 1:3.0.3+dfsg-1 | 1:3.0.3+dfsg-1 |
zabbixDebian:13 |
before 1:3.0.3+dfsg-1 | 1:3.0.3+dfsg-1 |
zabbixDebian:14 |
before 1:3.0.3+dfsg-1 | 1:3.0.3+dfsg-1 |
zabbixUbuntu:Pro:14.04:LTS |
before 1:2.2.2+dfsg-1ubuntu1+esm1, plus listed versions 1:2.0.6+dfsg-1ubuntu21:2.2.0+dfsg-1ubuntu11:2.2.0+dfsg-6ubuntu11:2.2.1+dfsg-1ubuntu31:2.2.2+dfsg-1ubuntu1 |
1:2.2.2+dfsg-1ubuntu1+esm1 |
zabbixUbuntu:Pro:14.04:LTS |
before 1:2.2.2+dfsg-1ubuntu1+esm4, plus listed versions 1:2.0.6+dfsg-1ubuntu21:2.2.0+dfsg-1ubuntu11:2.2.0+dfsg-6ubuntu11:2.2.1+dfsg-1ubuntu31:2.2.2+dfsg-1ubuntu11:2.2.2+dfsg-1ubuntu1+esm11:2.2.2+dfsg-1ubuntu1+esm3 |
1:2.2.2+dfsg-1ubuntu1+esm4 |
zabbixUbuntu:Pro:16.04:LTS |
before 1:2.4.7+dfsg-2ubuntu2.1+esm3, plus listed versions 1:2.4.6+dfsg-11:2.4.7+dfsg-11:2.4.7+dfsg-21:2.4.7+dfsg-2ubuntu21:2.4.7+dfsg-2ubuntu2.11:2.4.7+dfsg-2ubuntu2.1+esm11:2.4.7+dfsg-2ubuntu2.1+esm2 |
1:2.4.7+dfsg-2ubuntu2.1+esm3 |
zabbixUbuntu:Pro:18.04:LTS |
before 1:3.0.12+dfsg-1ubuntu0.1~esm3, plus listed versions 1:3.0.7+dfsg-31:3.0.12+dfsg-11:3.0.12+dfsg-1ubuntu0.1~esm11:3.0.12+dfsg-1ubuntu0.1~esm2 |
1:3.0.12+dfsg-1ubuntu0.1~esm3 |
zabbixUbuntu:Pro:20.04:LTS |
before 1:4.0.17+dfsg-1ubuntu0.1~esm1, plus listed versions 1:4.0.4+dfsg-1build21:4.0.4+dfsg-1build31:4.0.11+dfsg-11:4.0.14+dfsg-11:4.0.15+dfsg-11:4.0.16+dfsg-11:4.0.16+dfsg-1build11:4.0.17+dfsg-1 |
1:4.0.17+dfsg-1ubuntu0.1~esm1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Zabbix Agent 3.0.1 - 'mysql.size' Shell Command Injection | 2016-05-04 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2016-4338 is a high vulnerability (CVSS 8.1) in Zabbix, published January 23, 2017. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 25.2%, the 97th percentile. Fixed in zabbix 1:3.0.3+dfsg-1.
References
packetstormsecurity.com/files/136898/Zabbix-Agent-3.0.1-mysql.size-Shell-Command-Injection.html
exploit-db.com/exploits/39769
securityfocus.com/archive/1/538258/100/0/threaded
support.zabbix.com/browse/ZBX-10741
zabbix.com/documentation/2.2/manual/introduction/whatsnew2213
zabbix.com/documentation/3.0/manual/introduction/whatsnew303
Show 19 moreShow less
seclists.org/fulldisclosure/2016/May/9
zabbix.com/documentation/2.0/manual/introduction/whatsnew2018
securityfocus.com/bid/89631
security.gentoo.org/glsa/201612-42
nvd.nist.gov/vuln/detail/CVE-2016-4338
github.com/advisories/GHSA-399r-wgcm-v67f
security-tracker.debian.org/tracker/CVE-2016-4338
ubuntu.com/security/CVE-2016-4338
seclists.org/bugtraq/2016/May/11
cve.org/CVERecord?id=CVE-2016-4338
ubuntu.com/security/notices/USN-4767-1
ubuntu.com/security/CVE-2014-3005
ubuntu.com/security/CVE-2016-10134
ubuntu.com/security/CVE-2016-10742
ubuntu.com/security/CVE-2017-2824
ubuntu.com/security/CVE-2017-2825
ubuntu.com/security/CVE-2019-15132
ubuntu.com/security/CVE-2020-11800
ubuntu.com/security/CVE-2020-15803