High severity · published Feb 23, 2022
CVE-2022-21705
Authenticated remote code execution in octobercms
7.2
CVSS
8.6%
EPSS
No
On KEV
Description
Octobercms is a self-hosted CMS platform based on the Laravel PHP Framework. In affected versions user input was not properly sanitized before rendering. An authenticated user with the permissions to create, modify and delete website pages can exploit this vulnerability to bypass `cms.safe_mode` / `cms.enableSafeMode` in order to execute arbitrary code. This issue only affects admin panels that rely on safe mode and restricted permissions. To exploit this vulnerability, an attacker must first have access to the backend area. The issue has been patched in Build 474 (v1.0.474) and v1.1.10. Users unable to upgrade should apply https://github.com/octobercms/library/commit/c393c5ce9ca2c5acc3ed6c9bb0dab5ffd61965fe to your installation manually.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)8.6% · higher than 95% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OC
october · octobercms
< 1.0.474; >= 1.1.0, < 1.1.10; >= 2.0.0, < 2.1.27 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-21705
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-21705
Patch
https://github.com/octobercms/library/commit/c393c5ce9ca2c5acc3ed6c9bb0dab5ffd61965fe
Issue Tracking
https://github.com/octobercms/october/security/advisories/GHSA-79jw-2f46-wv22
More from october
9.1
CVE-2021-32648
Account Takeover in Octobercms
9.8
CVE-2021-3311
An issue was discovered in October through build 471
9.8
CVE-2017-1000197
October CMS build 412 is vulnerable to file path modification in asset move functionality resulting in creating creating malicious files on the server
9.8
CVE-2017-1000196
October CMS build 412 is vulnerable to PHP code execution in the asset manager functionality resulting in site compromise and possibly other applications on the server
9.8
CVE-2017-1000194
October CMS build 412 is vulnerable to Apache configuration modification via file upload functionality resulting in site compromise and possibly other applications on the server
