QID 379260

Date Published: 2024-02-09

QID 379260: Zabbix Agent 2 Smartctl Plugin Code Injection Vulnerability (ZBX-23858)

Zabbix agent 2 is a new generation of Zabbix agent and may be used in place of Zabbix agent. Zabbix agent 2 has been developed to: reduce the number of TCP connections, provide improved concurrency of checks, be easily extendible with plugins.
The Zabbix Agent 2 item key smart.disk.get does not sanitize its parameters before passing them to a shell command resulting possible vulnerability for remote code execution.
Affected Versions:
Zabbix Agent 2:5.0.0 - 5.0.38
Zabbix Agent 2:6.0.0 - 6.0.23
Zabbix Agent 2:6.4.0 - 6.4.8
Zabbix Agent 2:7.0.0alpha1 - 7.0.0alpha7

QID Detection Logic (Authenticated):
The detection posts vulnerable if the installed package version is installed or not via registry keys.

An attacker can execute arbitrary code on any device having an Zabbix Agent2 listening and having smartctl installed.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    To remediate this vulnerability, apply the updates listed in the 'Fixed Version' section to appropriate products.
    Workaround:


    Fatal error: Call to undefined function set_session() in /home/web/vulnoffice.intranet.qualys.com/en/internal/newoffice/main/get_securityfocus_workarounds.php on line 6

    Vendor References

    CVEs related to QID 379260

    Software Advisories
    Advisory ID Software Component Link
    ZBX-23858 URL Logo support.zabbix.com/browse/ZBX-23858

    © CVE.report 2026

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report