CVE-2022-24897
Summary
| CVE | CVE-2022-24897 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-05-02 22:15:00 UTC |
| Updated | 2023-07-06 13:35:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-22
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Arbitrary filesystem write access from velocity. · Advisory · xwiki/xwiki-commons · GitHub | CONFIRM | github.com | |
| [XWIKI-5168] Arbitrary filesystem write access from velocity. - XWiki.org JIRA | MISC | jira.xwiki.org | |
| XWIKI-5168: Don't allow some methods in velocity introspector by surli · Pull Request #127 · xwiki/xwiki-commons · GitHub | MISC | github.com | |
| XWIKI-5168: Don't allow some methods in velocity introspector (#127) · xwiki/xwiki-commons@215951c · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.