CVE-2024-10082: Critical severity pip/codechecker vulnerability
Summary Authentication method confusion allows logging in as the built-in root user from an external service. The built-in root user is generated in a weak manner, cannot be disabled, and has universal access.
Details Until CodeChecker version 6.24.1 there was an auto-generated super-user account that could not be disabled. The attacker needs to know only the username of the root user.
This root user is unconditionally assigned superuser permissions.
Which means that if any user via any service logs in with the root user's username, they will unconditionally have superuser permissions on the CodeChecker instance.
The name of the user name can be found in root.user file in the CodeChecker configuration directory. You can check if you are impacted by checking the existence of this user in the external authentication services (e.g. LDAP, PAM etc.).
Impact This vulnerability allows an attacker who can create an account on an enabled external authentication service, to log in as the root user, and access and control everything that can be controlled via the web interface. The attacker needs to acquire the username of the root user to be successful.
Other sources
CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy. Authentication method confusion allows logging in as the built-in root user from an external service. The built-in root user up until 6.24.1 is generated in a weak manner, cannot be disabled, and has universal access.This vulnerability allows an attacker who can create an account on an enabled external authentication service, to log in as the root user, and access and control everything that can be controlled via the web interface. The attacker needs to acquire the username of the root user to be successful.
This issue affects CodeChecker: through 6.24.1.
— NVD
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-10082?
CVE-2024-10082 has been classified as a critical vulnerability due to its potential for unauthorized access to the root user account.
How do I fix CVE-2024-10082?
To fix CVE-2024-10082, update CodeChecker to version 6.24.2 or later.
What impact does CVE-2024-10082 have on my system?
CVE-2024-10082 allows an external service to gain unauthorized access as the built-in root user, posing significant security risks.
Which versions of CodeChecker are affected by CVE-2024-10082?
CodeChecker versions from 6.24.1 and earlier are affected by CVE-2024-10082.
Is the built-in root user in CVE-2024-10082 disableable?
No, the built-in root user generated in CVE-2024-10082 cannot be disabled.