Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain administrative session on baserCMS
-
DeliveryUpload crafted addon ZIP with malicious config.php
-
ExploitTrigger baserCMS4-to-5 addon migration
-
Executioninclude executes embedded PHP code
-
ImpactRead/delete arbitrary files, run code as web user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
|
| Exploitation Conditions | Requires an authenticated administrative user (PR:H) with access to the addon-migration feature and the ability to supply a baserCMS4-style addon package containing an attacker-controlled config.php. Exploitation is limited to the specific code path that converts baserCMS4-style addons to baserCMS5-style ones (BcAddonMigrator5Component::migrateAddonConfig), which performs |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H) scores 8.6, but the single most important limiting signal is PR:H - exploitation requires an already-authenticated administrative user, which the description confirms ('by an administrative user'). This makes it a post-authentication code-execution flaw rather than a mass-exploitable perimeter bug. The CWE-829 classification and the patch diff are decisive: the vulnerable code did |
| Exploit ScenarioDerived | An authenticated baserCMS administrator (or an attacker who has phished/compromised an admin account) obtains access to the addon-migration feature, uploads a baserCMS4-style addon ZIP containing a crafted config.php with embedded PHP payload, and triggers the baserCMS4→5 conversion. BcAddonMigrator's |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 30, 2026
Code execution in BcAddonMigrator 5.2.0 and earlier allows an authenticated administrative user to run arbitrary PHP by supplying a baserCMS4-style addon package whose config.php holds attacker-controlled code. The migration routine BcAddonMigrator5Component::migrateAddonConfig calls PHP's include on the uploaded config.php, so the file's contents execute with the web server's privileges during conversion, and the same code path can read or delete arbitrary files on the host. The CVSS 4.0 base score is 8.6, but the decisive limiting factor is PR:H - the attacker must already hold administrator rights - and no public exploit code or CISA KEV entry was identified at the time of analysis.
Earlier versions of this analysis (1)
PHP code execution in BcAddonMigrator 5.2.0 and earlier occurs when the baserCMS4-to-baserCMS5 addon migration routine include()s the config.php of the addon being converted, causing whatever PHP that file contains to run inside the web application's context. Exploitation requires an authenticated administrative user (CVSS PR:H) to actively run a migration against an addon package whose config.php has been tampered with, so this is a privileged, post-authentication code-execution path rather than an anonymous one; once triggered, the injected code can read, modify, or delete arbitrary files on the server. No public exploit code and no confirmed active exploitation were identified at time of analysis, and the vendor has published an upstream fix that removes include() in favour of token-based static parsing.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply the changes in https://github.com/baserproject/BcAddonMigrator/commit/e836bc875e26910e1b5862f96cf280b4f064c104, which replaces the vulnerable include in BcAddonMigrator5Component::migrateAddonConfig with the token_get_all()-based BcAddonMigrator\Utility\AddonConfigParser (commit e836bc875e26910e1b5862f96cf280b4f064c104), or upgrade to whichever BcAddonMigrator release incorporates that commit once the vendor publishes it; see https://jvn.jp/en/jp/JVN21754394 and https://basercms.net/security/JVN_21754394 for the official guidance. Because exploitation requires an authenticated administrator and a migration run, the most effective compensations are administrative: disable or uninstall the BcAddonMigrator plugin if baserCMS4-to-5 addon conversion is not needed (trade-off: legitimate migrations become impossible until the plugin is re-enabled on a patched build), and restrict administrator accounts and migration activity to fully trusted operators, since the plugin cannot distinguish a malicious config.php from a benign one (trade-off: adds operational overhead and does not protect against a compromised or malicious admin account). If the plugin must remain in use before patching, only migrate addon packages from verified sources and inspect any incoming ZIP for a config.php containing PHP statements other than return [...] or literal variable assignments - a manual review step that is error-prone but blocks the direct attack path, and note that any admin-level attacker who can already upload a package is not meaningfully constrained by it.
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
The flaw is CWE-829 (Inclusion of Functionality from an Untrusted Control Sphere): BcAddonMigrator, a plugin for the baserCMS PHP content management framework, converts baserCMS4-style addons into baserCMS5-style ones, and it previously read the addon's config.php with a raw PHP include. Because include evaluates the whole file, a config.php containing anything beyond the expected return [...] array or simple $title = '...' assignments - function calls, system(), unlink(), file_get_contents() - is fully executed in the context of the PHP process, turning a configuration read into arbitrary code execution, file disclosure, or file deletion under the account running baserCMS. The upstream fix (commit e836bc875e26910e1b5862f96cf280b4f064c104) removes the include entirely and adds the new BcAddonMigrator\Utility\AddonConfigParser class, which uses token_get_all() to tokenize the source, strip whitespace/comments/PHP tags, detect the top-level return [...] form, and extract only literal variable assignments; anything non-literal is skipped and the caller falls back to defaults, so no PHP from the uploaded file is ever executed. The affected CPE is cpe:2.3:a:basercms_users_community:bcaddonmigrator:*:*:*:*:*:*:*:* and the reported affected range is BcAddonMigrator 0 through 5.2.0.
Know when Bcaddonmigrator 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:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable admin UI (AV:N/AC:L) but only an administrator can trigger the migration (PR:H); include of config.php yields full code execution, so C/I/A all High, no scope change.
Primary rating from Vendor (jpcert).
CVSS VectorVendor: jpcert
Lifecycle Timeline
2DescriptionCVE.org
When converting baserCMS4-style addons to baserCMS5-style ones, BcAddonMigrator includes "config.php" from the addon, which means the PHP code in the file is executed. Arbitrary files on the system may be read or deleted by an administrative user.
Executive ViewAI
Organizations running baserCMS with the BcAddonMigrator plugin at version 5.2.0 or earlier face a high-severity code execution flaw that lets an administrative user run arbitrary PHP on the web server and read or delete files on the host. Because exploitation requires an already-privileged administrator account, the practical risk is insider misuse, compromised or shared admin credentials, or an attacker who has already escalated within the CMS - but the outcome in those cases is full server compromise and potential exposure or destruction of hosted data. Leadership should care because the affected system is a public-facing content platform, and no vendor patch is currently available to close the gap.
No vendor-released patch identified at time of analysis. Interim mitigations: disable or remove the BcAddonMigrator plugin where feasible, restrict and monitor administrative accounts with MFA and credential rotation, block or inspect uploaded addon archives containing PHP code, run the web server with least privilege, enable file-integrity monitoring on application and config directories, and segment the baserCMS host to limit lateral movement and data loss.
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
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-89656
GHSA-m3wp-gxpc-2c5q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB