CVE-2022-24897

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

CVSS 7.5 · Élevée
EPSS 1.8%
xwiki•xwiki-commons•Versions : 12.7-rc-1, < 12.10.3, >= 2.3, < 12.6.7

Description

APIs to evaluate content with Velocity is a package for APIs to evaluate content with Velocity. Starting with version 2.3 and prior to 12.6.7, 12.10.3, and 13.0, the velocity scripts are not properly sandboxed against using the Java File API to perform read or write operations on the filesystem. Writing an attacking script in Velocity requires the Script rights in XWiki so not all users can use it, and it also requires finding an XWiki API which returns a File. The problem has been patched in versions 12.6.7, 12.10.3, and 13.0. There is no easy workaround for fixing this vulnerability other than upgrading and being careful when giving Script rights.

Gravité et risque d'exploitation

CVE-2022-24897 obtient un score CVSS de 7.5/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 1.79 %, ce qui la place devant 78.0 % des CVE référencées.

Que faire ?

  • Vérifiez si xwiki-commons (versions 12.7-rc-1, < 12.10.3, >= 2.3, < 12.6.7) 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