baserCMS
baserCMS: BcCustomContent file fields can be configured to allow executable file extensions such as php, leading to arbitrary PHP file upload
baserCMS is a website development framework. Starting in version 5.0.0-beta1 and prior to versions 5.3.2 and 5.4.2, `PermissionGroupsService::build()` reads a plugin's `config/permission.php` to decide what each user group may reach. When that file is absent it writes a wildcard allow rule instead: `url` `/baser/<prefix>/<plugin>/*`, `method` `*`, `auth` true, for every non-admin group. BcCustomContent has no such file in any release. After an administrator installs it, the default `operators` group can store and execute arbitrary PHP under the document root. Versions 5.3.2 and 5.4.2 patch the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5.0.0-beta1, < 5.3.2
- >= 5.4.0, < 5.4.2
Fixed in 5.3.2, 5.4.2
Mitigation
Upgrade basercms to 5.3.2 or 5.4.2 or later.
References
- Vendor advisory github.com/baserproject/basercms/security/advi…
- Patch github.com/baserproject/basercms/commit/2ed19c…
- Patch github.com/baserproject/basercms/commit/b0ef31…
2 more
- Release notes github.com/baserproject/basercms/releases/tag/…
- Release notes github.com/baserproject/basercms/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.