Werk #16948 · Nov 25, 26
Setup: unauthorized host diagnostics
The connection tests on the Properties of host page ran without any authorization check. Every user who could log in, regardless of their permissions, could:
- ping arbitrary targets from any site (
ajax_ping_host.py) - fetch the agent output of any host reachable from a site
(
wato_ajax_diag_cmk_agent.py) - run an SNMP connection test against any target
(
wato_ajax_diag_snmp.py, Checkmk 3.0.0 only) - read the agent receiver port of a site
(
wato_ajax_agent_receiver_port.py)
The endpoints also did not verify the CSRF token.
All these endpoints now verify the CSRF token. Ping and the agent and
SNMP connection tests require the permission Host diagnostic
(wato.diag_host), like the Test connection to host page already does.
The agent and SNMP connection tests additionally require read access to
the host if it already exists. Reading the agent receiver port requires the
permission Use Setup (wato.use). The connection test buttons are hidden
for users without the permission Host diagnostic.
This issue was found during internal review.
Who is Affected
All editions. Only sites with users that should not be able to use the host diagnostics are affected.
Affected Checkmk Versions
- 2.5.0 (until 2.5.0p15)
Vulnerability Management
We have rated the issue with a CVSS Score of 5.3 Medium
(CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:L)
and assigned CVE-2026-107936.
Details
- Class:
- Security Fixes
- Level:
- Trivial
- Component:
- Setup (WATO)
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p16All Editions