title: Code injection in zabbix_agent2 smart.disk.get caused by smartctl plugin
description: 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.
problem types: CWE-20 Improper Input Validation
affected:
{
defaultStatus: unaffected
modules: Agent 2
product: Zabbix
repo: https://git.zabbix.com/
vendor: Zabbix
versions:
changes: [at: 5.0.39rc1, status: unaffected], lessThanOrEqual: 5.0.38, status: affected, version: 5,0,0, versionType: git
changes: [at: 6.0.24rc1, status: unaffected], lessThanOrEqual: 6.0.23, status: affected, version: 6.0.0, versionType: git
changes: [at: 6.4.9rc1, status: unaffected], lessThanOrEqual: 6.4.8 , status: affected, version: 6.4.0, versionType: git
changes: [at: 7.0.0alpha8, status: unaffected], lessThanOrEqual: 7.0.0alpha7 , status: affected, version: 7.0.0alpha1, versionType: git
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 4.6
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: LOW
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
version: 3.1
]
format: CVSS
scenarios: GENERAL