Exploit database

Vulnerability

CVE-2023-41892

Craft CMS Remote Code Execution vulnerability

Vulnerability details

Score
10.0
Severity
critical

CVSS 3.1 · GitHub_M

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

Description

Craft CMS is a platform for creating digital experiences. This is a high-impact, low-complexity attack vector. Users running Craft installations before 4.4.15 are encouraged to update to at least that version to mitigate the issue. This issue has been fixed in Craft CMS 4.4.15.

CVE Program

Exploit source choices

8 sources
Craft CMS unauthenticated Remote Code Execution (RCE)
MSF-linux--http--craftcms_unauth_rce_cve_2023_41892MetasploitLinux,PHP,Unix / remote

This module exploits Remote Code Execution vulnerability (CVE-2023-41892) in Craft CMS which is a popular content management system. Craft CMS versions between 4.0.0-RC1 - 4.4.14 are affected by this vulnerability allowing attackers to execute arbitrary code remotely, potentially compromising the security and integrity of the application. The vulnerability occurs using a PHP object creation in the `\craft\controllers\ConditionsController` class which allows to run arbitrary PHP code by escalating the object creation calling some methods available in `\GuzzleHttp\Psr7\FnStream`. Using this vulnerability in combination with The Imagick Extension and MSL which stands for Magick Scripting Language, a full RCE can be achieved. MSL is a built-in ImageMagick language that facilitates the reading of images, performance of image processing tasks, and writing of results back to the filesystem. This can be leveraged to create a dummy image containing malicious PHP code using the Imagick constructor class delivering a webshell that can be accessed by the attacker, thereby executing the malicious PHP code and gaining access to the system. Because of this, any remote attacker, without authentication, can exploit this vulnerability to gain access to the underlying operating system as the user that the web services are running as (typically www-data).

2023-09-13craftcms_unauth_rce_cve_2023_41892.rb
diegaccio/craft-cms-exploit
GH-7272b7285e6e4fe409da5254f71a5c32GitHubUnofficial GitHub source

CVE-2023-41892 Reverse Shell

2024-01-292 files · 5 stars
zaenhaxor/cve-2023-41892
GH-52638042163ce0ee42fa8551cbe44ac4GitHubUnofficial GitHub source

CVE-2023-41892 - Craft CMS Remote Code Execution (RCE)

2023-10-064 files · 3 stars
12442rf/poc
GH-3a840c3a743e0417793b49231edf2d51GitHubUnofficial GitHub source

12442rf/poc source repository

2025-05-0612 files · 1 stars
acesoyeo/cve-2023-41892
GH-a2133da44b1725cbc6d37c60440d9118GitHubUnofficial GitHub source

A Craft CMS vulnerability that allows Remote Code Execution (RCE).

2024-02-262 files · 0 stars
d4n-sec/d4n-sec.github.io
GH-a977c770ad0cb70a8725a440ce0aeba7GitHubUnofficial GitHub source

Generated personal blog

2026-11-06385 files · 0 stars