Debian Security Advisory

DLA-2597-1 velocity-tools -- LTS security update

Date Reported:
17 Mar 2021
Affected Packages:
velocity-tools
Vulnerable:
Yes
Security database references:
In Mitre's CVE dictionary: CVE-2020-13959.
More information:

It was discovered that there was a cross-site scripting (XSS) vulnerability in velocity-tools, a collection of useful tools for the "Velocity" template engine.

The default error page could be exploited to steal session cookies, perform requests in the name of the victim, used for phishing attacks and many other similar attacks.

  • CVE-2020-13959

    The default error page for VelocityView in Apache Velocity Tools prior to 3.1 reflects back the vm file that was entered as part of the URL. An attacker can set an XSS payload file as this vm file in the URL which results in this payload being executed. XSS vulnerabilities allow attackers to execute arbitrary JavaScript in the context of the attacked website and the attacked user. This can be abused to steal session cookies, perform requests in the name of the victim or for phishing attacks.

For Debian 9 Stretch, these problems have been fixed in version 2.0-6+deb9u1.

We recommend that you upgrade your velocity-tools packages.

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS