GitHub Advisoryadvisory · Maven
GHSA-f776-w9v2-7vfj XWiki Change Request Application UI XSS and remote code execution through change request title
CRITICAL
Official page ↗
- Aliases
- CVE-2023-45138
- Ecosystem
- Maven
- Packages
- org.xwiki.contrib.changerequest:application-changerequest-ui
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-79
- Reviewed
- 2023-10-17
Affected packages
• Maven org.xwiki.contrib.changerequest:application-changerequest-ui: >= 0.11, < 1.9.2 → fixed in 1.9.2
Description
Impact
It's possible for a user without any specific right to perform script injection and remote code execution just by inserting an appropriate title when creating a new Change Request.
This vulnerability is particularly critical as Change Request aims at being created by user without any particular rights.
Patches
The vulnerability has been fixed in Change Request 1.9.2.
Workarounds
It's possible to workaround the issue without upgrading by editing the document `ChangeRequest.Code.ChangeRequestSheet` and by performing the same change as in the commit: https://github.com/xwiki-contrib/application-changerequest/commit/7565e720117f73102f5a276239eabfe85e15cff4.
References
• JIRA ticket: https://jira.xwiki.org/browse/CRAPP-298
• Commit of the fix: https://github.com/xwiki-contrib/application-changerequest/commit/7565e720117f73102f5a276239eabfe85e15cff4
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
Attribution
Thanks Michael Hamann for the report.
Related
Alias · CVE (1)
- CVE-2023-45138 Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/xwiki-contrib/application-changerequest/security/advisories/GHSA-f776-w9v2-7vfj web
- https://nvd.nist.gov/vuln/detail/CVE-2023-45138 advisory
- https://github.com/xwiki-contrib/application-changerequest/commit/7565e720117f73102f5a276239eabfe85e15cff4 web
- https://github.com/xwiki-contrib/application-changerequest package
- https://jira.xwiki.org/browse/CRAPP-298 web