☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 🐛 CWE-306
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2023-42121

CVE-2023-42121 Remote Code Execution in Control web panel
📅 PUBLISHED: 2024-05-03 02:13 UTC 🔄 UPDATED: 2026-08-12 09:04 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 1.17%
👁️
1.17% probability
29.4× above the median CVE
Tier: HIGH
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: UNKNOWN / CHECK VENDOR
CVSS VECTOR BREAKDOWN 9.8
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
9.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2023-42121 is a critical, unauthenticated remote code execution vulnerability in Control Web Panel (CWP), a popular web hosting control panel. The flaw resides in the web interface’s authentication implementation, allowing an attacker to bypass authentication entirely and access administrative functionality. This can lead to full server compromise, data exfiltration, and lateral movement within the hosting environment. The vulnerability has a CVSS score of 9.8, indicating critical severity, and no patch or exploit code is publicly available at this time. The EPSS score is 0.0%, suggesting low exploitation activity in the wild, but the risk remains high due to the lack of authentication requirements.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Base Score: 9.8 (Critical)
  • Attack Vector: Network (AV:N) – Exploitable remotely.
  • Attack Complexity: Low (AC:L) – No special conditions required.
  • Privileges Required: None (PR:N) – No authentication needed.
  • User Interaction: None (UI:N) – No user action required.
  • Scope: Unchanged (S:U) – Vulnerability affects only the vulnerable component.
  • Confidentiality Impact: High (C:H) – Full data access possible.
  • Integrity Impact: High (I:H) – Arbitrary code execution.
  • Availability Impact: High (A:H) – Potential for denial of service.

Threat Level: Critical. The lack of authentication and remote exploitability make this a high-priority vulnerability for any organization using Control Web Panel.

Deep Dive & Mechanics

The vulnerability is rooted in the web interface’s authentication logic. Specifically, the application fails to enforce authentication checks before granting access to sensitive administrative functions. An attacker can send crafted HTTP requests to endpoints that should require a valid session, but due to missing authentication checks, the server processes the request as if it came from an authenticated user.

The flaw is classified as CWE-306: Missing Authentication for Critical Function. The affected endpoints likely include those for executing system commands, modifying server configurations, or managing user accounts. By exploiting this, an attacker can execute arbitrary code in the context of a valid CWP user, typically with root or high-level privileges.

The vulnerability was reported via ZDI-CAN-20582 and affects all versions of Control Web Panel prior to a patch. Since no patch is available, all installations are considered vulnerable.

Vulnerable vs. Patched Code

Since no patch or official fix has been released, a direct code comparison is not possible. However, the vulnerable code likely resembles:

// Vulnerable: No authentication check
if ($_GET['action'] == 'execute_command') {
    system($_POST['cmd']);
}

A patched version would include an authentication check:

// Patched: Authentication required
if (!isset($_SESSION['user']) || !$_SESSION['authenticated']) {
    die('Access denied');
}
if ($_GET['action'] == 'execute_command') {
    system($_POST['cmd']);
}

The absence of a patch means administrators must rely on workarounds such as network segmentation or WAF rules.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • Target running Control Web Panel (any version).
  • Network access to the CWP web interface (typically port 2030 or 2083).

Exploitation Steps:

  1. Identify the vulnerable endpoint. Common targets include /cwp_ endpoints or API routes.
  2. Send a crafted HTTP request without authentication headers.
  3. Execute arbitrary commands via the vulnerable endpoint.

Example Request (Conceptual):

POST /cwp_api/execute HTTP/1.1
Host: target.com
Content-Type: application/x-www-form-urlencoded

cmd=id

Expected Output:

uid=0(root) gid=0(root) groups=0(root)

Note: No public exploit code is available. The above is a conceptual example based on the vulnerability description.

Blue Team (Detection & Defense)

Detection:

  • Monitor for HTTP requests to administrative endpoints without valid session cookies.
  • Look for unusual command execution patterns in web server logs.
  • Use the YARA and Sigma rules provided in the Detection Engineering section.

Defense:

  • Immediately isolate CWP servers from the internet if possible.
  • Implement a Web Application Firewall (WAF) rule to block requests to known vulnerable endpoints.
  • Restrict access to the CWP web interface via VPN or IP whitelisting.

Indicators of Compromise (IOCs)

  • Network IOCs:

    • HTTP requests to /cwp_* endpoints without Cookie headers.
    • Unusual POST parameters containing shell commands (e.g., cmd=, exec=, system=).
    • Outbound connections from the CWP server to unknown IPs on common ports (22, 80, 443, 4444).
  • File System IOCs:

    • Unexpected files in /usr/local/cwp/ or /var/cwp/ directories.
    • New cron jobs or systemd services added by an unknown user.
    • Modified /etc/passwd or /etc/shadow files.
  • Process IOCs:

    • Unusual processes running as root or cwp user.
    • Reverse shells or bind shells spawned by the web server.

Detection Engineering

YARA Rule

rule CVE_2023_42121_CWP_RCE {
    meta:
        description = "Detects exploitation attempts of CVE-2023-42121 in Control Web Panel"
        author = "Valters IT"
        date = "2025-04-10"
        severity = "critical"
    strings:
        $s1 = "cwp_" ascii wide nocase
        $s2 = "execute" ascii wide nocase
        $s3 = "cmd=" ascii wide nocase
        $s4 = "system(" ascii wide nocase
    condition:
        any of ($s1, $s2, $s3, $s4) and filesize < 10KB
}

Sigma Rule

title: CVE-2023-42121 - Control Web Panel Unauthenticated RCE
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects HTTP requests targeting CWP endpoints without authentication
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: 'cwp_'
        sc-status: 200
    condition: selection
falsepositives:
    - Legitimate CWP admin actions (rare)
level: critical

Suricata Rule

alert http any any -> any any (msg:"CVE-2023-42121 - CWP Unauthenticated RCE Attempt"; flow:to_server; content:"POST"; http_method; content:"cwp_"; http_uri; content:"cmd="; http_client_body; classtype:attempted-admin; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Isolate: Place CWP servers behind a firewall and restrict access to trusted IPs only.
  2. Monitor: Enable detailed logging and review logs for suspicious activity.
  3. WAF: Deploy a Web Application Firewall with rules to block requests to /cwp_* endpoints without valid session cookies.

Long-term Fix:

  • Await an official patch from Control Web Panel. Until then, consider migrating to an alternative control panel or implementing a reverse proxy with authentication.

Workaround:

  • Disable the web interface entirely if not needed, or use SSH-only management.

Valters IT

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

Control Web Panel

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2023-42121/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.