logo

CVE-2024-10082 codechecker

Package

Manager: pip
Name: codechecker
Vulnerable Version: >=0 <6.24.2

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N

EPSS: 0.0003 pctl0.07046

Details

codechecker authentication method confusion vulnerability allows logging in as the built-in root user from an external service ### 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.

Metadata

Created: 2024-11-06T15:57:57Z
Modified: 2025-01-21T17:59:36Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-fpm5-2wcj-vfr7/GHSA-fpm5-2wcj-vfr7.json
CWE IDs: ["CWE-305"]
Alternative ID: GHSA-fpm5-2wcj-vfr7
Finding: F184
Auto approve: 1