CVE-2021-21379
CVSS V2 Low 3.5
CVSS V3 Medium 5.4
Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions of XWiki Platform, the `{{wikimacrocontent}}` executes the content with the rights of the wiki macro author instead of the caller of that wiki macro. This makes possible to inject scripts through it and they will be executed with the rights of the wiki macro (very often a user which has Programming rights). Fortunately, no such macro exists by default in XWiki Standard but one could have been created or installed with an extension. This vulnerability has been patched in versions XWiki 12.6.3, 11.10.11 and 12.8-rc-1. There is no easy workaround other than disabling the affected macros. Inserting content in a safe way or knowing what is the user who called the wiki macro is not easy.
Overview
- CVE ID
- CVE-2021-21379
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-03-12T18:15:12
- Last Modified Date
- 2021-03-22T16:26:57
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* | 1 | OR | 11.4 | 11.10.11 |
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* | 1 | OR | 12.0 | 12.6.3 |
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* | 1 | OR | 12.7 | 12.7.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:S/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- SINGLE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 3.5
- Severity
- LOW
- Exploitability Score
- 6.8
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 5.4
- Base Severity
- MEDIUM
- Exploitability Score
- 2.3
- Impact Score
- 2.7
References
Reference URL | Reference Tags |
---|---|
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-v662-xpcc-9xf6 | Third Party Advisory |
https://jira.xwiki.org/browse/XWIKI-17759 | Vendor Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-21379 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21379 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:19:18 | Added to TrackCVE | |||
2022-12-05 23:41:34 | 2021-03-12T18:15Z | 2021-03-12T18:15:12 | CVE Published Date | updated |
2022-12-05 23:41:34 | 2021-03-22T16:26:57 | CVE Modified Date | updated | |
2022-12-05 23:41:34 | Analyzed | Vulnerability Status | updated |