RCE in Zabbix

CVE-2023-29453

Templates do not properly consider backticks (`) as Javascript string delimiters, and do not escape them as expected. Backticks are used, since ES6, for JS template literals. If a template contains a Go template action within a Javascript template literal, the contents of the action can be used to terminate the literal, injecting arbitrary Javascript code into the Go template. As ES6 template literals are rather complex, and themselves can do string interpolation, the decision was made to simply disallow Go template actions from being used inside of them (e.g., "var a = {{.}}"), since there is no obviously safe way to allow this behavior. This takes the same approach as github.com/google/safehtml. With fix, Template. Parse returns an Error when it encounters templates like this, with an ErrorCode of value 12. This ErrorCode is currently unexported but will be exported in the release of Go 1.21. Users who rely on the previous behavior can re-enable it using the GODEBUG flag jstmpllitinterp=1, with the caveat that backticks will now be escaped. This should be used with caution.

Vulnerability class: RCE (Remote Code Execution)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.009 (59.2th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 59th percentile — 59.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2023-29453: held from 0.007 to 0.009.

EPSS over last 30 days · oldest: 0.007 · newest: 0.009 · change: +0.001

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-29453?
CVE-2023-29453 is a critical-severity vulnerability in Zabbix, classified under Code Injection. CVSS score: 9.8/10. Published 2023-10-12.
How severe is CVE-2023-29453?
Critical severity. CVSS v3 base score is 9.8 out of 10.