PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2021-20682: 
PHP vulnerability analysis and mitigation

Overview

CVE-2021-20682 is a vulnerability discovered in baserCMS versions prior to 4.4.5 that allows a remote attacker with administrative privileges to execute arbitrary OS commands via unspecified vectors. The vulnerability was disclosed on March 26, 2021, and affects the plugin upload functionality of baserCMS (JVN Advisory, Vendor Advisory).

Technical details

The vulnerability is classified as an OS Command Injection (CWE-78) issue. It received a CVSS v3.1 Base Score of 7.2 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, indicating that it requires high privileges but no user interaction to exploit. The CVSS v2.0 Base Score is 9.0 (HIGH) with the vector (AV:N/AC:L/Au:S/C:C/I:C/A:C) (JVN Advisory).

Impact

When successfully exploited, this vulnerability allows an attacker with administrative privileges to execute arbitrary operating system commands through the plugin upload functionality. This could potentially lead to complete system compromise within the scope of the affected system (JVN Advisory).

Exploitability

The vulnerability requires administrative privileges to exploit, making it less accessible to general attackers. However, once an attacker has administrative access, the attack complexity is considered low, requiring no additional user interaction to execute (JVN Advisory).

Mitigation and workarounds

The recommended mitigation is to update to baserCMS version 4.4.5 or later. This version contains security fixes that address the OS command injection vulnerability along with other security issues. Users are advised to perform the update as soon as possible (Vendor Advisory).

Additional resources


Source: This report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-108358HIGH8.8
  • PHP logoPHP
  • phpoffice/phpspreadsheet
NoYesOct 22, 2026
CVE-2026-108357HIGH8.8
  • PHP logoPHP
  • phpoffice/phpspreadsheet
NoYesOct 22, 2026
CVE-2026-108359HIGH8.7
  • PHP logoPHP
  • phpoffice/phpspreadsheet
NoYesOct 22, 2026
CVE-2026-108360MEDIUM6.4
  • PHP logoPHP
  • phpoffice/phpspreadsheet
NoYesOct 22, 2026
GHSA-mg3j-7p72-85q8MEDIUM6.3
  • PHP logoPHP
  • opencats/opencats
NoYesOct 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management