XWiki Platform vulnerable to Cross-Site Request Forgery (CSRF) allowing to delete or rename tags (xwiki xwiki-platform)

CVE-2022-41927
HIGH 7.4

En bref

Source
NVD
EPSS
EPSS 0.31 % · centile 24 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
GitHub_M
Statut NVD
Modified

Description

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 ```

Faiblesses (CWE)

  • CWE-352 — Falsification de requête inter-site (CSRF)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.4CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:NGitHub_M
CVSS 3.1HIGH 7.4CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:NNVD · security-advisories@github.com (Secondary)
CVSS 3.1HIGH 7.4CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:NNVD · nvd@nist.gov (Primary)

Avis

Références européennes

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
xwiki · xwiki-platformaffected >= 3.2-milestone-2, < 13.10.7 ; affected >= 14.0.0, < 14.4.1

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD