{"id":"CVE-2016-4338","aliases":["DEBIAN-CVE-2016-4338","EUVD-2016-5338","GHSA-399r-wgcm-v67f","UBUNTU-CVE-2016-4338","USN-4767-1"],"status":"published","title":"The mysql user parameter configuration script (userparameter_mysql.conf) in the agent in Zabbix...","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.","severity":{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.25174,"percentile":0.97947,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-89"],"published":"2017-01-23T21:00:00Z","modified":"2026-09-22T07:02:04Z","exploits":[{"source":"exploitdb","id":"EDB-39769","title":"Zabbix Agent 3.0.1 - 'mysql.size' Shell Command Injection","type":"local","platform":"linux","date":"2016-05-04","url":"https://www.exploit-db.com/exploits/39769"}],"fixes":[{"ecosystem":"Debian:12","package":"zabbix","fixed_in":["1:3.0.3+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"zabbix","fixed_in":["1:3.0.3+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"zabbix","fixed_in":["1:3.0.3+dfsg-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"zabbix","fixed_in":["1:2.2.2+dfsg-1ubuntu1+esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.0.3+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.0.3+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.0.3+dfsg-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.2.2+dfsg-1ubuntu1+esm1"}]}],"versions":["1:2.0.6+dfsg-1ubuntu2","1:2.2.0+dfsg-1ubuntu1","1:2.2.0+dfsg-6ubuntu1","1:2.2.1+dfsg-1ubuntu3","1:2.2.2+dfsg-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.2.2+dfsg-1ubuntu1+esm4"}]}],"versions":["1:2.0.6+dfsg-1ubuntu2","1:2.2.0+dfsg-1ubuntu1","1:2.2.0+dfsg-6ubuntu1","1:2.2.1+dfsg-1ubuntu3","1:2.2.2+dfsg-1ubuntu1","1:2.2.2+dfsg-1ubuntu1+esm1","1:2.2.2+dfsg-1ubuntu1+esm3"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.4.7+dfsg-2ubuntu2.1+esm3"}]}],"versions":["1:2.4.6+dfsg-1","1:2.4.7+dfsg-1","1:2.4.7+dfsg-2","1:2.4.7+dfsg-2ubuntu2","1:2.4.7+dfsg-2ubuntu2.1","1:2.4.7+dfsg-2ubuntu2.1+esm1","1:2.4.7+dfsg-2ubuntu2.1+esm2"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.0.12+dfsg-1ubuntu0.1~esm3"}]}],"versions":["1:3.0.7+dfsg-3","1:3.0.12+dfsg-1","1:3.0.12+dfsg-1ubuntu0.1~esm1","1:3.0.12+dfsg-1ubuntu0.1~esm2"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.0.17+dfsg-1ubuntu0.1~esm1"}]}],"versions":["1:4.0.4+dfsg-1build2","1:4.0.4+dfsg-1build3","1:4.0.11+dfsg-1","1:4.0.14+dfsg-1","1:4.0.15+dfsg-1","1:4.0.16+dfsg-1","1:4.0.16+dfsg-1build1","1:4.0.17+dfsg-1"],"bundled":9}],"products":[{"vendor":"zabbix","product":"zabbix"}],"references":[{"url":"http://packetstormsecurity.com/files/136898/Zabbix-Agent-3.0.1-mysql.size-Shell-Command-Injection.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://www.exploit-db.com/exploits/39769/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"http://www.securityfocus.com/archive/1/538258/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"https://support.zabbix.com/browse/ZBX-10741","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Vendor Advisory","fix","report"]},{"url":"https://www.zabbix.com/documentation/2.2/manual/introduction/whatsnew2213#miscellaneous_improvements","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://www.zabbix.com/documentation/3.0/manual/introduction/whatsnew303#miscellaneous_improvements","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"http://seclists.org/fulldisclosure/2016/May/9","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://www.zabbix.com/documentation/2.0/manual/introduction/whatsnew2018#miscellaneous_improvements","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/89631","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://security.gentoo.org/glsa/201612-42","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-4338"},{"url":"https://www.exploit-db.com/exploits/39769"},{"url":"https://github.com/advisories/GHSA-399r-wgcm-v67f"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-4338","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-4338","tags":["report"]},{"url":"http://seclists.org/bugtraq/2016/May/11","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-4338","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4767-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2014-3005","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-10134","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-10742","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-2824","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-2825","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-15132","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-11800","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-15803","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-4338","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.","status":"published","published":"2017-01-23T21:00:00Z","modified":"2024-08-06T00:25:14.512Z","updated_at":"2026-11-02T14:33:35.149563Z"}],"euvd":[{"id":"EUVD-2016-5338","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.","status":"published","published":"2017-01-23T21:00:00Z","modified":"2024-08-06T00:25:14Z","updated_at":"2026-11-03T02:22:46.750795Z"}],"ghsa":[{"id":"GHSA-399r-wgcm-v67f","title":"The mysql user parameter configuration script (userparameter_mysql.conf) in the agent in Zabbix...","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.","status":"published","published":"2022-05-14T02:46:17Z","modified":"2025-04-20T03:32:32Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:01:39.626411Z"}],"nvd":[{"id":"CVE-2016-4338","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.","status":"published","published":"2017-01-23T21:59:01.423Z","modified":"2026-06-17T00:47:22.4Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:03:35.029632Z"}],"osv":[{"id":"CVE-2016-4338","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.","status":"published","published":"2017-01-23T21:59:01.423Z","modified":"2026-03-15T21:50:39.855828Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:02.454775Z"},{"id":"DEBIAN-CVE-2016-4338","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.","status":"published","published":"2017-01-23T21:59:01.423Z","modified":"2026-09-22T07:02:04.690674127Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:27.627285Z"},{"id":"UBUNTU-CVE-2016-4338","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.","status":"published","published":"2017-01-23T21:59:00Z","modified":"2026-02-04T04:26:20.849837Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:12.261906Z"},{"id":"USN-4767-1","title":"zabbix vulnerabilities","description":"Fu Chuang discovered that Zabbix did not properly parse IPs. A remote\nattacker could possibly use this issue to execute arbitrary code. This\nissue only affected Ubuntu 14.04 ESM, Ubuntu 16.04 ESM and Ubuntu 18.04 ESM.\n(CVE-2020-11800)\n\nIt was discovered that Zabbix incorrectly handled certain requests. A\nremote attacker could possibly use this issue to execute arbitrary code.\nThis issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.\n(CVE-2017-2824, CVE-2017-2825)\n\nIt was discovered that Zabbix incorrectly handled certain XML files. A\nremote attacker could possibly use this issue to read arbitrary files or\npotentially execute arbitrary code. This issue only affected\nUbuntu 14.04 ESM. (CVE-2014-3005)\n\nIt was discovered that Zabbix incorrectly handled certain inputs. A remote\nattacker could possibly use this issue to execute arbitrary SQL commands.\nThis issue only affected Ubuntu 14.04 ESM. (CVE-2016-10134, CVE-2016-4338)\n\nIt was discovered that Zabbix incorrectly handled the request parameter. A\nremote attacker could possibly use this issue to redirect requests to\nexternal links. This issue only affected Ubuntu 14.04 ESM and\nUbuntu 18.04 ESM. (CVE-2016-10742)\n\nIt was discovered that Zabbix incorrectly handled failed login attempts. A\nremote attacker could possibly use this issue to enumerate users.\n(CVE-2019-15132)\n\nIt was discovered that Zabbix did not properly validate input. A remote\nattacker could exploit this to conduct cross-site scripting (XSS) attacks.\nThis issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and\nUbuntu 20.04 ESM. (CVE-2020-15803)\n","status":"published","published":"2022-06-15T08:28:18Z","modified":"2026-06-29T13:48:11.851933517Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
