CVE-2013-5743
Critical · 9.8CVSS
9.8
EPSS
80.0%
Published
Dec 11, 2019
CISA due date
—
Cloudanix analysis
Attackers can reach into the database behind an older version of a popular monitoring system and steal or change important records without needing any login.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- SQL Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Unauthenticated attackers can inject arbitrary SQL statements through web interface parameters, allowing full read/write access to the backend database and potential command execution via database functions.
Why it matters to the business
Attackers may steal monitoring data, user credentials, and configuration details or alter records, leading to loss of visibility into infrastructure, unauthorized system changes, and compliance violations.
How an attack unfolds
An attacker identifies a publicly reachable Zabbix web endpoint, submits crafted HTTP requests containing SQL metacharacters in vulnerable parameters, and uses the responses or side effects to enumerate database contents, extract credentials, or pivot to other systems; weaponized exploits exist and the flaw has remained attractive due to its high success rate.
How to fix it
Upgrade Zabbix 1.8.x installations to 1.8.18rc1 or later, 2.0.x installations to 2.0.9rc1 or later, and 2.1.x installations to 2.1.7 or later. Apply vendor security updates immediately and restrict direct database access from the web application where possible.
How to confirm the fix worked
Verify the running Zabbix version matches or exceeds the fixed releases listed above. Re-test previously vulnerable parameters with safe SQL injection detection tools or review application source for proper prepared-statement usage.
Typical attack path
- Scan for exposed Zabbix web interfaces on the internet or internal networks
- Identify injectable parameters by sending probe payloads that trigger database errors or timing differences
- Craft and iterate on UNION, boolean, or time-based SQL payloads to extract schema, users, and sensitive rows
- Leverage obtained credentials or database functions to execute OS commands or establish persistence
- Use the foothold to move laterally or deploy further malware
How to detect it
Review web server access logs and Zabbix application logs for requests containing SQL metacharacters, unusual UNION or SELECT patterns, or excessive database error responses. Correlate with authentication logs for sudden credential use after suspicious queries.
What your security team should do
- Prioritize patching all internet-facing and internal Zabbix instances within the next 48 hours given the high EPSS score and weaponized exploits
- Block or tightly restrict unauthenticated access to Zabbix web interfaces using network controls
- Enable and centrally collect web application and database query logs for at least 90 days
- Conduct an inventory of all Zabbix deployments and their versions across the environment
The record
Multiple SQL injection vulnerabilities in Zabbix 1.8.x before 1.8.18rc1, 2.0.x before 2.0.9rc1, and 2.1.x before 2.1.7.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | zabbix | 0 | 1:2.0.8+dfsg-2 |
| Debian:12 | zabbix | 0 | 1:2.0.8+dfsg-2 |
| Debian:13 | zabbix | 0 | 1:2.0.8+dfsg-2 |
| Mageia:3 | zabbix | 0 | 2.0.10-1.mga3 |
| Ubuntu:14.04:LTS | zabbix | 0 | 1:2.2.2+dfsg-1ubuntu1 |
Related vulnerabilities
- CVE-2024-36465 A low privilege (regular) Zabbix user with API access can use SQL injection vulnerability… Also affects zabbix
- CVE-2024-36464 When exporting media types, the password is exported in the YAML in plain text. Also affects zabbix
- CVE-2024-42330 The HttpRequest object allows to get the HTTP headers from the server's response after… Also affects zabbix
- CVE-2024-42333 The researcher is showing that it is possible to leak a small amount of Zabbix Server… Also affects zabbix
- CVE-2024-42332 The researcher is showing that due to the way the SNMP trap log is parsed, an attacker… Also affects zabbix
- CVE-2024-42331 In the src/libs/zbxembed/browser.c file, the es_browser_ctor method retrieves a heap… Also affects zabbix
- CVE-2024-36467 An authenticated user with API access (e.g.: user with default User role), more… Also affects zabbix
- CVE-2024-22117 When a URL is added to the map element, it is recorded in the database with sequential… Also affects zabbix