PT-2020-19720

CVE-2020-7697

·

Published

2020-07-29

·

Updated

2021-07-21

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions mock2easy versions prior to 0.0.25
Description The issue allows a malicious user to inject commands through the data variable. This is possible in the affected area of the code, specifically where the require('../server/getJsonByCurl') function is called with user-controlled input from data.interfaceUrl, data.cookie, and data.interfaceType.
Recommendations For versions prior to 0.0.25, consider validating and sanitizing the data variable to prevent command injection. As a temporary workaround, restrict access to the require('../server/getJsonByCurl') function to minimize the risk of exploitation. Ensure that all user-controlled input is properly validated to prevent malicious command injection.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-G4XJ-WCQ6-QWX5
Found an issue in the description? Have something to add? Feel free to write us 👾