{"id":"CVE-2024-22120","aliases":["ALPINE-CVE-2024-22120","DEBIAN-CVE-2024-22120","EUVD-2024-19716","GHSA-625f-58w6-wj9f","UBUNTU-CVE-2024-22120"],"status":"published","title":"Time Based SQL Injection in Zabbix Server Audit Log","description":"Zabbix server can perform command execution for configured scripts. After command is executed, audit entry is added to \"Audit Log\". Due to \"clientip\" field is not sanitized, it is possible to injection SQL into \"clientip\" and exploit time based blind SQL injection.","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.76618,"percentile":0.99549,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-20"],"published":"2024-05-17T09:53:52Z","modified":"2026-11-03T06:32:59Z","exploits":[{"source":"pocgithub","id":"W01fh4cker/CVE-2024-22120-RCE","title":"W01fh4cker/CVE-2024-22120-RCE","date":"2024-05-20","url":"https://github.com/W01fh4cker/CVE-2024-22120-RCE"},{"source":"pocgithub","id":"isPique/CVE-2024-22120-RCE-with-gopher","title":"isPique/CVE-2024-22120-RCE-with-gopher","date":"2024-08-13","url":"https://github.com/isPique/CVE-2024-22120-RCE-with-gopher"},{"source":"pocgithub","id":"g4nkd/CVE-2024-22120-RCE-with-gopher","title":"g4nkd/CVE-2024-22120-RCE-with-gopher","date":"2024-08-14","url":"https://github.com/g4nkd/CVE-2024-22120-RCE-with-gopher"},{"source":"pocgithub","id":"darkbytehunter/CVE-2024-22120-RCE-with-gopher","title":"darkbytehunter/CVE-2024-22120-RCE-with-gopher","date":"2026-05-06","url":"https://github.com/darkbytehunter/CVE-2024-22120-RCE-with-gopher"}],"fixes":[{"ecosystem":"Alpine:v3.18","package":"zabbix","fixed_in":["6.4.15-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"zabbix","fixed_in":["6.4.14-r0"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"zabbix","fixed_in":["1:6.0.29+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"zabbix","fixed_in":["1:6.0.29+dfsg-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.18","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.4.15-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.4.14-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:6.0.14+dfsg-1","1:6.0.23+dfsg-1","1:6.0.23+dfsg-1~bpo12+1","1:6.0.24+dfsg-1","1:6.0.25+dfsg-1","1:6.0.29+dfsg-1","1:7.0.0+dfsg-1","1:7.0.0+dfsg-2","1:7.0.0+dfsg-2~bpo12+1","1:7.0.1+dfsg-1","1:7.0.1+dfsg-1~bpo12+1","1:7.0.10+dfsg-1","1:7.0.10+dfsg-2","1:7.0.2+dfsg-1","1:7.0.2+dfsg-1~bpo12+1","1:7.0.22+dfsg-1","1:7.0.22+dfsg-1.1","1:7.0.22+dfsg-1~bpo13+1","1:7.0.22+dfsg-1~deb13u1","1:7.0.27+dfsg-1","1:7.0.29+dfsg-1","1:7.0.29+dfsg-2","1:7.0.29+dfsg-2~bpo13+1","1:7.0.3+dfsg-1","1:7.0.5+dfsg-1","1:7.0.5+dfsg-1~bpo12+1","1:7.0.6+dfsg-1","1:7.0.9+dfsg-1","1:7.0.9+dfsg-1~bpo12+1"]},{"source":"osv","ecosystem":"Debian:13","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.0.29+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.0.29+dfsg-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.0.6+dfsg-1ubuntu2","1:2.2.0+dfsg-1ubuntu1","1:2.2.0+dfsg-6ubuntu1","1:2.2.1+dfsg-1ubuntu3","1:2.2.2+dfsg-1ubuntu1","1:2.2.2+dfsg-1ubuntu1+esm1","1:2.2.2+dfsg-1ubuntu1+esm3","1:2.2.2+dfsg-1ubuntu1+esm4","1:2.2.2+dfsg-1ubuntu1+esm5"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.4.6+dfsg-1","1:2.4.7+dfsg-1","1:2.4.7+dfsg-2","1:2.4.7+dfsg-2ubuntu2","1:2.4.7+dfsg-2ubuntu2.1","1:2.4.7+dfsg-2ubuntu2.1+esm1","1:2.4.7+dfsg-2ubuntu2.1+esm2","1:2.4.7+dfsg-2ubuntu2.1+esm3","1:2.4.7+dfsg-2ubuntu2.1+esm4"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.0.7+dfsg-3","1:3.0.12+dfsg-1","1:3.0.12+dfsg-1ubuntu0.1~esm1","1:3.0.12+dfsg-1ubuntu0.1~esm2","1:3.0.12+dfsg-1ubuntu0.1~esm3","1:3.0.12+dfsg-1ubuntu0.1~esm4"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.0.4+dfsg-1build2","1:4.0.4+dfsg-1build3","1:4.0.11+dfsg-1","1:4.0.14+dfsg-1","1:4.0.15+dfsg-1","1:4.0.16+dfsg-1","1:4.0.16+dfsg-1build1","1:4.0.17+dfsg-1","1:4.0.17+dfsg-1ubuntu0.1~esm1","1:4.0.17+dfsg-1ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:5.0.8+dfsg-1build1","1:5.0.14+dfsg-1","1:5.0.17+dfsg-1","1:5.0.17+dfsg-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:7.0.10+dfsg-2","1:7.0.10+dfsg-2build1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:7.0.22+dfsg-1","1:7.0.22+dfsg-1.1","1:7.0.22+dfsg-1.1build1","1:7.0.22+dfsg-1.1build2","1:7.0.27+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:7.0.10+dfsg-2build1","1:7.0.22+dfsg-1"]}],"products":[{"vendor":"zabbix","product":"zabbix"},{"vendor":"zabbix","product":"zabbix_server"}],"references":[{"url":"https://support.zabbix.com/browse/ZBX-24505","tags":["x_transferred","Exploit","Vendor Advisory","evidence","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22120"},{"url":"https://github.com/advisories/GHSA-625f-58w6-wj9f"},{"url":"https://security.alpinelinux.org/vuln/CVE-2024-22120","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-22120","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-22120","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-22120","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-22120","title":"Time Based SQL Injection in Zabbix Server Audit Log","description":"Zabbix server can perform command execution for configured scripts. After command is executed, audit entry is added to \"Audit Log\". Due to \"clientip\" field is not sanitized, it is possible to injection SQL into \"clientip\" and exploit time based blind SQL injection.","status":"published","published":"2024-05-17T09:53:52.798Z","modified":"2024-08-01T22:35:34.82Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:34:00.254134Z"}],"euvd":[{"id":"EUVD-2024-19716","description":"Zabbix server can perform command execution for configured scripts. After command is executed, audit entry is added to \"Audit Log\". Due to \"clientip\" field is not sanitized, it is possible to injection SQL into \"clientip\" and exploit time based blind SQL injection.","status":"published","published":"2024-05-17T09:53:52Z","modified":"2024-08-01T22:35:34Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T03:50:29.401303Z"}],"ghsa":[{"id":"GHSA-625f-58w6-wj9f","title":"Zabbix server can perform command execution for configured scripts. After command is executed,...","description":"Zabbix server can perform command execution for configured scripts. After command is executed, audit entry is added to \"Audit Log\". Due to \"clientip\" field is not sanitized, it is possible to injection SQL into \"clientip\" and exploit time based blind SQL injection.","status":"published","published":"2024-05-17T12:30:59Z","modified":"2024-05-17T12:30:59Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:57:23.332275Z"}],"nvd":[{"id":"CVE-2024-22120","description":"Zabbix server can perform command execution for configured scripts. After command is executed, audit entry is added to \"Audit Log\". Due to \"clientip\" field is not sanitized, it is possible to injection SQL into \"clientip\" and exploit time based blind SQL injection.","status":"published","published":"2024-05-17T10:15:07.363Z","modified":"2026-06-17T07:10:44.973Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:09:59.094954Z"}],"osv":[{"id":"ALPINE-CVE-2024-22120","description":"Zabbix server can perform command execution for configured scripts. After command is executed, audit entry is added to \"Audit Log\". Due to \"clientip\" field is not sanitized, it is possible to injection SQL into \"clientip\" and exploit time based blind SQL injection.","status":"published","published":"2024-05-17T10:15:07.363Z","modified":"2026-11-03T06:32:59.747764647Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T07:16:09.603409Z"},{"id":"CVE-2024-22120","description":"Zabbix server can perform command execution for configured scripts. After command is executed, audit entry is added to \"Audit Log\". Due to \"clientip\" field is not sanitized, it is possible to injection SQL into \"clientip\" and exploit time based blind SQL injection.","status":"published","published":"2024-05-17T10:15:07.363Z","modified":"2026-10-24T14:56:05.913360145Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:38.577405Z"},{"id":"DEBIAN-CVE-2024-22120","description":"Zabbix server can perform command execution for configured scripts. After command is executed, audit entry is added to \"Audit Log\". Due to \"clientip\" field is not sanitized, it is possible to injection SQL into \"clientip\" and exploit time based blind SQL injection.","status":"published","published":"2024-05-17T10:15:07.363Z","modified":"2026-11-02T12:01:23.731438223Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:41.849198Z"},{"id":"UBUNTU-CVE-2024-22120","description":"Zabbix server can perform command execution for configured scripts. After command is executed, audit entry is added to \"Audit Log\". Due to \"clientip\" field is not sanitized, it is possible to injection SQL into \"clientip\" and exploit time based blind SQL injection.","status":"published","published":"2024-05-17T10:15:00Z","modified":"2026-10-17T12:56:31.324911288Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"critical"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:54:42.68848Z"}]}}
