Zabbix Proxy Server SQL Database Write Vulnerability
The Zabbix proxy accepts configuration data from the server without checking which database tables it may write to, so an attacker who can intercept the traffic between proxy and server can inject arbitrary JSON and cause writes to any valid table in the proxy database. The traffic is unencrypted, so anyone with network access to the server could carry out the attack.
Originally disclosed on Cisco Talos
An exploitable database write vulnerability exists in the trapper functionality of Zabbix Server 2.4.X . Specifically crafted trapper packets can pass database logic checks, resulting in database writes.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the proxy applies server-supplied configuration to its database without restricting which tables may be written, unlike the server's hardcoded table list.
Impact
An attacker on the network path could write arbitrary data into any valid table of the proxy database, affecting integrity and availability; the attack requires a man-in-the-middle position.
What the attacker needed
Network position between proxy and server; traffic is unencrypted
How it was found
- Position yourself as a man-in-the-middle between the Zabbix proxy and the Zabbix server.
- Wait for the proxy to send its periodic proxy config request.
- Alter the server's configuration response to include arbitrary JSON aimed at a valid table in the proxy database.
- The proxy applies the injected configuration and writes it to its database.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A Zabbix proxy is a helper that collects monitoring data and regularly asks the main Zabbix server for its settings. Those settings travel over the network without encryption, and the proxy trusts whatever it receives, writing it into its database without checking which tables are allowed. Someone sitting on the network path can therefore change the reply and make the proxy store data of their choosing.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.