CVE-2024-5762
Zen-Cart Zen Cart 1.5.8a
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2024-5762 is a high-severity PHP Remote File Inclusion (CWE-98) vulnerability in Zen-Cart Zen Cart. Its CVSS base score is 8.1 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 0.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
Zen Cart contains a local file inclusion vulnerability in the findPluginAdminPage function that permits remote code execution on affected installations. The flaw stems from insufficient validation of user-supplied input before it is passed to a PHP include operation, allowing an attacker to supply a malicious path. The issue is tracked as ZDI-CAN-21408 and carries a CVSS 3.1 score of 8.1.
Unauthenticated remote attackers can exploit the weakness over the network, albeit with elevated attack complexity. Successful exploitation, often in combination with other vulnerabilities, grants arbitrary code execution in the context of the service account, resulting in full confidentiality, integrity, and availability impact on the target system.
The referenced Zen Cart 2.0.0 release notes and Zero Day Initiative advisory ZDI-24-883 address remediation steps for the affected software. The EPSS score has remained flat at 0.0911 with no material increase observed since disclosure.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-46914
Vulnerability Data
Zen Cart findPluginAdminPage Local File Inclusion Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Zen Cart. Authentication is not required to exploit this vulnerability. The specific flaw exists within the findPluginAdminPage…
more
function. The issue results from the lack of proper validation of user-supplied data prior to passing it to a PHP include function. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of the service account. Was ZDI-CAN-21408.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 6 hardening rules · 6 OS baselines
V14.2.3V3.5.6V9.1.3V15.3.2
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Developer testing and static analysis can discover missing filename restrictions before deployment.
Validating all inputs before they reach include/require statements directly stops untrusted filenames from being used.
Requires documented, valid provenance for components, preventing acceptance of code from outside the trusted sphere.
Enforcing access authorizations on resources limits what an included file can reach even if a bad name is supplied.
Information-flow rules can block the loading of external or unauthorized files into the PHP process.
Implements detection and prevention of counterfeit or inauthentic components before they are integrated.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Pre-acquisition integrity/authenticity checks directly prevent inclusion of untrusted code.
Supply-chain program directly governs inclusion of third-party executable code.
Contractual requirements can mandate trusted sources and integrity checks for included functionality.
Supplier risk assessment explicitly covers risks from their products and libraries.
Critical-supplier assessment reduces risk of importing executable functionality from untrusted parties.
Secure SDLC practices such as input validation and allow-listing of include paths directly prevent the weakness.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can detect RFI but does not prevent the weakness by itself.
A.5.21's supply chain controls — vetting suppliers, requiring propagation of security practices, validating component genuineness via hash/signature checks, demanding SBOM-like disclosure, and verifying no unexpected features (items a, b, c, d, i, j, k) — prevent the supply-chain vector of CWE-829 where a malicious or compromised component enters through procurement; the bounded remainder is the non-supply-chain modes of the weakness (runtime inclusion of external web widgets, PHP/file-inclusion vulnerabilities, dynamic loading from untrusted sources at runtime), which the clause does not reach.
Training can make developers aware of the risks of including functionality from untrusted sources (libraries, widgets, third-party code), which prevents some instances where developers would otherwise pull in unvetted dependencies; but the decision is often driven by functional need and time pressure, and even trained developers routinely include third-party code without fully vetting its control sphere, so a substantial remainder of instances still arises.
Network segregation can block the remote file inclusion vector by preventing the web server from making outbound connections to attacker-controlled hosts, but it does not block local file inclusion (which uses files already on the server) and leaves the underlying code defect intact.
Secure coding standards directly require whitelisting and sanitization of filenames used in include/require statements.
A.8.30 carries its effect through the secure-development practices (8.25–8.29) its contract requires of the supplier, so a faithfully implemented clause reduces ordinary software implementation defects like improper input handling in PHP include/require statements, but the effect is mediated by the supplier's practice and is bounded by the same ceiling the owner set on A.8.30 vs CWE-134.
Hardening callouts derived
Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.
Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.
No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.
Oracle Linux 8 (1 partial rule)
- V-248635 Executable search paths within the initialization files of all local interactive OL 8 users must only contain paths that resolve to the system default or the user's home directory. blocks CWE-829
Oracle Linux 9 (1 partial rule)
- V-271847 OL 9 must be configured so that executable search paths within the initialization files of all local interactive users must only contain paths that resolve to the system default or the users home directory. blocks CWE-829
RHEL 7 (1 partial rule)
- V-204477 The Red Hat Enterprise Linux operating system must be configured so that all local interactive user initialization files executable search paths contain only paths that resolve to the users home directory. blocks CWE-829
RHEL 8 (1 partial rule)
- V-230317 Executable search paths within the initialization files of all local interactive RHEL 8 users must only contain paths that resolve to the system default or the users home directory. blocks CWE-829
RHEL 9 (1 partial rule)
- V-258050 Executable search paths within the initialization files of all local interactive RHEL 9 users must only contain paths that resolve to the system default or the users home directory. blocks CWE-829
Windows 10 (1 partial rule)
- V-220737 Administrative accounts must not be used with applications that access the Internet, such as web browsers, or with potential Internet sources, such as email. blocks CWE-829