Prior to this Werk user IDs synced from an LDAP connection were not properly sanitized.
The allowed characters for LDAP users user IDs were not restricted in the same way as local user IDs.
As a result, malicious actors with the ability to change an LDAP user's uid attribute were able to, within limits, manipulate files on the server.
For instance, attackers were able to override files in other users' var/check_mk/web folder, including the deletion of their stored two-factor credentials (thus disabling 2FA for the affected user).
Additionally, attackers could also lock users out of their accounts by creating a 2FA-credentials file in the affected user's web folder.
However, it should be noted that to the best of our knowledge, attackers could not have impersonated other users or taken over their accounts directly.
This issue was discovered during internal review.
- 2.1.0 previous to this Werk
- 2.0.0 previous to this Werk
- 1.6.0 (EOL)
Disable LDAP user synchronization.
Indicators of Compromise:
Inspect the list of users in WATO user management (Setup > Users) for suspicious user IDs from an LDAP connection.
We have rated the issue with a CVSS Score of 6.8 (Medium) with the following CVSS vector:
We have assigned the CVE CVE-2023-0284
This Werk adds sanitization to LDAP user IDs.
We do not anticipate any negative impact on legitimate user IDs as the now-forbidden user IDs could not have been used in a functional way.
To the list of all Werks