CVE-2022-44877
Confirmed PUBLISHEDlogin/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...
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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.
- CVE Published
- Jan 05, 2023
- Exploitation Reported
- Jan 17, 2023
- CVSS
- 9.8 Critical
- EPSS
- —
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| n/a |
n/a
|
n/a |
Affected |
CVE References
- 20230106 Centos Web Panel 7 Unauthenticated Remote Code Execution - CVE-2022-44877 seclists.org · Mailing List http://seclists.org/fulldisclosure/2023/Jan/1
- youtube.com/watch youtube.com · CVE Record https://www.youtube.com/watch?v=kiLfSvc1SYY
- gist.github.com/numanturle/c1e82c47f4cba24cff214e904c227386 gist.github.com · CVE Record https://gist.github.com/numanturle/c1e82c47f4cba24cff214e904c227386
- packetstormsecurity.com/files/170388/Control-Web-Panel-7-Remote-Code... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/170388/Control-Web-Panel-7-Remot...
- packetstormsecurity.com/files/170820/Control-Web-Panel-Unauthenticat... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/170820/Control-Web-Panel-Unauthe...
Show 1 more reference
- packetstormsecurity.com/files/171725/Control-Web-Panel-7-CWP7-0.9.8.... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/171725/Control-Web-Panel-7-CWP7-...
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CISA First | 2023-01-17 00:00 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-44877.yaml | Apr 25, 2025 |
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/control_web_panel_login_cmd_exec.rb | Apr 28, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploitation Status
Exploited in the wild
Recorded 2023-01-17 00:00:00 UTC · CISA
Proof of concept available
Recorded 2023-01-05 17:29:10 UTC · GitHub
Weaknesses (CWE)
-
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/control_web_panel_login_cmd_exec.rb | Apr 28, 2025 |
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-44877.yaml | Apr 25, 2025 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2023-02-15 15:22:48 UTC · 6 stars
Red Team utilities for setting up CWP CentOS 7 payload & reverse shell (Red Team 9 - CW2023)
github · Created 2023-02-11 20:45:08 UTC · 2 stars
Bash Script for Checking Command Injection Vulnerability on CentOS Web Panel [CWP] (CVE-2022-44877)
github · Created 2023-01-06 16:53:51 UTC · 9 stars
CVE-2022-44877 Centos Web Panel 7 Unauthenticated Remote Code Execution
github · Created 2023-01-05 17:29:10 UTC · 103 stars
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
15:02 UTC about 1 year ago15:02 UTC · about 1 year ago
Metasploit module available
Exploit module available
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Nuclei template available
Scanner coverage available
-
00:00 UTC over 3 years ago00:00 UTC · over 3 years ago
Added to CISA KEV
Listed in the CISA Known Exploited Vulnerabilities catalog
-
17:29 UTC over 3 years ago17:29 UTC · over 3 years ago
Public PoC available
Public proof-of-concept code published
-
00:00 UTC over 3 years ago00:00 UTC · over 3 years ago
CVE published
Vulnerability disclosed publicly
-
00:00 UTC over 3 years ago00:00 UTC · over 3 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2022-44877
{
"cve_id": "CVE-2022-44877",
"title": "login/index.php in CWP (aka Control Web Panel or CentOS Web Panel) 7 before 0...",
"affected_vendor": "CWP (Control Web Panel)",
"affected_product": "Control Web Panel",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "Confirmed",
"cvss_score": 9.8,
"epss_score": null,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}