Vulnerability Details : CVE-2022-41927
XWiki Platform is vulnerable to Cross-Site Request Forgery (CSRF) that may allow attackers to delete or rename tags without needing any confirmation. The problem has been patched in XWiki 13.10.7, 14.4.1 and 14.5RC1. Workarounds: It's possible to patch existing instances directly by editing the page Main.Tags and add this kind of check, in the code for renaming and for deleting: ``` #if (!$services.csrf.isTokenValid($request.get('form_token'))) #set ($discard = $response.sendError(401, "Wrong CSRF token")) #end ```
Vulnerability category: Cross-site request forgery (CSRF)
Exploit prediction scoring system (EPSS) score for CVE-2022-41927
Probability of exploitation activity in the next 30 days: 0.05%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 15 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2022-41927
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
7.4
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N |
2.8
|
4.0
|
NIST |
7.4
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N |
2.8
|
4.0
|
GitHub, Inc. |
CWE ids for CVE-2022-41927
-
The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request.Assigned by: security-advisories@github.com (Primary)
References for CVE-2022-41927
-
https://github.com/xwiki/xwiki-platform/commit/7fd4cda0590180c4d34f557597e9e10e263def9e
XWIKI-19748: Wrong error code in tags · xwiki/xwiki-platform@7fd4cda · GitHubPatch;Third Party Advisory
-
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mq7h-5574-hw9f
Cross-Site Request Forgery (CSRF) allowing to delete or rename tags · Advisory · xwiki/xwiki-platform · GitHubMitigation;Patch;Third Party Advisory
Products affected by CVE-2022-41927
- cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
- cpe:2.3:a:xwiki:xwiki:14.4:*:*:*:*:*:*:*
- cpe:2.3:a:xwiki:xwiki:3.2:milestone2:*:*:*:*:*:*
- cpe:2.3:a:xwiki:xwiki:3.2:milestone3:*:*:*:*:*:*