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
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://karmainsecurity.com/KIS-2021-03 | nvd | 2021-03-15 |
| http://packetstormsecurity.com/files/161805/ExpressionEngine-6.0.2-PHP-Code-Injection.html | nvd | 2021-03-15 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://expressionengine.com/features | Vendor Advisory |
| http://karmainsecurity.com/KIS-2021-03 | Exploit, Third Party Advisory |
| http://packetstormsecurity.com/files/161805/ExpressionEngine-6.0.2-PHP-Code-Injection.html | Exploit, Third Party Advisory, VDB Entry |
| http://seclists.org/fulldisclosure/2021/Mar/32 | Mailing List, Third Party Advisory |
| https://hackerone.com/reports/1093444 | Permissions Required, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| expressionengine:expressionengine | >= 6.0.0, < 6.0.3; < 5.4.2 | no | nvd | /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