CVE-2024-31823: An issue in Ecommerce-CodeIgniter-Bootstrap commit v.
An issue in Ecommerce-CodeIgniter-Bootstrap commit v. d22b54e8915f167a135046ceb857caaf8479c4da allows a remote attacker to execute arbitrary code via the removeSecondaryImage method of the Publish.php component.
Security readout for executives and security teams
Plain-English summary
CVE-2024-31823 is a critical remote code-execution flaw reported in Ecommerce-CodeIgniter-Bootstrap. An attacker may be able to make an affected server run unauthorized code without credentials or user interaction, potentially compromising stored data, site integrity, and availability. The supplied records do not clearly define a broader affected-version range.
Executive priority
Treat internet-accessible affected systems as an immediate remediation priority because the reported flaw permits unauthenticated remote code execution with full-impact potential. Inventory uncertainty should not delay containment. If the component is absent or unreachable, document that evidence and continue monitoring project guidance.
Technical view
The flaw is attributed to the removeSecondaryImage method in Publish.php at commit d22b54e8915f167a135046ceb857caaf8479c4da. It is classified as CWE-94 and scored CVSS 3.1 9.8: network-accessible, low complexity, unauthenticated, and requiring no user interaction, with high confidentiality, integrity, and availability impact.
Likely exposure
Exposure is most likely where Ecommerce-CodeIgniter-Bootstrap containing the identified commit is deployed and the vulnerable Publish.php functionality is remotely reachable. The supplied metadata lists no usable vendor, product version range, or CPE, so organizations must verify deployments by repository origin, commit history, and code inspection.
Exploitation context
The supplied record does not list CVE-2024-31823 in KEV and provides no evidence of active exploitation. Public references exist, but their inclusion alone does not establish exploitation in the wild. Prioritize based on unauthenticated network reachability and potential impact, not an unverified exploitation claim.
Researcher notes
Affected-product metadata is unusually incomplete: vendor, product, versions, and CPEs are recorded as n/a. The description identifies one repository commit but does not establish a complete vulnerable range or name a fixed release. Validation should therefore be code- and reachability-based. No active exploitation claim is supported by the supplied bundle.
Mitigation direction
Identify deployments derived from the referenced Ecommerce-CodeIgniter-Bootstrap repository and commit history.
Restrict external access to the affected publishing functionality while remediation is assessed.
Disable the affected method or component if operationally feasible and safely tested.
Check project guidance for a confirmed correction or fixed release before upgrading.
Preserve relevant application, web, and system logs for incident review.
Validation and detection
Confirm whether deployed code contains the referenced Publish.php method and commit lineage.
Determine whether the affected functionality is reachable from untrusted networks without authentication.
Review application and web logs for anomalous requests involving the affected component.
Inspect affected hosts for unexpected file changes, processes, accounts, or outbound connections.
After remediation, verify the vulnerable functionality is removed, corrected, or effectively inaccessible.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-94: Code execution behavior lookup
Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
2ADP providers
4Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-94 · source CWE mapping
Improper Control of Generation of Code ('Code Injection')
Improper Control of Generation of Code ('Code Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.