Vulnerability · Published Mar 10, 2021 · Assigned by apache
CVE-2020-13959Velocity Tools XSS Vulnerability
Medium 6.1
In plain English
A medium-severity cross-site scripting in Apache Velocity Tools from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 5.7% (higher than 93% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | velocity-tools | 2.0-8 | DEBIAN-CVE-2020-13959 |
| Debian:13 | velocity-tools | 2.0-8 | DEBIAN-CVE-2020-13959 |
| Debian:14 | velocity-tools | 2.0-8 | DEBIAN-CVE-2020-13959 |
| Maven | org.apache.velocity.tools:velocity-tools-parent | 3.1 | GHSA-fh63-4r66-jc7v |
| Maven | org.apache.velocity:velocity-tools | no fix listed | GHSA-fh63-4r66-jc7v |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Velocity Tools | Apache Velocity Tools – before 3.1 |
Weakness: CWE-79
References
- https://lists.apache.org/thread.html/r6802a38c3041059e763a1aadd7b37fe95de75408144b5805e29b84e3%40%3Cuser.velocity.apache.org%3E x_refsource_MISC
- [velocity-commits] 20210310 [velocity-site] 01/01: CVE announcement mailing-list, x_refsource_MLIST
- [announce] 20210310 CVE-2020-13959: Velocity Tools XSS Vulnerability mailing-list, x_refsource_MLIST
- [oss-security] 20210309 CVE-2020-13959: Velocity Tools XSS Vulnerability mailing-list, x_refsource_MLIST
- [debian-lts-announce] 20210317 [SECURITY] [DLA 2597-1] velocity-tools security update mailing-list, x_refsource_MLIST
- [velocity-user] 20210318 Re: CVE-2020-13959: Velocity Tools XSS Vulnerability mailing-list, x_refsource_MLIST
- GLSA-202107-52 vendor-advisory, x_refsource_GENTOO