CVE-2014-3005
Critical · 9.8CVSS
9.8
EPSS
6.5%
Published
Feb 1, 2018
CISA due date
—
Cloudanix analysis
A flaw in the Zabbix monitoring software lets outsiders read private files or run commands on the server, risking theft of important data or full system takeover.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- XXE
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
XML external entity (XXE) processing flaw that allows remote attackers to supply a crafted DTD in an XML request, enabling arbitrary file reads from the server filesystem or potential arbitrary code execution.
Why it matters to the business
Attackers can steal sensitive configuration files, credentials, or monitoring data and potentially take control of the Zabbix server, resulting in loss of visibility into infrastructure and possible lateral movement.
How an attack unfolds
An unauthenticated attacker crafts an XML payload containing an external entity reference pointing to local files or system commands, submits it to a Zabbix XML endpoint, and the server resolves the entity, returning file contents or executing code.
How to fix it
Upgrade Zabbix 1.8.x to 1.8.21rc1 or newer, 2.0.x to 2.0.13rc1 or newer, 2.2.x to 2.2.5rc1 or newer, and 2.3.x to 2.3.2 or newer; disable external entity resolution in the XML parser if patching is delayed.
How to confirm the fix worked
Verify installed Zabbix version against the fixed releases; attempt a controlled XXE test payload against a non-production instance to confirm entity resolution is disabled.
Typical attack path
- Identify publicly reachable Zabbix XML endpoints
- Submit crafted XML request containing malicious DTD
- Trigger entity expansion to read files or execute code
- Exfiltrate data or establish persistence
How to detect it
Inspect web server and Zabbix application logs for incoming XML requests that contain DOCTYPE declarations or repeated ENTITY definitions; correlate with outbound file access or unexpected process spawns on the Zabbix host.
What your security team should do
- Apply the version upgrades listed in remediation guidance as highest priority
- Review and restrict network exposure of Zabbix XML endpoints
- Enable XML parser hardening and input validation controls
- Monitor for new exploit code releases given the available public proof-of-concept
The record
XML external entity (XXE) vulnerability in Zabbix 1.8.x before 1.8.21rc1, 2.0.x before 2.0.13rc1, 2.2.x before 2.2.5rc1, and 2.3.x before 2.3.2 allows remote attackers to read arbitrary files or potentially execute arbitrary code via a crafted DTD in an XML request.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | zabbix | 0 | 1:2.2.5+dfsg-1 |
| Debian:12 | zabbix | 0 | 1:2.2.5+dfsg-1 |
| Debian:13 | zabbix | 0 | 1:2.2.5+dfsg-1 |
| Mageia:3 | zabbix | 0 | 2.0.13-1.mga3 |
| Mageia:4 | zabbix | 0 | 2.0.13-1.mga4 |
| Ubuntu:Pro:14.04:LTS | zabbix | 0 | 1:2.2.2+dfsg-1ubuntu1+esm1 |
| Ubuntu:Pro:14.04:LTS | zabbix | 0 | 1:2.2.2+dfsg-1ubuntu1+esm4 |
| Ubuntu:Pro:16.04:LTS | zabbix | 0 | 1:2.4.7+dfsg-2ubuntu2.1+esm3 |
| Ubuntu:Pro:18.04:LTS | zabbix | 0 | 1:3.0.12+dfsg-1ubuntu0.1~esm3 |
| Ubuntu:Pro:20.04:LTS | zabbix | 0 | 1:4.0.17+dfsg-1ubuntu0.1~esm1 |
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