improper input validation in URI.js



Published: 2021-02-22 | Updated: 2022-08-29
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-27516
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: #VU66816

Risk: Medium

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

CVE-ID: CVE-2021-27516

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to insufficient validation of strings that contain backslash, such as "http:/", which is interpreted as as a relative path. A remote attacker can pass a malformed URI to the application and read contents local files.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

urijs: 1.0.0 - 1.19.5

External links

http://github.com/medialize/URI.js/commit/a1ad8bcbc39a4d136d7e252e76e957f3ece70839
http://github.com/medialize/URI.js/releases/tag/v1.19.6
http://advisory.checkmarx.net/advisory/CX-2021-4305


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###