CVE-2022-24897: Arbitrary filesystem write access from Velocity
xwiki · xwiki-commons
Affected: xwiki-commons · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 78% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- xwiki · xwiki-commons>= 2.3, < 12.6.7; 12.7-rc-1, < 12.10.3
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
CoverageNo articles yet
No CyberSIXT article names CVE-2022-24897 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-22cwe.mitre.org
- github.com/xwiki/xwiki-commons/security/advisories/GHSA-cvx5-m8vgithub.com
- github.com/xwiki/xwiki-commons/pull/127github.com
- github.com/xwiki/xwiki-commons/commit/215951cfb0f808d0bf5b1097c9github.com
- jira.xwiki.org/browse/XWIKI-5168jira.xwiki.org