HandlebarsJS < 4.7.7 Multiple Vulnerabilities

critical Web App Scanning Plugin ID 114093

Synopsis

HandlebarsJS < 4.7.7 Multiple Vulnerabilities

Description

According to its self-reported version number, HandlebarsJS on the remote server is prior to version 4.7.7. Therefore, it may be affected by multiple vulnerabilities.

- A Prototype Pollution Vulnerability when seleclecting certain compiling options to compile templates originating from untrusted sources (CVE-2021-23383).

- A Remote Code Execution vulnerability when seleclecting certain compiling options to compile templates originating from untrusted sources (CVE-2021-23369).

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to HandlebarsJS version 4.7.7 or later.

See Also

https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8

https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427

Plugin Details

Severity: Critical

ID: 114093

Type: remote

Published: 10/24/2023

Updated: 10/25/2023

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-23369

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS Score Source: CVE-2021-23369

Vulnerability Information

CPE: cpe:2.3:a:handlebarsjs:handlebars:-:*:*:*:*:*:*:*

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/15/2021

Vulnerability Publication Date: 5/4/2021

Reference Information

CVE: CVE-2021-23369, CVE-2021-23383