From a9e98112039deb3d6dac42eee48191e435ed06dd Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Wed, 31 Jul 2024 16:55:11 +0000 Subject: [PATCH] Publish Advisories GHSA-692v-783f-mg8x GHSA-hw28-333w-qxp3 --- .../GHSA-692v-783f-mg8x.json | 93 +++++++++++++++++++ .../GHSA-hw28-333w-qxp3.json | 80 ++++++++++++++++ 2 files changed, 173 insertions(+) create mode 100644 advisories/github-reviewed/2024/07/GHSA-692v-783f-mg8x/GHSA-692v-783f-mg8x.json create mode 100644 advisories/github-reviewed/2024/07/GHSA-hw28-333w-qxp3/GHSA-hw28-333w-qxp3.json diff --git a/advisories/github-reviewed/2024/07/GHSA-692v-783f-mg8x/GHSA-692v-783f-mg8x.json b/advisories/github-reviewed/2024/07/GHSA-692v-783f-mg8x/GHSA-692v-783f-mg8x.json new file mode 100644 index 00000000000..61cb1b3f38a --- /dev/null +++ b/advisories/github-reviewed/2024/07/GHSA-692v-783f-mg8x/GHSA-692v-783f-mg8x.json @@ -0,0 +1,93 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-692v-783f-mg8x", + "modified": "2024-07-31T16:54:36Z", + "published": "2024-07-31T16:54:36Z", + "aliases": [ + "CVE-2024-41947" + ], + "summary": "XWiki Platform vulnerable to Cross-Site Scripting (XSS) through conflict resolution", + "details": "### Impact\n\nBy creating a conflict when another user with more rights is currently editing a page, it is possible to execute JavaScript snippets on the side of the other user, which compromises the confidentiality, integrity and availability of the whole XWiki installation.\n\nTo reproduce on a XWiki instance, a user with admin rights needs to edit a document without saving right away.\nThen, as another user without any other right than edit on the specific document, change the whole content to ``.\nWhen the admin user then saves the document, a conflict popup appears. If they select \"Fix each conflict individually\" and see an alert displaying \"XSS\", then the instance is vulnerable.\n\n### Patches\n\nThis has been patched in XWiki 15.10.8 and 16.3.0RC1.\n\n### Workarounds\n\nWe're not aware of any workaround except upgrading.\n\n### References\n\n* https://jira.xwiki.org/browse/XWIKI-21626\n* https://github.com/xwiki/xwiki-platform/commit/821d43ec45e67d45a6735a0717b9b77fffc1cd9f\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H" + }, + { + "type": "CVSS_V4", + "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Maven", + "name": "org.xwiki.platform:xwiki-platform-web-templates" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "11.8-rc-1" + }, + { + "fixed": "15.10.8" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Maven", + "name": "org.xwiki.platform:xwiki-platform-web-templates" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "16.0.0-rc-1" + }, + { + "fixed": "16.3.0-rc-1" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-692v-783f-mg8x" + }, + { + "type": "WEB", + "url": "https://github.com/xwiki/xwiki-platform/commit/821d43ec45e67d45a6735a0717b9b77fffc1cd9f" + }, + { + "type": "WEB", + "url": "https://github.com/xwiki/xwiki-platform/commit/e00e159d3737397eebd1f6ff925c1f5cb7cdec34" + }, + { + "type": "PACKAGE", + "url": "https://github.com/xwiki/xwiki-platform" + }, + { + "type": "WEB", + "url": "https://jira.xwiki.org/browse/XWIKI-21626" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-79", + "CWE-80" + ], + "severity": "CRITICAL", + "github_reviewed": true, + "github_reviewed_at": "2024-07-31T16:54:36Z", + "nvd_published_at": null + } +} \ No newline at end of file diff --git a/advisories/github-reviewed/2024/07/GHSA-hw28-333w-qxp3/GHSA-hw28-333w-qxp3.json b/advisories/github-reviewed/2024/07/GHSA-hw28-333w-qxp3/GHSA-hw28-333w-qxp3.json new file mode 100644 index 00000000000..6cc2fa0f913 --- /dev/null +++ b/advisories/github-reviewed/2024/07/GHSA-hw28-333w-qxp3/GHSA-hw28-333w-qxp3.json @@ -0,0 +1,80 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-hw28-333w-qxp3", + "modified": "2024-07-31T16:53:13Z", + "published": "2024-07-31T16:53:13Z", + "aliases": [ + "CVE-2024-22278" + ], + "summary": "Harbor fails to validate the user permissions when updating project configurations", + "details": "### Impact\nHarbor fails to validate the maintainer role permissions when creating/updating/deleting project configurations - API call:\n\n- PUT /projects/{project_name_or_id}/metadatas/{meta_name}\n- POST /projects/{project_name_or_id}/metadatas/{meta_name}\n- DELETE /projects/{project_name_or_id}/metadatas/{meta_name}\n\nBy sending a request to create/update/delete a metadata with an name that belongs to a project that the currently authenticated and granted to the maintainer role user doesn’t have access to, the attacker could modify configurations in the current project.\n\nBTW: the maintainer role in Harbor was intended for individuals who closely support the project admin in maintaining the project but lack configuration management permissions. However, the maintainer role can utilize the metadata API to circumvent this limitation. It's important to note that any potential attacker must be authenticated and granted a specific project maintainer role to modify configurations, limiting their scope to only that project.\n\n\n### Patches\nWill be fixed in v2.9.5, v2.10.3 and v2.11.0\n\n### Workarounds\nThere are no workarounds available.\n\n### Credit\nThanks to Ravid Mazon(rmazon@paloaltonetworks.com), Jay Chen (jaychen@paloaltonetworks.com) Palo Alto Networks for reporting this issue.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N" + }, + { + "type": "CVSS_V4", + "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:H/SC:L/SI:L/SA:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Go", + "name": "github.com/goharbor/harbor" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "2.9.5" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Go", + "name": "github.com/goharbor/harbor" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.10.0" + }, + { + "fixed": "2.10.3" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/goharbor/harbor/security/advisories/GHSA-hw28-333w-qxp3" + }, + { + "type": "PACKAGE", + "url": "https://github.com/goharbor/harbor" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-269" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2024-07-31T16:53:13Z", + "nvd_published_at": null + } +} \ No newline at end of file