#VU50896 Code Injection in handlebars.js


Published: 2021-02-23 | Updated: 2021-07-04

Vulnerability identifier: #VU50896

Vulnerability risk: High

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

CVE-ID: CVE-2021-23369

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
handlebars.js
Web applications / JS libraries

Vendor: The Handlebars Templating Language

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

handlebars.js: 1.0.0 - 4.7.6


External links
http://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8
http://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427


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.


Latest bulletins with this vulnerability