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-2019-10380 Vulnerability in maven package org.jenkins-ci.plugins:simple-travis-runner
CVE-2018-8038 Vulnerability in maven package org.apache.cxf.fediz:fediz-core
CVE-2021-22096 Vulnerability in maven package org.springframework:spring-webflux
CVE-2022-22968 Vulnerability in maven package org.springframework:spring-context