CVE-2024-22122
Low · 3.0CVSS
3.0
EPSS
1.6%
Published
Aug 12, 2024
CISA due date
—
Cloudanix analysis
An attacker who already has full control of the monitoring system could send hidden commands to a connected text-message device, but the problem is hard to exploit and has not been widely abused.
- Exploitation
- Remote Authenticated
- Attacker needs
- High Privilege
- Complexity
- High
- Impact
- Data Tampering
- Component
- Application
- Class
- Command Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Lack of input validation on the SMS Number field allows an authenticated high-privileged user to inject arbitrary AT commands that are executed on a connected modem when an SMS test is triggered from the Zabbix server.
Why it matters to the business
Organizations relying on Zabbix SMS alerts face a narrow risk of modem misuse or disruption if an attacker already possesses administrative access; the issue has low exploitability and has not been observed in ransomware or widespread campaigns.
How an attack unfolds
An attacker with Zabbix administrator privileges crafts a malicious phone number containing additional AT command sequences, submits it through the web interface SMS test function, and the unvalidated payload is passed to the Zabbix server which forwards the extra commands to the modem.
How to fix it
Upgrade affected Zabbix components to versions that enforce validation on the Number field; apply the corresponding fixed packages for any dependent modules such as nodejs-nodemon 1.18.3-1.module_el8.3.0+2023+d2377ea3 or nodejs-packaging 17-3.module_el8.4.0+2224+b07ac28e where applicable.
How to confirm the fix worked
Confirm the Number field now rejects or sanitizes AT command sequences during SMS tests; review Zabbix server logs for any prior test operations that contained unexpected AT command strings.
Typical attack path
- Obtain Zabbix administrator credentials
- Navigate to Administration > Media types > SMS
- Enter a specially crafted value in the Number field
- Trigger the SMS test operation
- Observe or confirm execution of injected AT commands on the modem
How to detect it
Search Zabbix server and web logs for SMS test requests containing AT command prefixes such as AT+ or unusual characters in the recipient number field; inspect modem serial logs for unexpected command sequences after test operations.
What your security team should do
- Prioritize patching Zabbix instances that use SMS notifications
- Restrict SMS test functionality to the minimum required administrators
- Monitor modem logs for unexpected AT command activity
- Review and tighten input validation on all notification configuration fields
The record
Zabbix allows to configure SMS notifications. AT command injection occurs on "Zabbix Server" because there is no validation of "Number" field on Web nor on Zabbix server side. Attacker can run test of SMS providing specially crafted phone number and execute additional AT commands on modem.
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:7.0.0+dfsg-1 |
| Ubuntu:20.04:LTS | zabbix | 0 | No fix |
| Ubuntu:22.04:LTS | zabbix | 0 | No fix |
| Ubuntu:24.10 | zabbix | 0 | No fix |
| Ubuntu:25.04 | zabbix | 0 | No fix |
| Ubuntu:25.10 | zabbix | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | zabbix | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | zabbix | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | zabbix | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | zabbix | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | zabbix | 0 | No fix |
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