CVE-2022-44877

CRITICAL KEV NUCLEI

CWP login.php Unauthenticated RCE

Title source: metasploit
STIX 2.1

Exploitation Summary

CVE-2022-44877 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added January 17, 2023. EIP tracks 13 public exploits from researchers including Mayank Deshmukh, numan türle, numanturle, including a Metasploit module exploits/linux/http/control_web_panel_login_cmd_exec. A Nuclei detection template is also available.

AI-analyzed exploit summary This exploit leverages a command injection vulnerability in Control Web Panel 7 (CWP7) by injecting a cURL command into the login URL parameter, triggering an out-of-band callback to a listener. It bypasses authentication by exploiting improper input validation in the login endpoint.

Description

login/index.php in CWP (aka Control Web Panel or CentOS Web Panel) 7 before 0.9.8.1147 allows remote attackers to execute arbitrary OS commands via shell metacharacters in the login parameter.

Exploits (13)

exploitdb WORKING POC
by Mayank Deshmukh · gowebappsphp
https://www.exploit-db.com/exploits/51250

This exploit leverages a command injection vulnerability in Control Web Panel 7 (CWP7) by injecting a cURL command into the login URL parameter, triggering an out-of-band callback to a listener. It bypasses authentication by exploiting improper input validation in the login endpoint.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Control Web Panel 7 (CWP7) < 0.9.8.1147
No auth needed
Prerequisites: Network access to the target CWP7 login page · A listener set up to receive the out-of-band callback
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC
by numan türle · textwebappslinux
https://www.exploit-db.com/exploits/51194

This exploit demonstrates an unauthenticated remote code execution (RCE) vulnerability in CentOS Web Panel 7 versions prior to 0.9.8.1147. The vulnerability arises from improper handling of double quotes in the login parameter, allowing arbitrary command injection via a crafted POST request.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: CentOS Web Panel 7 < 0.9.8.1147
No auth needed
Prerequisites: Network access to the target system · CentOS Web Panel 7 version < 0.9.8.1147
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 104 stars
by numanturle · remote
https://github.com/numanturle/CVE-2022-44877

This repository contains a working proof-of-concept for CVE-2022-44877, an unauthenticated remote code execution vulnerability in CentOS Web Panel 7 versions prior to 0.9.8.1147. The exploit leverages command injection via the 'login' parameter in the login endpoint.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: CentOS Web Panel 7 < 0.9.8.1147
No auth needed
Prerequisites: Network access to the target system · CentOS Web Panel 7 running on port 2031
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 9 stars
by komomon · remote
https://github.com/komomon/CVE-2022-44877-RCE

This repository contains a working proof-of-concept exploit for CVE-2022-44877, an unauthenticated remote code execution vulnerability in CentOS Web Panel 7. The exploit leverages command injection via the login parameter in /login/index.php to execute arbitrary system commands.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: CentOS Web Panel 7 < 0.9.8.1147
No auth needed
Prerequisites: Network access to the target system · CentOS Web Panel 7 running on port 2031
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 6 stars
by hotpotcookie · poc
https://github.com/hotpotcookie/CVE-2022-44877-white-box

This repository contains a functional exploit for CVE-2022-44877, targeting CentOS Web Panel (CWP) to achieve remote code execution (RCE) via command injection. The PoC includes a reverse shell setup, payload generation, and credential extraction via REST API and John the Ripper.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: CentOS Web Panel (CWP) 9.8.1146
No auth needed
Prerequisites: Network access to the target CWP instance · Socat for reverse shell handling · John the Ripper for credential cracking
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 3 stars
by Chocapikk · remote
https://github.com/Chocapikk/CVE-2022-44877

This repository contains a bash script that tests for CVE-2022-44877, a command injection vulnerability in web servers. The script uses a time-based approach to detect vulnerability by measuring the response time of a crafted request.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Unknown (likely a web server with a specific PHP-based login endpoint)
No auth needed
Prerequisites: curl · bc · base64 · target URL with vulnerable endpoint
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec STUB 1 stars
by ColdFusionX · poc
https://github.com/ColdFusionX/CVE-2022-44877-CWP7

This repository is a placeholder for CVE-2022-44877, an unauthenticated RCE in Control Web Panel 7 (CWP7). It currently contains no exploit code, only a README indicating a PoC will be added later.

Classification
Stub 90%
Attack Type
Rce
Complexity
Theoretical
Reliability
Theoretical
Target: Control Web Panel 7 (CWP7)
No auth needed
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by G01d3nW01f · remote
https://github.com/G01d3nW01f/CVE-2022-44877

This Go-based exploit targets CVE-2022-44877 in CentOS Web Panel, leveraging command injection via URL-encoded payloads to achieve remote code execution. It supports multiple C2 types (SSL reverse shell, simple reverse shell, bind shell) and uses base64 encoding for payload obfuscation.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: CentOS Web Panel (version not specified)
No auth needed
Prerequisites: Network access to target · Go environment for compilation
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by dkstar11q · remote
https://github.com/dkstar11q/CVE-2022-44877

This repository contains a bash script that tests for CVE-2022-44877, a command injection vulnerability in web servers. The script uses a time-based approach to detect vulnerability by measuring the response time of a crafted request.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Unknown (likely a web server or application with a vulnerable login endpoint)
No auth needed
Prerequisites: curl · bc · base64
devstral-2 · analyzed Feb 16, 2026 Full analysis →
vulncheck_xdb WORKING POC
remote
https://github.com/hotpotcookie/cwp-rce-white-box

This repository contains a functional exploit for CVE-2022-44877, targeting CentOS Web Panel (CWP) with a reverse shell payload. The exploit leverages command injection via crafted POST requests to achieve remote code execution (RCE) and includes utilities for setting up listeners, generating payloads, and extracting credentials.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: CentOS Web Panel (CWP) 9.8.1146
No auth needed
Prerequisites: Access to target CWP login page · Network connectivity for reverse shell callback
devstral-2 · analyzed Feb 25, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
by Spencer McIntyre, Numan Türle · rubypocunix
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/control_web_panel_login_cmd_exec.rb

This Metasploit module exploits an unauthenticated command injection vulnerability in Control Web Panel (CWP) versions < 0.9.8.1147. It leverages a flaw in the login.php file to execute arbitrary commands as the root user via a crafted POST request.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Control Web Panel (CWP) < 0.9.8.1147
No auth needed
Prerequisites: Network access to the target CWP instance on port 2031
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Nuclei Templates (1)

CentOS Web Panel 7 <0.9.8.1147 - Remote Code Execution
CRITICALVERIFIEDby For3stCo1d
Shodan: http.title:"Login | Control WebPanel" || http.title:"login | control webpanel"
FOFA: title="login | control webpanel"

Scores

CVSS v3 9.8
EPSS 0.9446
EPSS Percentile 100.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation active
Automatable yes
Technical Impact total

Details

CISA KEV 2023-01-17
VulnCheck KEV 2023-01-11
InTheWild.io 2023-01-12
ENISA EUVD EUVD-2022-47807
CWE
CWE-78
Status published
Products (1)
control-webpanel/webpanel < 0.9.8.1147
Published Jan 05, 2023
KEV Added Jan 17, 2023
Tracked Since Feb 18, 2026