SecurityContext

CVE-2021-27230: ExpressionEngine - Remote Code Execution

  • Cve: CVE-2021-27230
  • Name: ExpressionEngine - Remote Code Execution
  • Description: ExpressionEngine before 5.4.2 and 6.x before 6.0.3 allows PHP Code Injection by certain authenticated users who can leverage Translate::save() to write to an _lang.php file under the system/user/language directory.
  • Impact: Authenticated attackers can execute arbitrary PHP code on the server, potentially leading to full server compromise.
  • Remediation: Update to version 5.4.2 or 6.0.3 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs to be an authenticated user
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02832
  • Epss percentile: 0.86874
  • Assignee: [email protected]
  • Published at: 2021-03-15T23:15:12Z
  • Age in days: 2080
  • Modified at: 2026-06-17T03:44:30Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 5
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-27230
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

Public exploits

UrlSourceAdded date
http://karmainsecurity.com/KIS-2021-03nvd2021-03-15
http://packetstormsecurity.com/files/161805/ExpressionEngine-6.0.2-PHP-Code-Injection.htmlnvd2021-03-15

References

Same in every row:

  • Source: nvd
UrlTags
https://expressionengine.com/featuresVendor Advisory
http://karmainsecurity.com/KIS-2021-03Exploit, Third Party Advisory
http://packetstormsecurity.com/files/161805/ExpressionEngine-6.0.2-PHP-Code-Injection.htmlExploit, Third Party Advisory, VDB Entry
http://seclists.org/fulldisclosure/2021/Mar/32Mailing List, Third Party Advisory
https://hackerone.com/reports/1093444Permissions Required, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
expressionengine:expressionengine>= 6.0.0, < 6.0.3; < 5.4.2nonvd/v1/products/expressionengine/expressionengine

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2021-03-15
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts