Zabbix Enumeration
Zabbix is a monitoring platform with a web frontend (port 80/443), a server (port 10051), and agents (port 10050). The web interface often has default credentials, and the agent protocol allows command execution when misconfigured. Enumeration focuses on identifying the version, testing default credentials, and checking agent accessibility.
Web Interface Detection
200
Common paths: /zabbix/, / (root), /zabbix/index.php. A 200 response with a Zabbix login page confirms the web frontend.
Zabbix 6.0.21
Default Credentials
Zabbix ships with default admin credentials. Test them against the web interface.
{"jsonrpc":"2.0","result":"a1b2c3d4e5f6g7h8i9j0","id":1}
A "result" field with a session token means login succeeded. Default credentials: Admin:zabbix (case-sensitive username). Other common: guest:'' (empty password, if guest access is enabled).
The guest account is disabled by default since Zabbix 6.0 but may be enabled on older installations.
API Enumeration
With a valid session token, enumerate hosts, users, and configuration through the JSON-RPC API.
Returns all monitored hosts with their internal IPs and agent ports. Replace <SESSION_TOKEN> with the token from the login response.
User type 3 = Super admin, 2 = Admin, 1 = User. Knowing usernames helps with password spraying.
Agent Port Scanning
Zabbix agents listen on port 10050. If the agent is configured to accept commands from any host (not just the Zabbix server), it can be exploited for RCE.
PORT STATE SERVICE VERSION 10050/tcp open zabbix-agent Zabbix Agent 10051/tcp open zabbix-trapper Zabbix Trapper
Port 10050 (agent) accepts check requests. Port 10051 (trapper) accepts data submissions. Both can be exploited depending on configuration.
ZBXD\x01web-server-01
A hostname response confirms the agent accepts connections. If system.run is enabled, this leads to RCE.
If default credentials work or agent access is confirmed, continue to Zabbix agent RCE for command execution.
References
-
Zabbix: API DocumentationDOCS: Zabbix: API Documentation, www.zabbix.com/documentation/current/en/manual/api (opens in new tab)
Official JSON-RPC API reference.
-
HackTricks: Pentesting ZabbixTOOL: HackTricks: Pentesting Zabbix, hacktricks.wiki/en/network-services-pentesting/pentesting-web/zabbix.html (opens in new tab)
Zabbix enumeration and exploitation reference.