CVE-2023-45138: Change Request Application vulnerable to XSS and remote code execution through change request title
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.
Other sources
Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly. Starting in version 0.11 and prior to version 1.9.2, 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. The vulnerability has been fixed in Change Request 1.9.2. 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 fix commit.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2023-45138?
CVE-2023-45138 is a vulnerability in the Change Request application that allows users to perform script injection and remote code execution.
How severe is CVE-2023-45138?
CVE-2023-45138 is considered critical with a severity value of 10.
How can an attacker exploit CVE-2023-45138?
An attacker can exploit CVE-2023-45138 by inserting an appropriate title when creating a new Change Request, allowing them to perform script injection and remote code execution.
What is the affected software version?
The affected software version is org.xwiki.contrib.changerequest:application-changerequest-ui 0.11 up to (excluding) 1.9.2.
Is there a fix available for CVE-2023-45138?
Yes, a fix is available for CVE-2023-45138. Users should update to version 1.9.2 of org.xwiki.contrib.changerequest:application-changerequest-ui.