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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
CWP login.php Unauthenticated RCE
exploit/linux/http/control_web_panel_login_cmd_exec
Exploit-DB 2
- Control Web Panel 7 (CWP7) v0.9.8.1147 - Remote Code Execution (RCE) EDB-51250 · webapps · Apr 5, 2023
- Centos Web Panel 7 v0.9.8.1147 - Unauthenticated Remote Code Execution (RCE) EDB-51194 · webapps · Apr 1, 2023
GitHub 8 repositories
-
numanturle/CVE-2022-44877 ★ 103 · Jan 5, 2023
-
komomon/CVE-2022-44877-RCE ★ 10 · Jan 6, 2023
CVE-2022-44877 Centos Web Panel 7 Unauthenticated Remote Code Execution
-
hotpotcookie/CVE-2022-44877-white-box ★ 6 · Feb 15, 2023
Red Team utilities for setting up CWP CentOS 7 payload & reverse shell (Red Team 9 - CW2023)
-
Chocapikk/CVE-2022-44877 ★ 4 · Feb 11, 2023
Bash Script for Checking Command Injection Vulnerability on CentOS Web Panel [CWP] (CVE-2022-44877)
-
ColdFusionX/CVE-2022-44877-CWP7 ★ 1 · Feb 2, 2023
Control Web Panel 7 (CWP7) Remote Code Execution (RCE) (CVE-2022-44877) (Unauthenticated)
-
G01d3nW01f/CVE-2022-44877 ★ 0 · Feb 27, 2024
-
rhymsc/CVE-2022-44877-RCE ★ 0 · Nov 18, 2023
-
dkstar11q/CVE-2022-44877 ★ 0 · Mar 27, 2023
Bash Script for Checking Command Injection Vulnerability on CentOS Web Panel [CWP] (CVE-2022-44877)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- CentOS Web Panel 7 <0.9.8.1147 - Remote Code Execution http/cves/2022/CVE-2022-44877.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- https://www.youtube.com/watch?v=kiLfSvc1SYY
- https://gist.github.com/numanturle/c1e82c47f4cba24cff214e904c227386
- 20230106 Centos Web Panel 7 Unauthenticated Remote Code Execution - CVE-2022-44877 mailing-list
- http://packetstormsecurity.com/files/170388/Control-Web-Panel-7-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/170820/Control-Web-Panel-Unauthenticated-Remote-Command-Execution.html
- http://packetstormsecurity.com/files/171725/Control-Web-Panel-7-CWP7-0.9.8.1147-Remote-Code-Execution.html