xwiki-platform: Inadequate Encryption Strength
CVE-2022-29161 is a critical-severity inadequate encryption strength vulnerability in xwiki-platform from XWiki, with a CVSS 3.1 base score of 9.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected xwiki-platform versions: < 13.10.6; >= 14.0.0, < 14.3.1; >= 14.4.0, < 14.4-rc-1. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.41% chance of exploitation within 30 days, which is low compared with other CVEs.
Critical severity: a successful attack would have severe impact.
What to do
- Update Xwiki to 13.10.6 or 14.3.1, whichever matches your release line, or a later version.
- Read the advisory on github.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| XWiki | xwiki-platform | < 13.10.6; >= 14.0.0, < 14.3.1; >= 14.4.0, < 14.4-rc-1 | Not stated |
| XWiki | Xwiki | before 13.10.6; 14.0 up to, but not including, 14.3.1 | 13.10.6, 14.3.1 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 5.4 | Medium | CNA (github.com) |
| CVSS 3.1 | 9.8 | Critical | NVD |
| CVSS 2.0 | 6.8 | Medium | NVD |
Official 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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Inadequate Encryption Strength
The product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required.
How developers prevent this class of flaw
- Use an encryption scheme that is currently considered to be strong by experts in the field.
More Inadequate Encryption Strength vulnerabilities (CWE-326)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Patches and release notes
- github.com/xwiki/xwiki-platform/commit/26728f3f23658288683667a5182a916c7ecefc52Third Party Advisory
Other vulnerabilities in xwiki-platform
- 7.1 High severity
- 8.2 High severity
- 7.5 High severity
- 9.3 Critical severity
- 8.6 High severity
- 7.5 High severity
Recent Inadequate Encryption Strength vulnerabilities
- 7.5 High severity
- 8.1 High severity
- 8.1 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
Spotted an error? Tell us.