CVE-2021-23262 Snakeyaml deserialization vulnerability bypass
Authenticated administrators can achieve remote code execution by modifying the YAML configuration to load malicious Java classes.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-23262?
CVE-2021-23262 is a medium-severity unsafe deserialization vulnerability in Crafter CMS, published on 2 Dec 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Authenticated administrators may modify the main YAML configuration file and load a Java class resulting in RCE.
Weakness: CWE-913
Which versions are affected by CVE-2021-23262?
It affects 1 product.
Products include Craftercms Crafter Cms.
How do I fix CVE-2021-23262?
No fix has been published for CVE-2021-23262 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2021-23262 being exploited?
There is no known exploitation of CVE-2021-23262 in the wild and no public exploit code.
Other vulnerabilities in Crafter CMS
- CVE-2017-15681 Path Traversal in Crafter CMS Crafter Studio
- CVE-2018-19907 OS Command Injection in craftercms:crafter-studio
- CVE-2017-15683 XML injection in Crafter CMS
- CVE-2017-15685 XML Injection in Crafter CMS Crafter Studio 3.0.1
- CVE-2021-23264 Exposure of Resource to Wrong Sphere in org.craftercms:crafter-search
Sources
Also known as GHSA-v5x7-7m6q-5hvf.