CVE-2023-29453
Zabbix Agent vulnerability analysis and mitigation

Overview

CVE-2023-29453 is a critical security vulnerability affecting Zabbix Agent2 packages that involves improper handling of Javascript string delimiters. The vulnerability was discovered in September 2023 and affects multiple versions of Zabbix Agent2 including versions 5.0.0-5.0.34, 6.0.0-6.0.17, and 6.4.0-6.4.2 (Zabbix Advisory).

Technical details

The vulnerability stems from templates not properly considering backticks (`) as Javascript string delimiters and failing to escape them as expected. When a Go template action is contained within a Javascript template literal, the contents of the action can be used to terminate the literal, potentially allowing injection of arbitrary Javascript code into the Go template. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 CRITICAL (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and is classified as CWE-94 (Improper Control of Generation of Code) (Zabbix Advisory).

Impact

If exploited, this vulnerability could allow attackers to inject arbitrary Javascript code into Go templates, potentially leading to code execution. The high CVSS score of 9.8 indicates critical severity with potential for complete compromise of confidentiality, integrity, and availability of the affected system (Zabbix Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Zabbix versions 5.0.35, 6.0.18, and 6.4.3. For users who rely on the previous behavior, it can be re-enabled using the GODEBUG flag jstmpllitinterp=1, though this should be used with caution as backticks will now be escaped. The fix implements Template.Parse to return an Error when encountering such templates, with an ErrorCode of value 12 (Zabbix Advisory).

Additional resources


SourceThis report was generated using AI

Related Zabbix Agent vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-36465HIGH8.6
  • Zabbix ServerZabbix Server
  • zabbix-dbfiles-mysql
NoYesApr 02, 2025
CVE-2024-45699HIGH7.5
  • Zabbix ServerZabbix Server
  • zabbix-proxy-pgsql-debuginfo
NoYesApr 02, 2025
CVE-2024-45700MEDIUM6
  • Zabbix ServerZabbix Server
  • zabbix-dbfiles-sqlite3
NoYesApr 02, 2025
CVE-2024-36469LOW2.3
  • Zabbix ServerZabbix Server
  • zabbix
NoYesApr 02, 2025
CVE-2024-42325LOW2.1
  • Zabbix ServerZabbix Server
  • zabbix-web-mysql
NoYesApr 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management