#VU53013 Prototype Pollution in handlebars.js


Published: 2021-06-29

Vulnerability identifier: #VU53013

Vulnerability risk: High

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

CVE-ID: CVE-2021-23383

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: Yes

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 when selecting certain compiling options to compile templates. A remote attacker can execute arbitrary code on the target system.

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

Mitigation
Install update from vendor's website.

Vulnerable software versions

handlebars.js: 1.0.0 - 4.7.6


External links
http://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1279032
http://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1279031
http://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427
http://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1279030
http://snyk.io/vuln/SNYK-JS-HANDLEBARS-1279029


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. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability