CVE-2024-28833
High · 7.5CVSS
7.5
EPSS
0.4%
Published
Jun 10, 2024
CISA due date
—
Cloudanix analysis
A flaw in Checkmk's login process lets attackers keep guessing the extra security code used with passwords until they get it right, allowing them to break into accounts.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Application
- Class
- Authentication Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability permits an unlimited number of authentication attempts against the second factor of two-factor authentication mechanisms without rate limiting or account lockout, enabling brute-force attacks on TOTP or similar codes after a valid first factor is supplied.
Why it matters to the business
Attackers can gain unauthorized access to user accounts in Checkmk environments by guessing second-factor codes, potentially exposing monitoring data, configuration, and connected infrastructure with minimal detection.
How an attack unfolds
An attacker first obtains valid primary credentials, initiates an authentication session, then submits repeated guesses for the second-factor token in rapid succession; because excessive attempts are not restricted, the attacker can exhaustively try codes until the correct one is found and complete the login.
How to fix it
Upgrade all Checkmk 2.3 installations to version 2.3.0p6 or later, which enforces proper rate limiting on second-factor attempts; until the upgrade is complete, enforce IP-based restrictions or additional monitoring around authentication endpoints.
How to confirm the fix worked
Verify the installed Checkmk version is 2.3.0p6 or newer; after upgrade, confirm that repeated failed second-factor submissions from a single source trigger throttling or blocking within a short window.
Typical attack path
- Obtain valid primary authentication credentials via phishing, credential stuffing, or other means
- Initiate a login request supplying the first factor
- Repeatedly submit guessed second-factor codes without encountering rate limits or lockouts
- Upon successful guess, obtain a valid session and access the application
How to detect it
Search authentication and web-server logs for unusually high numbers of failed second-factor submissions originating from the same IP addresses or user accounts within short time windows; correlate with successful logins that follow such patterns.
What your security team should do
- Immediately schedule upgrade to Checkmk 2.3.0p6 across all affected instances
- Implement temporary network-level rate limiting or WAF rules on authentication paths
- Review authentication logs for high volumes of failed 2FA attempts and alert on anomalies
- Consider enforcing hardware tokens or phishing-resistant MFA where feasible
The record
Improper restriction of excessive authentication attempts with two factor authentication methods in Checkmk 2.3 before 2.3.0p6 facilitates brute-forcing of second factor mechanisms.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | check-mk | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | check-mk | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | check-mk | 0 | No fix |
Related vulnerabilities
- CVE-2024-47094 Insertion of Sensitive Information into Log File in Checkmk GmbH's Checkmk versions… Also affects check-mk
- CVE-2024-38863 Exposure of CSRF tokens in query parameters on specific requests in Checkmk GmbH's… Also affects check-mk
- CVE-2024-38862 Insertion of Sensitive Information into Log File in Checkmk GmbH's Checkmk versions… Also affects check-mk
- CVE-2024-6747 Information leakage in mknotifyd in Checkmk before 2.3.0p18, 2.2.0p36, 2.1.0p49 and in… Also affects check-mk
- CVE-2024-8606 Bypass of two factor authentication in RestAPI in Checkmk < 2.3.0p16 and < 2.2.0p34… Also affects check-mk
- CVE-2024-38860 Improper neutralization of input in Checkmk before versions 2.3.0p16 and 2.2.0p34 allows… Also affects check-mk
- CVE-2024-38858 Improper neutralization of input in Checkmk before version 2.3.0p14 allows attackers to… Also affects check-mk
- CVE-2024-38859 XSS in the view page with the SLA column configured in Checkmk versions prior to… Also affects check-mk