Werk #22558 · Nov 25, 26
Agent controller: Fix unverified connection during registration
When you register a host with cmk-agent-ctl register, register-new or
proxy-register, the agent controller shows the certificate of the agent
receiver and asks you to confirm it. The registration request itself then used
a second connection that accepted any certificate. An attacker in the network
path between the host and the site could intercept this second connection. The
connection carries the credentials of the registration. The response on this
connection also sets the root certificate that the agent controller trusts for
all later connections.
The agent controller now sends the registration request only if the agent
receiver presents the certificate that you confirmed. With --trust-cert, the
agent controller only skips the question and handles the certificate in the
same way.
With --detect-proxy, the agent controller now also fetches the certificate
through the proxy. Before, an interactive registration failed if the host could
reach the site only through the proxy.
In addition, a registration now fails if the certificate of the agent receiver or the root certificate in the response of the site is expired or not yet valid.
Who is Affected
All editions. Only registrations on the command line in which you confirmed the certificate interactively were affected. Registrations with a pre-configured connection, for example by auto-registration, verify the certificate against the configured root certificates and were not affected.
Affected Checkmk Versions
- 2.5.0
- 2.4.0
- 2.3.0 (EOL)
Vulnerability Management
We have rated the issue with a CVSS Score of 5.7 Medium
(CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:L/SA:N) and assigned
CVE-2026-77024.
This issue was found by internal review.
Mitigations
A connection that you registered interactively over an untrusted network may trust the root certificate of an attacker. Register such a connection again after the update. If you registered it with a password, change the password of that Checkmk user.
Details
- Class:
- Security Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p24Not yet releasedAll Editions
- 2.4.0p43Not yet releasedAll Editions