CVE-2021-20682: OS Command Injection in baserCMS
7.2
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.85307%
CWE
Published
6/8/2021
Updated
7/6/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
baserproject/basercms | composer | < 4.4.5 | 4.4.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability explicitly involves OS command injection via plugin uploads, requiring admin privileges. The attack vector implies the function
handling plugin uploads/installation is vulnerable. In PHP
CMS frameworks like baserCMS, plugin management is typically handled by a PluginsController
in the admin module. The function
would execute OS commands (e.g., unzip, file moves) using untrusted input from the uploaded plugin, leading to injection. While no code is provided, the context (CWE-78, plugin upload vector) strongly points to this component.