CVE-2024-22122
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedZabbix 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceZabbix Server contains an AT command injection vulnerability in its SMS notification feature. Due to missing input validation on the 'Number' field (both on the web interface and server-side), an attacker with access to the SMS test functionality can inject arbitrary AT commands into the modem by providing a specially crafted phone number.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 5.0.0, <= 5.0.42>= 6.0.0, <= 6.0.30>= 6.4.0, <= 6.4.15= 7.0.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- High
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check installed Zabbix versionAccess Zabbix web interface: go to Administration > Reports > Audit log, or check via API: apiinfo.version. Alternatively, check the Zabbix server or frontend package version using system commands like 'zabbix_server --version' or review the frontend footer in the login page.Affected if The installed version falls within 5.0.0-5.0.42, 6.0.0-6.0.30, 6.4.0-6.4.15, or 7.0.0 exactly.
-
Verify SMS media type existsIn Zabbix web interface, navigate to Alerts > Media types. Look for media types with type 'SMS' (GSM modems). Check if any SMS media type is defined and enabled.Affected if An SMS media type is configured and enabled in the Zabbix installation.
-
Confirm SMS testing functionality is accessibleIn Zabbix web interface, go to Alerts > Media types > SMS row, and click 'Test' button. Alternatively, check user permissions under Administration > Users > User or Role settings for permissions to 'execute scripts' or 'test media' operations.Affected if The logged-in user has permissions to test SMS notifications or execute media type tests.
-
Inspect SMS gateway configurationCheck the Zabbix server configuration file (zabbix_server.conf) for SMS-related parameters: DB, DBHost, SNMPTrapperFile, and external script paths. Also review /usr/lib/zabbix/externalscripts/ or similar paths for custom SMS scripts if defined in media type configuration.Affected if SMS-related scripts or external command paths are defined and writable.
You are affected if your Zabbix version is one of the affected versions AND you have an SMS media type enabled with users who can access the SMS testing functionality.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedImplement strict input validation and sanitization for the phone number field, using an allowlist of permitted characters (digits, plus sign, dashes) and rejecting any characters that could be interpreted as AT command separators.
Zabbix 5.0.43+, 6.0.31+, 6.4.16+, or 7.0.1+ (select the appropriate branch for your environment)
- Review Zabbix release notes for versions 5.0.43, 6.0.31, 6.4.16, and 7.0.1 to understand changes and ensure compatibility
- Back up the Zabbix database and configuration files
- Schedule a maintenance window for the upgrade
- For Zabbix 5.0.x: Upgrade to version 5.0.43 or later
- For Zabbix 6.0.x: Upgrade to version 6.0.31 or later
- For Zabbix 6.4.x: Upgrade to version 6.4.16 or later
- For Zabbix 7.0.x: Upgrade to version 7.0.1 or later
- After upgrade, verify SMS media type functionality works correctly with valid phone numbers
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,120.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-22122 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-22122 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data