Zabbix
Host and event action script regex validation can be bypassed in certain situations, leading to potential command injection
Host and event action script input is validated with a regex (set by the administrator), but the validation runs in multiline mode. If ^ and $ anchors are used in user input validation, an injected newline lets authenticated users bypass the check and inject shell commands.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by NVD · CWE-78
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Zabbix Zabbix
- >= 7.0.0, <= 7.0.21
- >= 7.2.0, <= 7.2.14
- >= 7.4.0, <= 7.4.5
Fixed in 7.0.22, 7.2.15, 7.4.6
Mitigation
Update the affected components to their respective fixed versions.
Workaround
It is possible to use \A and \z anchors in the regex validation as a workaround.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.