From bfd54ce324a1b058d83b1ff762ec3e52ababbcd0 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:58:29 +0000 Subject: [PATCH] Publish Advisories GHSA-f3f8-vx3w-hp5q GHSA-fpm5-2wcj-vfr7 --- .../GHSA-f3f8-vx3w-hp5q.json | 72 +++++++++++++++++++ .../GHSA-fpm5-2wcj-vfr7.json | 72 +++++++++++++++++++ 2 files changed, 144 insertions(+) create mode 100644 advisories/github-reviewed/2024/11/GHSA-f3f8-vx3w-hp5q/GHSA-f3f8-vx3w-hp5q.json create mode 100644 advisories/github-reviewed/2024/11/GHSA-fpm5-2wcj-vfr7/GHSA-fpm5-2wcj-vfr7.json diff --git a/advisories/github-reviewed/2024/11/GHSA-f3f8-vx3w-hp5q/GHSA-f3f8-vx3w-hp5q.json b/advisories/github-reviewed/2024/11/GHSA-f3f8-vx3w-hp5q/GHSA-f3f8-vx3w-hp5q.json new file mode 100644 index 00000000000..d5410c0c9e6 --- /dev/null +++ b/advisories/github-reviewed/2024/11/GHSA-f3f8-vx3w-hp5q/GHSA-f3f8-vx3w-hp5q.json @@ -0,0 +1,72 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-f3f8-vx3w-hp5q", + "modified": "2024-11-06T15:57:08Z", + "published": "2024-11-06T15:57:08Z", + "aliases": [ + "CVE-2024-10081" + ], + "summary": "codechecker vulnerable to authentication bypass when using specifically crafted URLs", + "details": "### Summary\nAuthentication 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.\n\n### Details\nAll endpoints, apart from the /Authentication is affected by the vulnerability.\n\nThe vulnerability allows unauthenticated users to access all API functionality.\nYou can look for the following pattern in the logs to check if the vulnerabilty was exploited:\n![image](https://github.com/user-attachments/assets/6ba02231-a3d8-4832-aee6-f96462b7441e)\n\nNote 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.\n\n### Impact\nThis authentication bypass allows querying, adding, changing, and deleting Products contained on the CodeChecker server, without authentication, by an anonymous user.\n", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N" + }, + { + "type": "CVSS_V4", + "score": "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" + } + ], + "affected": [ + { + "package": { + "ecosystem": "PyPI", + "name": "codechecker" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "6.24.2" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "<= 6.24.1" + } + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/Ericsson/codechecker/security/advisories/GHSA-f3f8-vx3w-hp5q" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-10081" + }, + { + "type": "WEB", + "url": "https://github.com/Ericsson/codechecker/commit/ad41702e3108e4b92ae5d0143a5b961cc34195eb" + }, + { + "type": "PACKAGE", + "url": "https://github.com/Ericsson/codechecker" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-288" + ], + "severity": "CRITICAL", + "github_reviewed": true, + "github_reviewed_at": "2024-11-06T15:57:08Z", + "nvd_published_at": "2024-11-06T15:15:11Z" + } +} \ No newline at end of file diff --git a/advisories/github-reviewed/2024/11/GHSA-fpm5-2wcj-vfr7/GHSA-fpm5-2wcj-vfr7.json b/advisories/github-reviewed/2024/11/GHSA-fpm5-2wcj-vfr7/GHSA-fpm5-2wcj-vfr7.json new file mode 100644 index 00000000000..dc5d4aac384 --- /dev/null +++ b/advisories/github-reviewed/2024/11/GHSA-fpm5-2wcj-vfr7/GHSA-fpm5-2wcj-vfr7.json @@ -0,0 +1,72 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-fpm5-2wcj-vfr7", + "modified": "2024-11-06T15:57:57Z", + "published": "2024-11-06T15:57:57Z", + "aliases": [ + "CVE-2024-10082" + ], + "summary": "codechecker authentication method confusion vulnerability allows logging in as the built-in root user from an external service", + "details": "### Summary\nAuthentication 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. \n\n### Details\nUntil CodeChecker version 6.24.1 there was an auto-generated super-user account that could not be disabled.\nThe attacker needs to know only the username of the root user.\n\nThis root user is unconditionally assigned superuser permissions.\n\nWhich 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.\n\nThe name of the user name can be found in `root.user` file in the CodeChecker configuration directory.\nYou can check if you are impacted by checking the existence of this user in the external authentication services (e.g. LDAP, PAM etc.).\n\n### Impact\nThis 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.\nThe attacker needs to acquire the username of the root user to be successful.\n", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N" + }, + { + "type": "CVSS_V4", + "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "PyPI", + "name": "codechecker" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "6.24.2" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "<= 6.24.1" + } + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/Ericsson/codechecker/security/advisories/GHSA-fpm5-2wcj-vfr7" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-10082" + }, + { + "type": "WEB", + "url": "https://github.com/Ericsson/codechecker/commit/866f3796d01f3158c49b87ccae3e09c0807c1c7b" + }, + { + "type": "PACKAGE", + "url": "https://github.com/Ericsson/codechecker" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-305" + ], + "severity": "CRITICAL", + "github_reviewed": true, + "github_reviewed_at": "2024-11-06T15:57:57Z", + "nvd_published_at": "2024-11-06T15:15:11Z" + } +} \ No newline at end of file