codechecker vulnerable to authentication bypass when using specifically crafted URLs
Critical severity
GitHub Reviewed
Published
Nov 6, 2024
in
Ericsson/codechecker
•
Updated Nov 6, 2024
Description
Published by the National Vulnerability Database
Nov 6, 2024
Published to the GitHub Advisory Database
Nov 6, 2024
Reviewed
Nov 6, 2024
Last updated
Nov 6, 2024
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
orServerInfo
and it was made by anAnonymous
user.Impact
This authentication bypass allows querying, adding, changing, and deleting Products contained on the CodeChecker server, without authentication, by an anonymous user.
References