ghsa-8cw6-4r32-6r3h
Vulnerability from github
Impact
Any user can edit his own profile and inject code which is going to be executed with programming right.
Steps to reproduce:
- Set your first name to
{{cache id="userProfile"}}{{groovy}}println("Hello from groovy!"){{/groovy}}{{/cache}}
The first name appears as interpreted "Hello from groovy
" instead of the expected fully escaped "{{cache id="userProfile"}}{{groovy}}println("Hello from groovy!"){{/groovy}}{{/cache}}
".
The same vulnerability can also be exploited in all other places where short text properties are displayed, e.g., in apps created using Apps Within Minutes that use a short text field.
Patches
The problem has been patched on versions 13.10.9, 14.4.4, 14.7RC1.
Workarounds
There are no other workarounds than upgrading XWiki or patching the xwiki-commons-xml JAR file.
References
- https://jira.xwiki.org/browse/XWIKI-19793
- https://jira.xwiki.org/browse/XWIKI-19794
- https://jira.xwiki.org/browse/XCOMMONS-2498
For more information
If you have any questions or comments about this advisory: * Open an issue in Jira XWiki.org * Email us at Security Mailing List
{ affected: [ { package: { ecosystem: "Maven", name: "org.xwiki.commons:xwiki-commons-xml", }, ranges: [ { events: [ { introduced: "3.1-milestone-1", }, { fixed: "13.10.9", }, ], type: "ECOSYSTEM", }, ], }, { package: { ecosystem: "Maven", name: "org.xwiki.commons:xwiki-commons-xml", }, ranges: [ { events: [ { introduced: "14.0-rc-1", }, { fixed: "14.4.4", }, ], type: "ECOSYSTEM", }, ], }, { package: { ecosystem: "Maven", name: "org.xwiki.commons:xwiki-commons-xml", }, ranges: [ { events: [ { introduced: "14.5", }, { fixed: "14.7-rc-1", }, ], type: "ECOSYSTEM", }, ], }, ], aliases: [ "CVE-2023-26055", ], database_specific: { cwe_ids: [ "CWE-150", ], github_reviewed: true, github_reviewed_at: "2023-03-03T22:49:27Z", nvd_published_at: "2023-03-02T19:15:00Z", severity: "CRITICAL", }, details: "### Impact\nAny user can edit his own profile and inject code which is going to be executed with programming right.\n\nSteps to reproduce:\n\n* Set your first name to\n\n```\n {{cache id=\"userProfile\"}}{{groovy}}println(\"Hello from groovy!\"){{/groovy}}{{/cache}}\n```\n\nThe first name appears as interpreted \"`Hello from groovy`\" instead of the expected fully escaped \"`{{cache id=\"userProfile\"}}{{groovy}}println(\"Hello from groovy!\"){{/groovy}}{{/cache}}`\".\n\nThe same vulnerability can also be exploited in all other places where short text properties are displayed, e.g., in apps created using [Apps Within Minutes](https://extensions.xwiki.org/xwiki/bin/view/Extension/App%20Within%20Minutes%20Application) that use a short text field.\n\n### Patches\nThe problem has been patched on versions 13.10.9, 14.4.4, 14.7RC1.\n\n### Workarounds\nThere are no other workarounds than upgrading XWiki or patching the xwiki-commons-xml JAR file.\n\n### References\n* https://jira.xwiki.org/browse/XWIKI-19793\n* https://jira.xwiki.org/browse/XWIKI-19794\n* https://jira.xwiki.org/browse/XCOMMONS-2498\n\n### For more information\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)\n", id: "GHSA-8cw6-4r32-6r3h", modified: "2023-03-03T22:49:27Z", published: "2023-03-03T22:49:27Z", references: [ { type: "WEB", url: "https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-8cw6-4r32-6r3h", }, { type: "ADVISORY", url: "https://nvd.nist.gov/vuln/detail/CVE-2023-26055", }, { type: "PACKAGE", url: "https://github.com/xwiki/xwiki-commons", }, { type: "WEB", url: "https://jira.xwiki.org/browse/XCOMMONS-2498", }, { type: "WEB", url: "https://jira.xwiki.org/browse/XWIKI-19793", }, { type: "WEB", url: "https://jira.xwiki.org/browse/XWIKI-19794", }, ], schema_version: "1.4.0", severity: [ { score: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", type: "CVSS_V3", }, ], summary: "XWiki Platform may allow privilege escalation to programming rights via user's first name", }
Log in or create an account to share your comment.
This schema specifies the format of a comment related to a security advisory.
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.