S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Web Vulnerabilities·Updated Oct 8, 2024

CVE-2024-22120 Scanner

Detects 'SQL Injection' vulnerability in Zabbix Server.

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, ipv4, subdomain
CostFree
2.7k
Times Used
continuous scan runs
3.7k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2024-22120
8.8
CVSScritical
Exploitable remotely over the internet · requires high privileges.

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.

Attack Vector
Network
Privileges Req.
High
User Interaction
None
Affected
Zabbixby Zabbix
6.0.0
zabbix_serverby zabbix
6.0.0
Updated Aug 22, 2026View on NVD →
Detail

Zabbix Server is a widely used enterprise-level open source monitoring solution that enables you to monitor applications, services, and network hardware. Developed by Zabbix LLC, it is deployed across industries to guarantee high availability for IT infrastructures. The software is integral for detecting performance and integrity issues in real-time systems. It is renowned for meeting both small and large infrastructures' needs due to its powerful data processing capacity. Typically utilized in environments where monitoring diverse environments is crucial, Zabbix Server finds applications ranging from small enterprises to large scale data centers. By design, it provides key functionalities such as flexible thresholds notifications, distribution of agents, and auto-discovery of systems which further extends its utility and reach.

The SQL Injection vulnerability in Zabbix Server occurs when unsanitized input is allowed to directly interact with a SQL database. This can happen where user input via the "clientip" field is injected into an SQL statement. Without adequate protection measures like prepared statements or escaping user input, the system becomes vulnerable to SQL code execution by unauthorized users. This type of vulnerability can compromise the security, confidentiality, and integrity of databases accessed by the vulnerable code. Typically, attackers can exploit such vulnerabilities to extract or manipulate critical data. In its most severe form, it could allow unauthorized access to sensitive data or even takeover of the server. Maintaining strict validation on inputs is essential to prevent exploitation.

As detailed in the template, the time-based blind SQL Injection vulnerability in this case is exploited by manipulating the data executed through a Zabbix server “Audit log” entry. The “clientip” parameter becomes a vector for injecting malicious SQL commands without immediate visibility to the end user. By measuring the response time from the server, attackers can infer the success of an SQL injection attack. The vulnerability is particularly dangerous as the successful exploitation relies on timing differences, making detection and prevention more complex than straightforward SQL injection vectors. Implementations can span across all endpoints where SQL interaction is expected with unsanitized or improperly validated user input.

Exploiting the SQL Injection vulnerability might lead to severe outcomes such as unauthorized exposure of sensitive data, disruption to service operations, unauthorized administrative access, and potential manipulation or deletion of database contents. It can undermine the overall security posture of the system and lead to potential data breaches. Leveraging this vulnerability, an attacker can execute arbitrary SQL queries, retrieve data, or even escalate privileges on the application, posing significant risk to the organizational IT resources. Therefore, substantial emphasis must be laid on real-time attack detection mechanisms and input validation protocols to mitigate the potential impact.

REFERENCES

Solution Advice

To remediate the SQL Injection vulnerability in Zabbix Server, follow these steps:

  • Update Zabbix Server to a non-vulnerable version as fixed in 6.0.28rc1, 6.4.13rc1, or 7.0.0beta2 or later.
  • Ensure all user inputs are sanitized and validated before execution in SQL queries.
  • Implement prepared statements with parameterized queries to mitigate injection risks.
  • Employ web application firewalls to detect and block SQL Injection attempts in real-time.
  • Regularly audit the codebase for vulnerabilities and ensure best practices in security are followed across the board.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.