Skip to content

CVE-2020-13959 Velocity Tools XSS Vulnerability

MediumCVSS 6.1 EPSS 5.7%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

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.

Upgrade path

11 packages: 10 fixed.

PackageAffectedFixed inStatus
Apache Velocity Tools >= Apache Velocity Tools, < 3.1 3.1 Fixed
apache velocity tools < 3.1 3.1 Fixed
debian/velocity-tools(Debian 12) < 2.0-8 2.0-8 Fixed
debian/velocity-tools(Debian 13) < 2.0-8 2.0-8 Fixed
debian/velocity-tools(Debian 14) < 2.0-8 2.0-8 Fixed
org.apache.velocity.tools/velocity-tools-parent(Maven) < 3.1; = 3.0 3.1 Fixed
org.apache.velocity/velocity-tools(Maven) <= 2.0; = 1.3; = 2.0; = 2.0-beta2 +2 more after 2.0 Fixed
ubuntu/velocity-tools(Ubuntu 20.04) < 2.0-7ubuntu0.20.04.1; = 2.0-7 2.0-7ubuntu0.20.04.1 Fixed
ubuntu/velocity-tools(Ubuntu Pro 16.04) < 2.0-4ubuntu0.1~esm1; = 2.0-3; = 2.0-4 2.0-4ubuntu0.1~esm1 Fixed
ubuntu/velocity-tools(Ubuntu Pro 18.04) < 2.0-7ubuntu0.18.04.1~esm1; = 2.0-6; = 2.0-7 2.0-7ubuntu0.18.04.1~esm1 Fixed
debian linux = 9.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.apache.velocity.tools/velocity-tools-parent(Maven) < 3.1 3.1
org.apache.velocity/velocity-tools(Maven) <= 2.0 No fix listed
org.apache.velocity.tools/velocity-tools-parent(Maven) = 3.0 No fix listed
org.apache.velocity/velocity-tools(Maven) = 1.3 No fix listed
org.apache.velocity/velocity-tools(Maven) = 2.0 No fix listed
org.apache.velocity/velocity-tools(Maven) = 2.0-beta2 No fix listed
org.apache.velocity/velocity-tools(Maven) = 2.0-beta3 No fix listed
org.apache.velocity/velocity-tools(Maven) = 2.0-beta4 No fix listed
debian/velocity-tools(Debian:12) < 2.0-8 2.0-8
debian/velocity-tools(Debian:13) < 2.0-8 2.0-8
debian/velocity-tools(Debian:14) < 2.0-8 2.0-8
apache velocity tools < 3.1 3.1
debian linux = 9.0 No fix listed
Apache Velocity Tools >= Apache Velocity Tools, < 3.1 3.1
ubuntu/velocity-tools(Ubuntu:Pro:16.04) < 2.0-4ubuntu0.1~esm1 2.0-4ubuntu0.1~esm1
ubuntu/velocity-tools(Ubuntu:Pro:16.04) = 2.0-3 No fix listed
ubuntu/velocity-tools(Ubuntu:Pro:16.04) = 2.0-4 No fix listed
ubuntu/velocity-tools(Ubuntu:Pro:18.04) < 2.0-7ubuntu0.18.04.1~esm1 2.0-7ubuntu0.18.04.1~esm1
ubuntu/velocity-tools(Ubuntu:Pro:18.04) = 2.0-6 No fix listed
ubuntu/velocity-tools(Ubuntu:Pro:18.04) = 2.0-7 No fix listed
ubuntu/velocity-tools(Ubuntu:20.04) < 2.0-7ubuntu0.20.04.1 2.0-7ubuntu0.20.04.1
ubuntu/velocity-tools(Ubuntu:20.04) = 2.0-7 No fix listed

References