GitHub Advisoryadvisory · PyPI
GHSA-f3f8-vx3w-hp5q codechecker vulnerable to authentication bypass when using specifically crafted URLs
CRITICAL
Official page ↗
- Aliases
- CVE-2024-10081
- Ecosystem
- PyPI
- Packages
- codechecker
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
- Weaknesses
- CWE-288
- Reviewed
- 2024-11-06
Affected packages
• PyPI codechecker: < 6.24.2 → fixed in 6.24.2
Description
Summary
Authentication bypass occurs when the API URL ends with Authentication, Configuration or ServerInfo. This bypass allows superuser access to all API endpoints other than Authentication. These endpoints include the ability to add, edit, and remove products, among others.
Details
All endpoints, apart from the /Authentication is affected by the vulnerability.
The vulnerability allows unauthenticated users to access all API functionality.
You can look for the following pattern in the logs to check if the vulnerabilty was exploited:
Note that the url starts with v and contains a valid CodeChecker endpoint, but it ends in `Authentication`, `Configuration` or `ServerInfo` and it was made by an `Anonymous` user.
Impact
This authentication bypass allows querying, adding, changing, and deleting Products contained on the CodeChecker server, without authentication, by an anonymous user.
Related
Alias · CVE (1)
- CVE-2024-10081 CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy. vulnerability
Weakness · CWE (1)
- CWE-288 Authentication Bypass Using an Alternate Path or Channel weakness
References
- https://github.com/Ericsson/codechecker/security/advisories/GHSA-f3f8-vx3w-hp5q web
- https://nvd.nist.gov/vuln/detail/CVE-2024-10081 advisory
- https://github.com/Ericsson/codechecker/commit/ad41702e3108e4b92ae5d0143a5b961cc34195eb web
- https://github.com/Ericsson/codechecker package
- https://github.com/pypa/advisory-database/tree/main/vulns/codechecker/PYSEC-2024-238.yaml web