Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2023-41892: Craft CMS Unauthenticated Remote Code Execution

Published Sep 13, 2023 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS94.2%100th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Craft CMS
IdentifiersCVE-2023-41892CWE-502

CVE-2023-41892 is an unauthenticated remote code execution vulnerability in Craft CMS versions earlier than 4.4.15. The flaw permits PHP object injection through attacker-controlled input, enabling execution of attacker-supplied code without prior authentication.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A remote unauthenticated attacker can execute arbitrary code in the context of the web-server process hosting Craft CMS. This can enable compromise of application data and secrets accessible to that process, establishment of a foothold on the server, and potential follow-on privilege escalation.

Mitigation

If you can’t patch tonight, do this now.

Until upgrades are completed, restrict public access to affected Craft CMS instances using network-layer access controls or a reverse-proxy allowlist. Monitor web-server and application logs for anomalous unauthenticated requests targeting Craft CMS endpoints and investigate suspected exploitation immediately.

Remediation

Patch, then assume compromise.

Upgrade Craft CMS to version 4.4.15 or a later vendor-supported release containing the fix.

Public exploits

Exploits

5 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
craftcms_unauth_rce_cve_2023_41892.rbThis repository contains a single Metasploit module (Ruby file) that exploits an unauthenticated remote code execution (RCE) vulnerability (CVE-2023-41892) in Craft CMS versions 4.0.0-RC1 through 4.4.14. The exploit leverages a PHP object injection vulnerability in the ConditionsController class, combined with the Imagick extension and Magick Scripting Language (MSL), to write a malicious PHP webshell to the server's document root. The module supports multiple payloads, including PHP Meterpreter reverse shells, Unix command shells, and Linux droppers, and can clean up artifacts after exploitation. The attack is performed over HTTP(S) and does not require authentication. The module is highly weaponized, providing automated exploitation, payload delivery, and cleanup. The only endpoints referenced are the base URL of the target Craft CMS instance and file paths for the webshell and temporary files. The repository is structured as a typical Metasploit exploit module, with all logic contained in a single Ruby file.Disclosed Sep 13, 2023 · Framework: metasploit · ruby · networkWeaponizedCraftCMS_CVE-2023-41892This repository contains a Python exploit (craft-cms.py) targeting an unauthenticated remote code execution vulnerability (CVE-2023-41892) in Craft CMS versions 4.0.0-RC1 through 4.4.14. The exploit works by sending specially crafted POST requests to the /index.php endpoint of a vulnerable Craft CMS installation, leveraging a deserialization vulnerability to execute PHP code. It first extracts configuration information from the target using phpinfo(), then uploads a PHP webshell (shell.php) to the web server's document root using an Imagick-based file write trick. Once the webshell is deployed, the script provides an interactive pseudo-shell, allowing the attacker to execute arbitrary commands on the target via HTTP requests to /shell.php. The repository includes a README.md with usage instructions and references, and the main exploit logic is contained in craft-cms.py. No authentication is required, and the exploit is operational, providing a working webshell payload.0xfalafel · Disclosed Dec 26, 2023 · python · networkOperationalCraft-CMS-ExploitThis repository contains a Python exploit script (exploit.py) and a README.md. The exploit targets CVE-2023-41892, a remote code execution vulnerability in Craft CMS versions 4.0.0-RC1 through 4.4.14. The exploit works by abusing a vulnerable endpoint to upload a PHP webshell (notMalicious.php) to the target server. It first discovers the server's document root and temporary upload directory by triggering a phpinfo() leak, then uploads a maliciously crafted file using a POST request. After the webshell is deployed, the script uses it to execute arbitrary commands, specifically a bash reverse shell that connects back to the attacker's machine (whose IP and port are provided as arguments). The README provides usage instructions, including setting up a netcat listener and running the exploit. The main attack vector is network-based, requiring HTTP access to the vulnerable Craft CMS instance. The exploit is operational, providing a working reverse shell payload, and is not part of a larger framework.diegaccio · Disclosed Jan 29, 2024 · python · networkOperationalCVE-2023-41892_pocThis repository provides two Python proof-of-concept exploits for CVE-2023-41892, targeting Craft CMS. The exploits leverage a vulnerability in the 'conditions/render' action to upload a PHP webshell to the server's cpresources directory. The 'poc_noauth.py' script uploads a simple, unauthenticated webshell that allows arbitrary command execution via the 'cmd' GET parameter. The 'poc_auth.py' script uploads a webshell that requires a SHA-256 hashed key for authentication, increasing stealth and limiting access. Both scripts first extract server paths by abusing a PHP object injection to call phpinfo(), then craft and upload a malicious XML payload to write the webshell, and finally attempt to trigger the payload. The README provides detailed usage instructions, including how to set the authentication key for the protected webshell. The main endpoints of interest are the webshell URLs, which allow remote command execution if the exploit is successful. The repository is operational and provides working exploit code, but is not weaponized for mass exploitation.user01-1 · Disclosed Aug 21, 2025 · python · php · networkOperationalCVE-2023-41892_PoCRepository contains two standalone Python proof-of-concept exploits plus documentation and a Docker lab for CVE-2023-41892, a pre-authenticated RCE in Craft CMS ConditionsController. The repository structure is small and focused: `LFI_to_RCE.py` implements a two-stage exploit that first poisons Craft CMS logs with embedded PHP via malformed JSON, then triggers inclusion of the dated log file using the `craft\elements\conditions\users\UserCondition` + `\Psy\Configuration` gadget chain. `Imagick_PoC.py` implements an alternate exploit path using multipart upload and the `imagick` gadget with `vid:msl:/tmp/php*` to process an uploaded MSL file and write `webshell.php` into the web root, then verifies success by requesting the file and checking for phpinfo output. Both scripts target the same vulnerable endpoint, `/index.php?action=conditions/render`, against a default lab URL of `http://localhost:8088`. The included `Vulnhub_env/docker-compose.yml` provisions a local vulnerable environment using `vulhub/craftcms:4.4.14` and `mysql:5.7`, while the README files document setup, exploitation steps, prerequisites, and troubleshooting. Overall, this is a real exploit repository, not a detector: it demonstrates unauthenticated remote code execution and arbitrary file write against vulnerable Craft CMS versions, with basic hardcoded phpinfo-based payloads suitable for lab reproduction.lyccyc · Disclosed Jun 30, 2026 · python · yaml · web · networkOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Craft CMSCraft Cmsapplication
FAQ

Frequently asked questions

Is CVE-2023-41892 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2023-41892 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2023-41892?
Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2023-41892, the earliest disclosed Sep 13, 2023.
Is there a patch for CVE-2023-41892?
Upgrade Craft CMS to version 4.4.15 or a later vendor-supported release containing the fix.
What products are affected by CVE-2023-41892?
Craft Cms.
How severe is CVE-2023-41892?
CVE-2023-41892 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 94.2% (100th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.