{"id":"CVE-2024-22120","state":"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.","publishedAt":"2024-05-17T09:53:52.798Z","updatedAt":"2024-08-01T22:35:34.820Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","source":"Zabbix"},"assigner":"Zabbix","products":["Zabbix Zabbix"],"affected":[{"vendor":"Zabbix","product":"Zabbix","defaultStatus":"unaffected","versions":[{"version":"6.0.0","status":"affected","lessThanOrEqual":"6.0.27","changes":[{"at":"6.0.28rc1","status":"unaffected"}],"versionType":"git"},{"version":"6.4.0","status":"affected","lessThanOrEqual":"6.4.12","changes":[{"at":"6.4.13rc1","status":"unaffected"}],"versionType":"git"},{"version":"7.0.0alpha1","status":"affected","lessThanOrEqual":"7.0.0beta1","changes":[{"at":"7.0.0beta1","status":"unaffected"}],"versionType":"git"}],"modules":["Server"],"repo":"https://git.zabbix.com/"}],"references":["https://support.zabbix.com/browse/ZBX-24505"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:06:59.846Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/22xxx/CVE-2024-22120.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-22120","state":"PUBLISHED","datePublished":"2024-05-17T09:53:52.798Z","dateUpdated":"2024-08-01T22:35:34.820Z","assignerShortName":"Zabbix","assignerOrgId":"72de3e22-0555-4a0d-ae81-9249e0f0a1e8","dateReserved":"2024-01-05T07:44:01.395Z"},"containers":{"cna":{"title":"Time Based SQL Injection in Zabbix Server Audit Log","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Zabbix","product":"Zabbix","defaultStatus":"unaffected","versions":[{"version":"6.0.0","status":"affected","lessThanOrEqual":"6.0.27","changes":[{"at":"6.0.28rc1","status":"unaffected"}],"versionType":"git"},{"version":"6.4.0","status":"affected","lessThanOrEqual":"6.4.12","changes":[{"at":"6.4.13rc1","status":"unaffected"}],"versionType":"git"},{"version":"7.0.0alpha1","status":"affected","lessThanOrEqual":"7.0.0beta1","changes":[{"at":"7.0.0beta1","status":"unaffected"}],"versionType":"git"}],"modules":["Server"],"repo":"https://git.zabbix.com/"}],"references":[{"url":"https://support.zabbix.com/browse/ZBX-24505"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Zabbix","orgId":"72de3e22-0555-4a0d-ae81-9249e0f0a1e8","dateUpdated":"2024-05-20T06:45:42.494Z"},"credits":[{"lang":"en","type":"reporter","value":"Zabbix wants to thank Maxim Tyukov (mf0cuz) who submitted this report in HackerOne bug bounty platform"}],"datePublic":"2024-05-17T08:22:00.000Z","impacts":[{"capecId":"CAPEC-253","descriptions":[{"lang":"en","value":"CAPEC-253 Remote Code Inclusion"}]}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"zabbix","product":"zabbix_server","defaultStatus":"affected","versions":[{"version":"6.0.0","status":"affected"},{"version":"6.4.0","status":"affected"},{"version":"7.0.0alpha1","status":"affected"}],"cpes":["cpe:2.3:a:zabbix:zabbix_server:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-22120","role":"CISA Coordinator","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2024-05-20T13:29:40.805103Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:52:44.718Z"}},{"title":"CVE Program Container","references":[{"url":"https://support.zabbix.com/browse/ZBX-24505","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T22:35:34.820Z"}}]}}}