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.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
http://packetstormsecurity.com/files/136898/Zabbix-Agent-3.0.1-mysql.size-Shell-Command-Injection.html | exploit vdb entry third party advisory |
https://www.exploit-db.com/exploits/39769/ | exploit vdb entry third party advisory |
http://www.securityfocus.com/archive/1/538258/100/0/threaded | mailing list |
https://support.zabbix.com/browse/ZBX-10741 | exploit patch vendor advisory |
https://www.zabbix.com/documentation/2.2/manual/introduction/whatsnew2213#miscellaneous_improvements | vendor advisory |
https://www.zabbix.com/documentation/3.0/manual/introduction/whatsnew303#miscellaneous_improvements | vendor advisory |
http://seclists.org/fulldisclosure/2016/May/9 | mailing list exploit vdb entry third party advisory |
https://www.zabbix.com/documentation/2.0/manual/introduction/whatsnew2018#miscellaneous_improvements | vendor advisory |
http://www.securityfocus.com/bid/89631 | vdb entry third party advisory |
https://security.gentoo.org/glsa/201612-42 | vdb entry third party advisory vendor advisory |