Open redirect in koa-remove-trailing-slashes - CVE-2021-23384

 

Open redirect in koa-remove-trailing-slashes - CVE-2021-23384

Published: May 25, 2021 / Updated: May 26, 2021


Vulnerability identifier: #VU53536
CSH Severity: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2021-23384
CWE-ID: CWE-601
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
koa-remove-trailing-slashes
Software vendor:
Verdens Gang AS

Description

The vulnerability allows a remote attacker to redirect victims to arbitrary URL.

The vulnerability exists due to improper sanitization of user-supplied data in "index.js::removeTrailingSlashes()". A remote attacker can create a link that leads to a trusted website, however, when clicked, redirects the victim to arbitrary domain.

Successful exploitation of this vulnerability may allow a remote attacker to perform a phishing attack and steal potentially sensitive information.


Remediation

Install updates from vendor's website.

External links