CVE-2024-22123
Low · 2.7CVSS
2.7
EPSS
0.6%
Published
Aug 12, 2024
CISA due date
—
Cloudanix analysis
A setting intended for phone modems can be pointed at ordinary files instead, letting administrators accidentally or deliberately damage logs and see bits of their contents.
- Exploitation
- Remote Authenticated
- Attacker needs
- High Privilege
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- Path Traversal
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
An authenticated administrator can configure an arbitrary file path as the GSM modem device, causing the server process to treat the path as a Linux device file, write AT modem commands into it, corrupt its contents, and return a portion of the file back through the user interface.
Why it matters to the business
Administrative users can corrupt log files or other important files on the server and obtain limited leakage of their contents, resulting in data integrity problems and minor information disclosure with low overall operational disruption.
How an attack unfolds
An attacker with administrative privileges configures the SMS media type to point at a chosen target file such as a log instead of a real modem device; when the server attempts initialization it writes AT commands into the file and surfaces a fragment of its content in the UI, enabling tampering and limited data exposure.
How to fix it
Apply the listed fixed package versions for all affected AlmaLinux 8 modules and verify that SMS media configurations only reference legitimate modem device paths.
How to confirm the fix worked
Confirm the updated package versions are installed, review all SMS media type definitions to ensure only valid device files are referenced, and test that arbitrary file paths are rejected.
Typical attack path
- Obtain administrative access to the monitoring console
- Navigate to media type configuration for SMS
- Supply an arbitrary file path as the GSM modem device
- Trigger modem communication to corrupt the file and retrieve leaked content
How to detect it
Search server logs and configuration history for SMS media entries containing non-standard device paths, and inspect files for unexpected blocks of AT command text.
What your security team should do
- Immediately apply the supplied fixed package versions
- Audit existing SMS media configurations for non-modem paths
- Restrict administrative access to media type settings
- Monitor for unexpected writes of AT command strings to log files
The record
Setting SMS media allows to set GSM modem file. Later this file is used as Linux device. But due everything is a file for Linux, it is possible to set another file, e.g. log file and zabbix_server will try to communicate with it as modem. As a result, log file will be broken with AT commands and small part for log file content will be leaked to UI.
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