CVE-2022-24897
XWiki Velocity File API FS RCE
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.
INFO
Published Date :
May 2, 2022, 10:15 p.m.
Last Modified :
July 6, 2023, 1:35 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
1.6
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-24897
.
URL | Resource |
---|---|
https://github.com/xwiki/xwiki-commons/commit/215951cfb0f808d0bf5b1097c9e7d1e503449ab8 | Patch Third Party Advisory |
https://github.com/xwiki/xwiki-commons/pull/127 | Patch Third Party Advisory |
https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-cvx5-m8vg-vxgc | Third Party Advisory |
https://jira.xwiki.org/browse/XWIKI-5168 | Exploit Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-24897
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-24897
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Jul. 06, 2023
Action Type Old Value New Value Removed CWE NIST CWE-668 Added CWE NIST CWE-22 -
Initial Analysis by [email protected]
May. 11, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/xwiki/xwiki-commons/commit/215951cfb0f808d0bf5b1097c9e7d1e503449ab8 No Types Assigned https://github.com/xwiki/xwiki-commons/commit/215951cfb0f808d0bf5b1097c9e7d1e503449ab8 Patch, Third Party Advisory Changed Reference Type https://github.com/xwiki/xwiki-commons/pull/127 No Types Assigned https://github.com/xwiki/xwiki-commons/pull/127 Patch, Third Party Advisory Changed Reference Type https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-cvx5-m8vg-vxgc No Types Assigned https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-cvx5-m8vg-vxgc Third Party Advisory Changed Reference Type https://jira.xwiki.org/browse/XWIKI-5168 No Types Assigned https://jira.xwiki.org/browse/XWIKI-5168 Exploit, Vendor Advisory Added CWE NIST CWE-668 Added CPE Configuration OR *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 2.3 up to (excluding) 12.6.7 *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 12.7 up to (excluding) 12.10.3
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-24897
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-24897
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.27 }} 0.06%
score
0.68215
percentile