Vulnerability · Published Apr 28, 2022 · Assigned by GitHub_M

CVE-2022-24898Arbitrary file access through XML parsing in org.xwiki.commons:xwiki-commons-xml

Medium 4.9

In plain English

A medium-severity XML external entity in xwiki-commons from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.9Medium
Exploit odds (30 days)1.5%top 25.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

org.xwiki.commons:xwiki-commons-xml is a common module used by other XWiki top level projects. Starting in version 2.7 and prior to versions 12.10.10, 13.4.4, and 13.8-rc-1, it is possible for a script to access any file accessing to the user running XWiki application server with XML External Entity Injection through the XML script service. The problem has been patched in versions 12.10.10, 13.4.4, and 13.8-rc-1. There is no easy workaround for fixing this vulnerability other than upgrading and being careful when giving Script rights.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.commons:xwiki-commons-xml12.10.10GHSA-m2r5-4w96-qxg5
Mavenorg.xwiki.commons:xwiki-commons-xml13.4.4GHSA-m2r5-4w96-qxg5
Mavenorg.xwiki.commons:xwiki-commons-xml13.8-rc-1GHSA-m2r5-4w96-qxg5

Affected products (as reported)

VendorProductVersions
xwiki xwiki-commons >= 2.7, < 12.10.10>= 13.0, < 13.4.4>= 13.5-rc-1, <= 13.7

Weakness: CWE-611 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

References