CVE-2022-29161: XWiki Platform - Weak Cryptography
- Cve: CVE-2022-29161
- Name: XWiki Platform - Weak Cryptography
- 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.
- Impact: Attackers can forge certificates, potentially leading to man-in-the-middle attacks or impersonation.
- Remediation: Upgrade to versions 13.10.6, 14.3.1, or 14.4-rc-1, or patch the crypto module as per the provided fix.
- Vulnerability type: weak_cryptography
- Vulnerability impact: man_in_the_middle
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00412
- Epss percentile: 0.36257
- Assignee: [email protected]
- Published at: 2022-05-06T00:15:07Z
- Age in days: 1663
- Modified at: 2026-06-17T04:39:42Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-29161
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-327 | Use of a Broken or Risky Cryptographic Algorithm |
| CWE-326 | Inadequate Encryption Strength |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/xwiki/xwiki-platform/commit/26728f3f23658288683667a5182a916c7ecefc52 | Patch, Third Party Advisory |
| https://jira.xwiki.org/browse/XWIKI-19676 | Vendor Advisory |
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h8v5-p258-pqf4 | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| xwiki:xwiki | >= 14.0, < 14.3.1; < 13.10.6 | no | nvd | /v1/products/xwiki/xwiki |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| xwiki/xwiki-platform | commit, fix, package, security_advisory | yes | /v1/repositories/xwiki/xwiki-platform |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 142594
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports