PT-2019-17699 · Larvit · Larvitbase-Api
Ermilov
·
Published
2019-09-03
·
Updated
2020-10-16
·
CVE-2019-5479
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
larvitbase-api versions prior to 0.5.4
Description
The issue allows an attacker to load arbitrary non-production code, specifically JavaScript files, due to an unintended require vulnerability. This is possible because the package exposes an API endpoint and passes a GET parameter unsanitized to a require() call, allowing attackers to execute any .js file in the same folder as the server is running.
Recommendations
Upgrade to version 0.5.4 or later.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Larvitbase-Api