Arbitrary file access through XML parsing in org.xwiki.commons:xwiki-commons-xml
CVE-2022-24898
Key facts
CVE-2022-24898 is a medium severity (CVSS 4.9) vulnerability in xwiki-commons. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.1%, the estimated probability of exploitation in the next 30 days. Fixed in xwiki-commons 2.7, 12.10.10, 13.0, 13.4.4.
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit code yet
- No: No attacks seen yet
- No: Not on CISA's exploited list
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Update to a fixed version
Upgrade to one of these versions or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach xwiki-commons. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Monitor"
- Its CVSS severity is medium (4.9).
What is CVE-2022-24898?
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 Version(s)
xwiki-commons >= 2.7, < 12.10.10 < 2.7, 12.10.10
xwiki-commons >= 13.0, < 13.4.4 < 13.0, 13.4.4
xwiki-commons >= 13.5-rc-1, <= 13.7 <= 13.5-rc-1, 13.7