Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1mM2Y4LXZ4M3ctaHA1cc4ABBBq

codechecker vulnerable to authentication bypass when using specifically crafted URLs

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:
image

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.

Permalink: https://github.com/advisories/GHSA-f3f8-vx3w-hp5q
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1mM2Y4LXZ4M3ctaHA1cc4ABBBq
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 11 hours ago
Updated: about 11 hours ago


CVSS Score: 10.0
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

Identifiers: GHSA-f3f8-vx3w-hp5q, CVE-2024-10081
References: Repository: https://github.com/Ericsson/codechecker
Blast Radius: 0.0

Affected Packages

pypi:codechecker
Dependent packages: 0
Dependent 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