Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1mcG01LTJ3Y2otdmZyN84ABBBr
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1mcG01LTJ3Y2otdmZyN84ABBBr
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 11 hours ago
Updated: about 11 hours ago
CVSS Score: 8.7
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
Identifiers: GHSA-fpm5-2wcj-vfr7, CVE-2024-10082
References:
- https://github.com/Ericsson/codechecker/security/advisories/GHSA-fpm5-2wcj-vfr7
- https://nvd.nist.gov/vuln/detail/CVE-2024-10082
- https://github.com/Ericsson/codechecker/commit/866f3796d01f3158c49b87ccae3e09c0807c1c7b
- https://github.com/advisories/GHSA-fpm5-2wcj-vfr7
Blast Radius: 0.0
Affected Packages
pypi:codechecker
Dependent packages: 0Dependent repositories: 1
Downloads: 13,945 last month
Affected Version Ranges: <= 6.24.1
Fixed in: 6.24.2
All affected versions: 6.16.0, 6.17.0, 6.18.0, 6.18.1, 6.18.2, 6.19.0, 6.19.1, 6.20.0, 6.21.0, 6.22.0, 6.22.1, 6.22.2, 6.23.0, 6.23.1, 6.24.0, 6.24.1
All unaffected versions: 6.24.2, 6.24.4