SecurityContext

CVE-2021-3291: Zen Cart - Command Injection

  • Cve: CVE-2021-3291
  • Name: Zen Cart - Command Injection
  • Description: Zen Cart 1.5.7b allows admins to execute arbitrary OS commands by inspecting an HTML radio input element (within the modules edit page) and inserting a command.
  • Impact: Attackers with admin privileges can execute arbitrary OS commands, potentially leading to full system compromise.
  • Remediation: Update to the latest version of Zen Cart or apply security patches addressing input validation issues.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: admin_privileges
  • Requirements: Attacker needs admin privileges
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.16976
  • Epss percentile: 0.97143
  • Assignee: [email protected]
  • Published at: 2021-01-26T18:16:29Z
  • Age in days: 2128
  • Modified at: 2026-06-17T04:04:53Z
  • Public exploits total: 3
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-3291
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

Public exploits

UrlSourceAdded date
http://packetstormsecurity.com/files/161613/Zen-Cart-1.5.7b-Remote-Code-Execution.htmlnvd2021-01-26
https://github.com/MucahitSaratar/zencart_auth_rce_pocnvd2021-01-26
https://github.com/ImHades101/CVE-2021-3291poc-in-github2021-04-25

References

UrlSourceTags
http://packetstormsecurity.com/files/161613/Zen-Cart-1.5.7b-Remote-Code-Execution.htmlnvdExploit, Third Party Advisory, VDB Entry
https://github.com/MucahitSaratar/zencart_auth_rce_pocnvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
zen-cart:zen_cart= 1.5.7bnonvd/v1/products/zen-cart/zen_cart

Projects

RepositoryLink kindsIndexedUrl
zencart/zencartcommit, fix, packageyes/v1/repositories/zencart/zencart

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 3
  • Public exploit first date: 2021-01-26
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 592
  • Checked, none or zero: known exploited, known exploited by, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports