PT-2021-9683 · Apache+2 · Apache Velocity Tools+2
Published
2021-03-10
·
Updated
2023-08-10
·
CVE-2020-13959
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Apache Velocity Tools versions prior to 3.1
Description
The default error page for VelocityView in Apache Velocity Tools 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. This allows attackers to execute arbitrary JavaScript in the context of the attacked website and the attacked user, potentially leading to the theft of session cookies, performing requests in the name of the victim, or phishing attacks.
Recommendations
For versions prior to 3.1, update to version 3.1 or later to resolve the issue. As a temporary workaround, consider restricting access to the default error page for VelocityView to minimize the risk of exploitation. Avoid using user-inputted vm files in the URL until the issue is resolved.
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Apache Velocity Tools
Linuxmint
Ubuntu