CVE-2016-4338

high
Published 2017-01-23 ยท Modified 2026-05-13
CVSS v3
8.1
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
9.1

Description

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.

Predictions

Exploit likelihood
88%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-39769 local linux
Timo Lindfors ยท 2016-05-04

Zabbix Agent 3.0.1 - 'mysql.size' Shell Command Injection

Source code queued for fetch โ€” refresh in a moment.

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 1:3.0.3+dfsg-1
sid Fixed 1:3.0.3+dfsg-1
forky Fixed 1:3.0.3+dfsg-1
bullseye Fixed 1:3.0.3+dfsg-1
bookworm Fixed 1:3.0.3+dfsg-1

Application impact

VendorProductVersionsFixed
zabbixzabbix2.0.0
zabbixzabbix2.0.1
zabbixzabbix2.0.2
zabbixzabbix2.0.3
zabbixzabbix2.0.4
zabbixzabbix2.0.5
zabbixzabbix2.0.6
zabbixzabbix2.0.7
zabbixzabbix2.0.8
zabbixzabbix2.0.9
zabbixzabbix2.0.10
zabbixzabbix2.0.11
zabbixzabbix2.0.12
zabbixzabbix2.0.13
zabbixzabbix2.0.14
zabbixzabbix2.0.15
zabbixzabbix2.0.16
zabbixzabbix2.0.17
zabbixzabbix2.2.0
zabbixzabbix2.2.1
zabbixzabbix2.2.2
zabbixzabbix2.2.3
zabbixzabbix2.2.4
zabbixzabbix2.2.5
zabbixzabbix2.2.6
zabbixzabbix2.2.7
zabbixzabbix2.2.8
zabbixzabbix2.2.9
zabbixzabbix2.2.10
zabbixzabbix2.2.11
zabbixzabbix2.2.12
zabbixzabbix3.0.0
zabbixzabbix3.0.2

References

CWEs

CWE-89

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.