Code Injection in haml-coffee - CVE-2021-32818

 

Code Injection in haml-coffee - CVE-2021-32818

Published: May 24, 2021


Vulnerability identifier: #VU53438
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2021-32818
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Michael Kessler
Affected software:
haml-coffee

Detailed vulnerability description

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

The vulnerability exists due to improper input validation in the "customHtmlEscape" parameter. A remote authenticated attacker can execute arbitrary code on the target system.

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


How to mitigate CVE-2021-32818

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources