HIGH7.2
GHSA-9p2w-rmx4-9mw7
Command Injection in strapi
Quick fix
GHSA-9p2w-rmx4-9mw7 — strapi: upgrade to the fixed version with the command below.
npm install strapi@3.0.0-beta.17.8Details
Versions of `strapi` before 3.0.0-beta.17.8 are vulnerable to Command Injection. The package fails to sanitize plugin names in the `/admin/plugins/install/` route. This may allow an authenticated attacker with admin privileges to run arbitrary commands in the server.
## Recommendation
Upgrade to version 3.0.0-beta.17.8 or later
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-19609[ADVISORY]
- https://github.com/strapi/strapi/pull/4636[WEB]
- https://bittherapy.net/post/strapi-framework-remote-code-execution[WEB]
- https://github.com/strapi/strapi[PACKAGE]
- https://www.npmjs.com/advisories/1424[WEB]
- http://packetstormsecurity.com/files/163940/Strapi-3.0.0-beta.17.7-Remote-Code-Execution.html[WEB]
- http://packetstormsecurity.com/files/163950/Strapi-CMS-3.0.0-beta.17.4-Remote-Code-Execution.html[WEB]