Input validation error in URI.js



Published: 2021-01-06
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-26291
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
urijs
Web applications / Modules and components for CMS

Vendor True Push

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Input validation error

EUVDB-ID: #VU49301

Risk: Medium

CVSSv3.1: 4.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-26291

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform spoofing attacks.

The vulnerability exists due to insufficient validation of user-supplied hostname. the hostname can be spoofed by using a backslash (\) character followed by an at (@) character. If the hostname is used in security decisions, the decision may be incorrect. Depending on library usage and attacker intent, impacts may include allow/block list bypasses, SSRF attacks, open redirects, or other undesired behavior.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

urijs: 1.16.1 - 1.19.3

External links

http://github.com/medialize/URI.js/commit/b02bf037c99ac9316b77ff8bfd840e90becf1155
http://github.com/medialize/URI.js/releases/tag/v1.19.4
http://github.com/medialize/URI.js/security/advisories/GHSA-3329-pjwv-fjpg
http://www.npmjs.com/package/urijs


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###