GHSA-cvx5-m8vg-vxgc

    Dashboard / Vulnerabilities / GHSA-cvx5-m8vg-vxgc

    GHSA-cvx5-m8vg-vxgc

    Published: 28 Apr 2022Last Modified: 8 Nov 2023

    Summary: Arbitrary filesystem write access from velocity.

    Details: ### Impact The velocity scripts is not properly sandboxed against using the Java File API to perform read or write operations on the filesystem. Now 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. ### Patches The problem has been patched on versions 12.6.7, 12.10.3 and 13.0RC1. ### Workarounds There's no easy workaround for fixing this vulnerability other than upgrading and being careful when giving Script rights. ### References https://jira.xwiki.org/browse/XWIKI-5168 ### For more information If you have any questions or comments about this advisory: * Open an issue in [Jira XWiki](https://jira.xwiki.org) * Email us at [XWiki Security mailing-list](mailto:[email protected])

    Affected packages

    Package

    Name: org.xwiki.commons:xwiki-commons-velocity

    Purl: pkg:maven/org.xwiki.commons/xwiki-commons-velocity

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 2.3.0
    Fixed -12.6.7

    Affected versions

    10.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-cvx5-m8vg-vxgc | CVE-DB