Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain database write access
-
DeliveryStore crafted 'array' PHP payload in user_prefs
-
ExploitWait for e_user_pref::load() to materialize prefs
-
Executione_array::unserialize() passes value to eval()
-
ImpactExecute arbitrary PHP in web context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires out-of-band write access to the e107 database, specifically the ability to store a crafted value in the user_prefs column of a user record; the payload must begin with the string 'array' to pass e_array::unserialize()'s prefix check. Execution is not immediate - it is second-order, firing only when the affected user's preferences are loaded through e_user_pref::load(), so the attacker must reach or wait for that materialization. The limiting factor is the database-write prerequisite (no direct unauthenticated web exploitation path is described), which is why CVSS marks AC:H and PR:L; this typically implies the attacker already leverages a separate injection flaw or compromised credentials rather than exploiting a default, unauthenticated remote surface. |
| Impact | The vendor CVSS 4.0 score is 7.7 (High) with vector AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H. The high AC and non-zero PR correctly reflect that this is not a trivially remote, unauthenticated bug: the description states a hard precondition of out-of-band database write access to the user_prefs column, which is a substantial gate well beyond ordinary network reachability. Impact is severe once triggered - full confidentiality, integrity, and availability loss via arbitrary PHP execution in the web application context. There is no EPSS score, KEV entry, or POC in the provided data, so real-world exploitation pressure appears low despite the critical technical impact; the CVSS PR:L arguably understates the barrier, since arbitrary DB write access is closer to a high-privilege prerequisite. Net priority: patch promptly on exposed e107 installs, but the DB-write precondition makes mass, direct exploitation unlikely versus scenarios chained from a separate SQL injection or compromised DB. |
| Exploit ScenarioDerived | An attacker who has obtained database write access - for example by chaining a separate SQL injection or reusing leaked DB credentials - stores a serialized 'array'-prefixed string containing malicious PHP in a target user's user_prefs column. The next time that user's preferences are materialized via e_user_pref::load(), e_array::unserialize() passes the payload to eval() and the PHP runs in the web application context. No public POC is identified in the available data, and the high attack complexity reflects the required prior database foothold. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 30, 2026
Second-order PHP code execution in e107 CMS before version 2.3.8 lets an attacker who already holds out-of-band write access to the database plant a crafted payload in the user_prefs column, which is later fed to eval() when that user's preferences load. The e_array::unserialize() handler validates only that the stored string begins with 'array' before evaluating it, so any account whose preferences are materialized triggers arbitrary PHP execution. Reported by VulnCheck with a vendor patch available; no public exploit identified at time of analysis, and it is not listed in CISA KEV.
RemediationAI
Upgrade to e107 2.3.8 or later, which contains the vendor fix referenced in commit 40e73cefde85b32e1227dfac9956a5cb87046277 (Patch available per vendor advisory; see GHSA-568x-w5qj-vr7c). Because exploitation depends on attacker-controlled writes to the user_prefs column, the strongest compensating controls until patching center on database exposure: restrict and audit direct database write access, ensure the CMS database account is not shared with other internet-facing services, and hunt for and remediate any SQL injection or exposed admin/DB paths that could provide the out-of-band write, since those are the realistic injection vectors. As a detective measure, inspect existing user_prefs values for entries beginning with 'array' that contain PHP code and purge them. Note the trade-off that tightening DB permissions can break plugins or integrations that legitimately write preference data, so validate in staging first.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
e107 is an open-source PHP/MySQL content management system. The flaw sits in e_array::unserialize() in e107_handlers/core_functions.php, which reconstructs stored preference arrays. Instead of a safe parser, it performs a naive prefix check for the literal string 'array' and then passes the value directly to PHP's eval(), so the serialized preference blob is treated as executable code. This maps to CWE-502 (Deserialization of Untrusted Data): the deserialization routine trusts attacker-influencable stored data. Execution is automatic and second-order - it occurs whenever e_user_pref::load() materializes the affected user's preferences (user_prefs column), decoupling payload injection from payload execution. Affected product per CPE is cpe:2.3:a:e107inc:e107 across all versions prior to 2.3.8.
Know when E107 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
AC:H and PR:H because exploitation requires prior out-of-band database write access, a high-privilege prerequisite; full C/I/A loss follows from arbitrary PHP eval execution.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
e107 prior to version 2.3.8 contains a code execution vulnerability in the e_array deserialization handler that allows an attacker with out-of-band database write access to execute arbitrary PHP code by storing a crafted payload in the user_prefs column. The e_array::unserialize() function in e107_handlers/core_functions.php performs only a prefix check for the string 'array' before passing the stored value to eval(), causing automatic PHP execution whenever the affected user's preferences are materialized through e_user_pref::load().
Executive ViewAI
e107 CMS versions prior to 2.3.8 contain a high-severity code execution vulnerability allowing attackers with database access to compromise entire systems through malicious code injection; no public exploit identified at time of analysis. Any database compromise-external or insider-driven-could enable complete application-level system takeover. A vendor patch is available and must be deployed immediately.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
e107 CMS 3.2.1 has multiple XSS vulnerabilities in news comments that allow executing arbitrary JavaScript. Rated CVSS 9
usersettings.php in e107 through 2.3.0 lacks a certain e_TOKEN protection mechanism. Rated high severity (CVSS 8.8), thi
e107 2.1.8 has CSRF in 'usersettings.php' with an impact of changing details such as passwords of users including admini
e107 CMS 2.3.0 contains a remote code execution vulnerability that allows authenticated users with theme installation pe
e107 CMS version 3.2.1 contains a critical file upload vulnerability that allows authenticated administrators to overrid
e107 2.1.1 allows SQL injection by remote authenticated administrators via the pagelist parameter to e107_admin/menus.ph
e107 CMS version 3.2.1 contains a file upload vulnerability that allows authenticated administrative users to bypass upl
e107 CMS version 3.2.1 contains a file upload vulnerability that allows authenticated administrators to override server
e107_web/js/plupload/upload.php in e107 2.1.8 allows remote attackers to execute arbitrary PHP code by uploading a .php
Cross-site request forgery (CSRF) vulnerability in e107_admin/newspost.php in e107 1.0.1 allows remote attackers to hija
Multiple cross-site request forgery (CSRF) vulnerabilities in e107_admin/download.php in e107 1.0.2 allow remote attacke
e107 2.1.8 has XSS via the e107_admin/users.php?mode=main&action=list user_loginname parameter. Rated medium severity (C
EUVD-2026-51123
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB