CVE-2021-3291 in the critical feed json
Zen Cart vulnerable to authenticated remote code execution
published 5y ago modified 4mo ago also GHSA-38f9-4vhq-9cr8 , EUVD-2022-2136
- cvss
- 7.2
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 17.0%
- EPSS 17.0% chance of exploitation in 30 days, percentile 97%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
Is CVE-2021-3291 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerTimeline
- Published
- First public exploit (EDB-49608)
Exploit prediction
16.98% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-49608 Zen Cart 1.5.7b - Remote Code Execution (Authenticated) webapps, 2021-03-02
- github.com https://github.com/MucahitSaratar/zencart_auth_rce_poc referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/161613/Zen-Cart-1.5.7b-Remote-Code-Execution.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 9.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
| GitHub | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | zencart/zencart | <1.5.7c |
1.5.7c |
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/zencart/zencart/commit/7447627f7148b11c614f89dab4a09d3f102b58af
web
-
github.com
/MucahitSaratar/zencart_auth_rce_poc
web, exploit, third-party-advisory
-
packetstormsecurity.com
/files/161613/Zen-Cart-1.5.7b-Remote-Code-Execution.html
web, exploit, third-party-advisory, vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2021-3291
advisory
-
github.com
/zencart/zencart
package
Sources
- CVE List CVE-2021-3291
- GitHub Advisory GHSA-38f9-4vhq-9cr8
- NVD CVE-2021-3291
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.