CVE-2020-13959
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.
How to fix
- apache velocity_tools3.1 or later
- org.apache.velocity.tools:velocity-tools-parent3.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache velocity_tools | v < 3.1 | 3.1 |
| debian debian_linux | 9.0 | — |
| org.apache.velocity.tools:velocity-tools-parentMaven | v < 3.1 | 3.1 |
| org.apache.velocity:velocity-toolsMaven | v ≤ 2.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.