CVE-2021-21379

Vulnérabilité élevée dans xwiki-platform (xwiki)

CVSS 7.7 · Élevée
EPSS 0.5%
xwiki•xwiki-platform•Versions : >= 11.4.0, < 11.10.11, >= 12.7.0, < 12.8-rc-1, >= 12.0.0, < 12.6.3

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.

Gravité et risque d'exploitation

CVE-2021-21379 obtient un score CVSS de 7.7/10, soit une gravité élevée. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.48 %, ce qui la place devant 39.8 % des CVE référencées.

Que faire ?

  • Vérifiez si xwiki-platform (versions >= 11.4.0, < 11.10.11, >= 12.7.0, < 12.8-rc-1, >= 12.0.0, < 12.6.3) est présent sur votre parc.
  • Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
  • À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
  • Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.

Références