Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The XWiki Crypto API will generate X509 certificates signed by default using SHA1 with RSA, which is not considered safe anymore for use in certificate signatures, due to the risk of collisions with SHA1. The problem has been patched in XWiki version 13.10.6, 14.3.1 and 14.4-rc-1. Since then, the Crypto API will generate X509 certificates signed by default using SHA256 with RSA. Administrators are advised to upgrade their XWiki installation to one of the patched versions. If the upgrade is not possible, it is possible to patch the module xwiki-platform-crypto in a local installation by applying the change exposed in 26728f3 and re-compiling the module.
Remediation
References
https://jira.xwiki.org/browse/XWIKI-19676
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h8v5-p258-pqf4
https://github.com/xwiki/xwiki-platform/commit/26728f3f23658288683667a5182a916c7ecefc52
Related Vulnerabilities
CVE-2022-34205 Vulnerability in maven package org.jenkins-ci.plugins:jianliao
CVE-2023-31579 Vulnerability in maven package top.tangyh.basic:lamp-util
CVE-2023-48238 Vulnerability in npm package json-web-token
CVE-2022-25927 Vulnerability in maven package org.webjars.npm:ua-parser-js
CVE-2023-26471 Vulnerability in maven package org.xwiki.platform:xwiki-platform-rendering-async-api