Command injection in strapi
When creating a strapi app using npxcreate-strapi-app, we can inject arbitrary commands through the template cli argument as per the code in this particular [link](https://github.com/strapi/strapi/blob/master/packages/generators/app/lib/utils/fetch-npm-template.js#L13), this happens due to improper sanitization of user input.
01
beschreibt (1)
Zugehörige CVEs.
| ID | Schweregrad | ausnutzbar | ||
|---|---|---|---|---|
| CVE-2022-0764US | medium6.7 | — | ||
Arbitrary Command Injection in GitHub repository strapi/strapi prior to 4.1.0. | ||||
02
Referenzen
Externe Belege — Patches, Meldungen, Analysen.
- https://github.com/strapi/strapiPACKAGE
- https://github.com/strapi/strapi/blob/master/packages/generators/app/lib/utils/fetch-npm-template.js#L13WEB
- https://github.com/strapi/strapi/commit/2a3f5e988be6a2c7dae5ac22b9e86d579b462f4cWEB
- https://github.com/strapi/strapi/issues/12879WEB
- https://huntr.dev/bounties/001d1c29-805a-4035-93bb-71a0e81da3e5WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-0764ADVISORY
- https://www.github.com/strapi/strapi/commit/2a3f5e988be6a2c7dae5ac22b9e86d579b462f4cWEB
scry
Advisories wie diese benennen die exponierten Produkte, die Angreifer auf Ihrer Angriffsfläche ins Visier nehmen. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan