PT-2024-28377 · Unknown · Calculator-Boilerplate
Published
2024-07-18
·
Updated
2024-08-01
·
CVE-2024-39173
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
calculator-boilerplate version 1.0
Description
The issue is related to a remote code execution (RCE) vulnerability. This vulnerability allows attackers to execute arbitrary code via a crafted payload injected into the input field. The vulnerability is specifically located in the
eval function at the "/routes/calculator.js" endpoint.Recommendations
For calculator-boilerplate version 1.0, consider disabling the
eval function in the "/routes/calculator.js" file as a temporary workaround until a patch is available. Restrict access to the input field to minimize the risk of exploitation.Fix
Eval Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Calculator-Boilerplate