Cloudanix VulnDB

CVE-2013-5743

Critical · 9.8

CVSS

9.8

EPSS

80.0%

Published

Dec 11, 2019

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Attend

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.

Weaponized
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

  1. Scan for exposed Zabbix web interfaces on the internet or internal networks
  2. Identify injectable parameters by sending probe payloads that trigger database errors or timing differences
  3. Craft and iterate on UNION, boolean, or time-based SQL payloads to extract schema, users, and sensitive rows
  4. Leverage obtained credentials or database functions to execute OS commands or establish persistence
  5. 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