CVE-2023-45144 Remote code execution from login screen through unescaped URL parameter in OAuth Identity XWiki App
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on OAuth authorizations. When a user logs in via the OAuth method, the identityOAuth parameters sent in the GET request is vulnerable to cross site scripting (XSS) and XWiki syntax injection. This allows remote code execution via the groovy macro and thus affects the confidentiality, integrity and availability of the whole XWiki installation. The issue has been fixed in Identity OAuth version 1.6. There are no known workarounds for this vulnerability and users are advised to upgrade.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| com.xwiki.identity-oauth/identity-oauth-ui(Maven) | >= 1.0, < 1.6 | 1.6 | Fixed |
| xwiki oauth identity | >= 1.0, < 1.6 | 1.6 | Fixed |
| xwikisas identity-oauth | = >= 1.0, < 1.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| com.xwiki.identity-oauth/identity-oauth-ui(Maven) | >= 1.0, < 1.6 | 1.6 |
| xwikisas identity-oauth | = >= 1.0, < 1.6 | No fix listed |
| xwiki oauth identity | >= 1.0, < 1.6 | 1.6 |
References
- https://github.com/xwikisas/identity-oauth/security/advisories/GHSA-h2rm-29ch-wfmh vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/xwikisas/identity-oauth/commit/d805d3154b17c6bf455ddf5deb0a3461a3833bc6 patch
- https://github.com/xwikisas/identity-oauth/blob/master/ui/src/main/resources/IdentityOAuth/LoginUIExtension.vm#L58 broken-link
- https://jira.xwiki.org/browse/XWIKI-20719 permissions-required
- github.com
- github.com product