CVE-2023-32728 Code injection in zabbix_agent2 smart.disk.get caused by smartctl plugin

Medium 4.6 Published Updated

Attackers can execute arbitrary code on Zabbix Agent 2 hosts by exploiting unsanitized parameters in the smart.disk.get item key.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-32728?

CVE-2023-32728 is a medium-severity command injection vulnerability in Zabbix, published on 18 Dec 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-94, CWE-20

Which versions are affected by CVE-2023-32728?

It affects 1 product.

Products include Zabbix Zabbix-Agent2.

How do I fix CVE-2023-32728?

Apply the vendor's patch.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-32728 being exploited?

There is no known exploitation of CVE-2023-32728 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2023-32728, GHSA-c26q-v9gv-jx6m, UBUNTU-CVE-2023-32728.

Is CVE-2023-32728 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free