GHSA-f3f8-vx3w-hp5q

Suggest an improvement
Source
https://github.com/advisories/GHSA-f3f8-vx3w-hp5q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-f3f8-vx3w-hp5q/GHSA-f3f8-vx3w-hp5q.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-f3f8-vx3w-hp5q
Aliases
  • CVE-2024-10081
Published
2024-11-06T15:57:08Z
Modified
2024-11-06T16:12:23.973661Z
Severity
  • 10.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N CVSS Calculator
  • 9.9 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N CVSS Calculator
Summary
codechecker vulnerable to authentication bypass when using specifically crafted URLs
Details

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.

Database specific
{
    "nvd_published_at": "2024-11-06T15:15:11Z",
    "cwe_ids": [
        "CWE-288"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2024-11-06T15:57:08Z"
}
References

Affected packages

PyPI / codechecker

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.24.2

Affected versions

6.*

6.16.0a1
6.16.0
6.17.0
6.18.0
6.18.1
6.18.2
6.19.0
6.19.1
6.20.0rc1
6.20.0
6.21.0rc1
6.21.0
6.22.0rc1
6.22.0
6.22.1
6.22.2
6.22.2.post1
6.23.0rc2
6.23.0
6.23.1
6.24.0
6.24.1

Database specific

{
    "last_known_affected_version_range": "<= 6.24.1"
}