CVE-2023-32727
High · 7.2CVSS
7.2
EPSS
0.9%
Published
Dec 18, 2023
CISA due date
—
Cloudanix analysis
Someone with setup rights in a monitoring system can run secret commands on the server by hiding them inside a network check function.
- Exploitation
- Remote Authenticated
- Attacker needs
- High Privilege
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Allows an authenticated user with item configuration privileges to inject and execute arbitrary commands on the Zabbix server by embedding malicious payloads in the icmpping() function parameters.
Why it matters to the business
Enables remote code execution on the monitoring server, potentially leading to full compromise of the Zabbix infrastructure and sensitive monitoring data across Debian and Ubuntu Linux environments.
How an attack unfolds
An attacker with sufficient privileges configures a Zabbix item using icmpping() and inserts shell commands that get executed on the server.
How to fix it
Upgrade affected packages to the listed fixed versions including linux (Debian:11): fixed in 5.10.84-1, linux (Debian:12): fixed in 5.14.12-1, linux (Debian:13): fixed in 5.14.12-1, and corresponding Ubuntu kernel packages such as linux-aws-5.15 (Ubuntu:20.04:LTS): fixed in 5.15.0-1014.18~20.04.1.
How to confirm the fix worked
Confirm package versions match or exceed the fixed releases and test that icmpping() item configuration no longer permits command injection.
Typical attack path
- Obtain privileges to configure Zabbix items
- Create or modify an item using icmpping() with malicious command
- Trigger the item check to execute the payload on the server
How to detect it
Review Zabbix server logs and item configuration history for suspicious icmpping() entries containing shell metacharacters or unexpected commands.
What your security team should do
- Apply the specified package updates immediately given the 1033 days since publication
- Audit Zabbix item configurations for unauthorized changes
- Restrict item configuration privileges to trusted administrators only
The record
An attacker who has the privilege to configure Zabbix items can use function icmpping() with additional malicious command inside it to execute arbitrary code on the current Zabbix server.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | zabbix | 0 | 1:5.0.44+dfsg-1+deb11u1 |
| Debian:12 | zabbix | 0 | No fix |
| Debian:13 | zabbix | 0 | 1:6.0.23+dfsg-1 |
| SUSE:Package Hub 15 SP4 | zabbix | 0 | 4.0.50-bp154.2.9.1 |
| SUSE:Package Hub 15 SP5 | zabbix | 0 | 4.0.50-bp155.3.9.1 |
| Ubuntu:20.04:LTS | zabbix | 0 | No fix |
| Ubuntu:22.04:LTS | zabbix | 0 | No fix |
| Ubuntu:24.10 | zabbix | 0 | 1:6.0.29+dfsg-1 |
| Ubuntu:Pro:20.04:LTS | zabbix | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | zabbix | 0 | No fix |
| openSUSE:Leap 15.4 | zabbix | 0 | 4.0.50-bp154.2.9.1 |
| openSUSE:Leap 15.5 | zabbix | 0 | 4.0.50-bp155.3.9.1 |
| openSUSE:Tumbleweed | zabbix | 0 | 6.0.25-1.1 |
Related vulnerabilities
- CVE-2024-36465 A low privilege (regular) Zabbix user with API access can use SQL injection vulnerability… Also affects zabbix
- CVE-2024-36464 When exporting media types, the password is exported in the YAML in plain text. Also affects zabbix
- CVE-2024-42330 The HttpRequest object allows to get the HTTP headers from the server's response after… Also affects zabbix
- CVE-2024-42333 The researcher is showing that it is possible to leak a small amount of Zabbix Server… Also affects zabbix
- CVE-2024-42332 The researcher is showing that due to the way the SNMP trap log is parsed, an attacker… Also affects zabbix
- CVE-2024-42331 In the src/libs/zbxembed/browser.c file, the es_browser_ctor method retrieves a heap… Also affects zabbix
- CVE-2024-36467 An authenticated user with API access (e.g.: user with default User role), more… Also affects zabbix
- CVE-2024-22117 When a URL is added to the map element, it is recorded in the database with sequential… Also affects zabbix