org.xwiki.commons:xwiki-commons-velocity@4.1-milestone-1 vulnerabilities

  • latest version

    17.7.0

  • latest non vulnerable version

  • first published

    13 years ago

  • latest version published

    18 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.xwiki.commons:xwiki-commons-velocity package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Improper Neutralization of Special Elements Used in a Template Engine

    Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine via improper handling of dynamic template rendering in the HTTP Meta Info field of the Global Preferences Presentation section. An attacker can execute arbitrary template logic on the server by injecting crafted Apache Velocity template code. This may expose internal server information or, depending on configuration, allow further exploitation such as remote code execution or sensitive data leakage.

    Note:

    This is only exploitable if the attacker has authenticated administrator access to the Administration interface.

    How to fix Improper Neutralization of Special Elements Used in a Template Engine?

    Upgrade org.xwiki.commons:xwiki-commons-velocity to version 17.6.0-rc-1 or higher.

    [,17.6.0-rc-1)
    • C
    Eval Injection

    Affected versions of this package are vulnerable to Eval Injection due to not escaping { in the Velocity escapetool. An attacker can inject XWiki syntax, leading to remote code execution by exploiting the HTML escaping tool's inability to escape {.

    How to fix Eval Injection?

    Upgrade org.xwiki.commons:xwiki-commons-velocity to version 14.10.19, 15.5.4, 15.9-rc-1 or higher.

    [,14.10.19)[15.0-rc-1,15.5.4)[15.6-rc-1,15.9-rc-1)
    • H
    Directory Traversal

    Affected versions of this package are vulnerable to Directory Traversal due to velocity scripts not properly sandboxed against using the Java File API to perform read or write operations on the filesystem.

    How to fix Directory Traversal?

    Upgrade org.xwiki.commons:xwiki-commons-velocity to version 12.6.7, 12.10.3 or higher.

    [,12.6.7)[12.7-rc-1,12.10.3)