Publish Advisories

GHSA-93gh-jgjj-r929
GHSA-ghf6-2f42-mjh9
GHSA-gr82-8fj2-ggc3
GHSA-qcj9-gcpg-4w2w
This commit is contained in:
advisory-database[bot]
2023-10-27 21:01:50 +00:00
parent c703e14863
commit 0a2a21632f
4 changed files with 12 additions and 12 deletions
@@ -1,13 +1,13 @@
{
"schema_version": "1.4.0",
"id": "GHSA-93gh-jgjj-r929",
"modified": "2023-10-25T21:30:33Z",
"modified": "2023-10-27T21:01:16Z",
"published": "2023-10-25T21:14:07Z",
"aliases": [
"CVE-2023-45137"
],
"summary": "XWiki Platform vulnerable to XSS with edit right in the create document form for existing pages",
"details": "### Impact\nWhen trying to create a document that already exists, XWiki displays an error message in the form for creating it. Due to missing escaping, this error message is vulnerable to raw HTML injection and thus XSS. The injected code is the document reference of the existing document so this requires that the attacker first creates a non-empty document whose name contains the attack code. \n\nTo reproduce, the following steps can be used:\n\n1. Go to `<xwiki-host>/xwiki/bin/create/Main/WebHome?parent=&templateprovider=&spaceReference=&name=%3Cimg%20onerror=%22alert(1)%22%20src=%22test%22` where `<xwiki-host>` is the URL of your XWiki installation.\n2. Create the page and add some content.\n3. Go again to `<xwiki-host>/xwiki/bin/create/Main/WebHome?parent=&templateprovider=&spaceReference=&name=%3Cimg%20onerror=%22alert(1)%22%20src=%22test%22` where `<xwiki-host>` is the URL of your XWiki installation.\n\nIf an alert with content \"1\" is displayed, the installation is vulnerable. This allows an attacker to execute arbitrary actions with the rights of the user opening the malicious link. Depending on the rights of the user, this may allow remote code execution and full read and write access to the whole XWiki installation.\n\n### Patches\nThis has been patched in XWiki 14.10.12 and 15.5RC1 by adding the appropriate escaping.\n\n### Workarounds\nThe vulnerable template file createinline.vm is part of XWiki's WAR and can be patched by manually applying the [changes from the fix](https://github.com/xwiki/xwiki-platform/commit/ed8ec747967f8a16434806e727a57214a8843581#diff-c222148bddebe4ff7629350f4053b618504a4ab172e697938c8fddf7c1fc6bc8).\n\n### References\n* https://github.com/xwiki/xwiki-platform/commit/ed8ec747967f8a16434806e727a57214a8843581\n* https://jira.xwiki.org/browse/XWIKI-20961\n",
"details": "### Impact\nWhen trying to create a document that already exists, XWiki displays an error message in the form for creating it. Due to missing escaping, this error message is vulnerable to raw HTML injection and thus XSS. The injected code is the document reference of the existing document so this requires that the attacker first creates a non-empty document whose name contains the attack code. \n\nTo reproduce, the following steps can be used:\n\n1. Go to `<xwiki-host>/xwiki/bin/create/Main/WebHome?parent=&templateprovider=&spaceReference=&name=%3Cimg%20onerror=%22alert(1)%22%20src=%22test%22` where `<xwiki-host>` is the URL of your XWiki installation.\n2. Create the page and add some content.\n3. Go again to `<xwiki-host>/xwiki/bin/create/Main/WebHome?parent=&templateprovider=&spaceReference=&name=%3Cimg%20onerror=%22alert(1)%22%20src=%22test%22` where `<xwiki-host>` is the URL of your XWiki installation.\n\nIf an alert with content \"1\" is displayed, the installation is vulnerable. This allows an attacker to execute arbitrary actions with the rights of the user opening the malicious link. Depending on the rights of the user, this may allow remote code execution and full read and write access to the whole XWiki installation.\n\n### Patches\nThis has been patched in XWiki 14.10.12 and 15.5RC1 by adding the appropriate escaping.\n\n### Workarounds\nThe vulnerable template file createinline.vm is part of XWiki's WAR and can be patched by manually applying the [changes from the fix](https://github.com/xwiki/xwiki-platform/commit/ed8ec747967f8a16434806e727a57214a8843581#diff-c222148bddebe4ff7629350f4053b618504a4ab172e697938c8fddf7c1fc6bc8).",
"severity": [
{
"type": "CVSS_V3",
@@ -100,7 +100,7 @@
"CWE-79"
],
"severity": "CRITICAL",
"github_reviewed": false,
"github_reviewed": true,
"github_reviewed_at": "2023-10-25T21:14:07Z",
"nvd_published_at": null
}
@@ -1,13 +1,13 @@
{
"schema_version": "1.4.0",
"id": "GHSA-qcj9-gcpg-4w2w",
"modified": "2023-10-25T21:30:32Z",
"modified": "2023-10-27T21:01:13Z",
"published": "2023-10-25T21:13:37Z",
"aliases": [
"CVE-2023-45136"
],
"summary": "XWiki Platform web templates vulnerable to reflected XSS in the create document form if name validation is enabled",
"details": "### Impact\nWhen document names are validated according to a name strategy (disabled by default), XWiki is vulnerable to a reflected XSS attack in the page creation form. To reproduce, make sure that \"Validate names before saving\" is enabled in the administration under \"Editing\" -> \"Name strategies\" and then open `<xwiki-host>/xwiki/bin/create/Main/%3Cscript%3Ealert%28%27Test%20Test%20Test%20Test%20Test%27%29%3C%2Fscript%3E` where `<xwiki-host>` is the URL of your XWiki installation. This displays an alert if the installation is vulnerable. This allows an attacker to execute arbitrary actions with the rights of the user opening the malicious link. Depending on the rights of the user, this may allow remote code execution and full read and write access to the whole XWiki installation.\n\n### Patches\nThis has been patched in XWiki 14.10.12 and 15.5RC1 by adding appropriate escaping.\n\n### Workarounds\nThe vulnerable template file `createinline.vm` is part of XWiki's WAR and can be patched by manually applying the [changes from the fix](https://github.com/xwiki/xwiki-platform/commit/ba56fda175156dd35035f2b8c86cbd8ef1f90c2e#diff-c222148bddebe4ff7629350f4053b618504a4ab172e697938c8fddf7c1fc6bc8).\n\n### References\n\n* https://github.com/xwiki/xwiki-platform/commit/ba56fda175156dd35035f2b8c86cbd8ef1f90c2e\n* https://jira.xwiki.org/browse/XWIKI-20854",
"details": "### Impact\nWhen document names are validated according to a name strategy (disabled by default), XWiki is vulnerable to a reflected XSS attack in the page creation form. To reproduce, make sure that \"Validate names before saving\" is enabled in the administration under \"Editing\" -> \"Name strategies\" and then open `<xwiki-host>/xwiki/bin/create/Main/%3Cscript%3Ealert%28%27Test%20Test%20Test%20Test%20Test%27%29%3C%2Fscript%3E` where `<xwiki-host>` is the URL of your XWiki installation. This displays an alert if the installation is vulnerable. This allows an attacker to execute arbitrary actions with the rights of the user opening the malicious link. Depending on the rights of the user, this may allow remote code execution and full read and write access to the whole XWiki installation.\n\n### Patches\nThis has been patched in XWiki 14.10.12 and 15.5RC1 by adding appropriate escaping.\n\n### Workarounds\nThe vulnerable template file `createinline.vm` is part of XWiki's WAR and can be patched by manually applying the [changes from the fix](https://github.com/xwiki/xwiki-platform/commit/ba56fda175156dd35035f2b8c86cbd8ef1f90c2e#diff-c222148bddebe4ff7629350f4053b618504a4ab172e697938c8fddf7c1fc6bc8).",
"severity": [
{
"type": "CVSS_V3",
@@ -81,7 +81,7 @@
"CWE-79"
],
"severity": "CRITICAL",
"github_reviewed": false,
"github_reviewed": true,
"github_reviewed_at": "2023-10-25T21:13:37Z",
"nvd_published_at": null
}