CVE-2021-21308: PrestaShop - Command Injection
- Cve: CVE-2021-21308
- Name: PrestaShop - Command Injection
- Description: PrestaShop is a fully scalable open source e-commerce solution. In PrestaShop before version 1.7.2 the soft logout system is not complete and an attacker is able to foreign request and executes customer commands. The problem is fixed in 1.7.7.2
- Impact: Attackers can execute customer commands, potentially leading to unauthorized actions or data manipulation.
- Remediation: Update to version 1.7.7.2 or later.
- Vulnerability type: command_injection
- Vulnerability impact: data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.01876
- Epss percentile: 0.79837
- Assignee: [email protected]
- Published at: 2021-02-26T20:15:12Z
- Age in days: 2097
- Modified at: 2026-06-17T03:35:15Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-21308
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-287 | Improper Authentication |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/PrestaShop/PrestaShop/commit/2f673bd93e313f08c35e74decc105f40dc0b7dee | Patch, Third Party Advisory |
| https://github.com/PrestaShop/PrestaShop/releases/tag/1.7.7.2 | Release Notes, Third Party Advisory |
| https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-557h-hf3c-whcg | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| prestashop:prestashop | > 1.5.0.0, < 1.7.7.2 | no | nvd | /v1/products/prestashop/prestashop |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| prestashop/prestashop | commit, releases, security_advisory | yes | /v1/repositories/prestashop/prestashop |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 4429
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports