{"id":"GHSA-fpm5-2wcj-vfr7","summary":"codechecker authentication method confusion vulnerability allows logging in as the built-in root user from an external service","details":"### Summary\nAuthentication 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. \n\n### Details\nUntil CodeChecker version 6.24.1 there was an auto-generated super-user account that could not be disabled.\nThe attacker needs to know only the username of the root user.\n\nThis root user is unconditionally assigned superuser permissions.\n\nWhich 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.\n\nThe name of the user name can be found in `root.user` file in the CodeChecker configuration directory.\nYou can check if you are impacted by checking the existence of this user in the external authentication services (e.g. LDAP, PAM etc.).\n\n### Impact\nThis 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.\nThe attacker needs to acquire the username of the root user to be successful.","aliases":["CVE-2024-10082","PYSEC-2024-183"],"modified":"2025-11-15T03:32:00.363355Z","published":"2024-11-06T15:57:57Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"cwe_ids":["CWE-305"],"nvd_published_at":"2024-11-06T15:15:11Z","github_reviewed_at":"2024-11-06T15:57:57Z"},"references":[{"type":"WEB","url":"https://github.com/Ericsson/codechecker/security/advisories/GHSA-fpm5-2wcj-vfr7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10082"},{"type":"WEB","url":"https://github.com/Ericsson/codechecker/commit/866f3796d01f3158c49b87ccae3e09c0807c1c7b"},{"type":"PACKAGE","url":"https://github.com/Ericsson/codechecker"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/codechecker/PYSEC-2024-183.yaml"}],"affected":[{"package":{"name":"codechecker","ecosystem":"PyPI","purl":"pkg:pypi/codechecker"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.24.2"}]}],"versions":["6.16.0","6.16.0a1","6.17.0","6.18.0","6.18.1","6.18.2","6.19.0","6.19.1","6.20.0","6.20.0rc1","6.21.0","6.21.0rc1","6.22.0","6.22.0rc1","6.22.1","6.22.2","6.22.2.post1","6.23.0","6.23.0rc2","6.23.1","6.24.0","6.24.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-fpm5-2wcj-vfr7/GHSA-fpm5-2wcj-vfr7.json","last_known_affected_version_range":"\u003c= 6.24.1"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"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"}]}