{"id":"CVE-2022-44877","published":"2023-01-05T23:15:09Z","modified":"2026-06-17T05:09:01Z","title":"CWP Control Web Panel OS Command Injection Vulnerability","vendor":"CWP","product":"Control Web Panel","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"The flaw is an OS command injection vulnerability in the login/index.php component of CWP (Control Web Panel, also known as CentOS Web Panel) 7. An attacker who can reach the login page remotely, without authentication or user interaction, can execute arbitrary OS commands by supplying shell metacharacters in the login parameter.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T13:44:42Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.99995,"percentile":0.99988,"date":"2026-10-29","provenance":"source"},"kev":{"dateAdded":"2023-01-17","dueDate":"2023-02-07","ransomware":false,"requiredAction":"Apply updates per vendor instructions.","notes":"https://control-webpanel.com/changelog#1669855527714-450fb335-6194;  https://nvd.nist.gov/vuln/detail/CVE-2022-44877","provenance":"source"},"vulncheckKev":{"dateAdded":"2023-01-11","exploitedFirstSeen":"2023-01-11","ransomware":false,"evidence":[{"url":"https://infosec.exchange/@shadowserver/109670024784488102","date":"2023-01-11"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2023-01-17"},{"url":"https://unit42.paloaltonetworks.com/network-security-trends-nov-jan/","date":"2023-05-02"},{"url":"https://information.rapid7.com/rs/411-NAK-970/images/Rapid7-2023-Mid-Year-Threat-Review.pdf","date":"2023-08-17"},{"url":"https://www.rapid7.com/globalassets/_pdfs/research/rapid7_2024_attack_intelligence_report.pdf","date":"2024-05-21"},{"url":"https://sysdig.com/blog/crystalray-rising-threat-actor-exploiting-oss-tools/","date":"2024-07-11"},{"url":"https://app.crowdsec.net/cti/cve-explorer/CVE-2022-44877","date":"2025-06-08"},{"url":"https://aws.amazon.com/blogs/security/real-time-malware-defense-leveraging-aws-network-firewall-active-threat-defense/","date":"2026-01-08"}],"evidenceTotal":8,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"},{"name":"Actively_Exploited_Kev | Oct 18, 2026","url":"https://otx.alienvault.com/pulse/6ad38c22e1848f8189d1c121","created":"2026-10-17"}],"provenance":"machine"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"http://packetstormsecurity.com/files/170388/Control-Web-Panel-7-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/170820/Control-Web-Panel-Unauthenticated-Remote-Command-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/171725/Control-Web-Panel-7-CWP7-0.9.8.1147-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://seclists.org/fulldisclosure/2023/Jan/1","tags":["Exploit","Mailing List","Third Party Advisory"]},{"url":"https://gist.github.com/numanturle/c1e82c47f4cba24cff214e904c227386","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.youtube.com/watch?v=kiLfSvc1SYY","tags":["Exploit","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/170388/Control-Web-Panel-7-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/170820/Control-Web-Panel-Unauthenticated-Remote-Command-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/171725/Control-Web-Panel-7-CWP7-0.9.8.1147-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://seclists.org/fulldisclosure/2023/Jan/1","tags":["Exploit","Mailing List","Third Party Advisory"]},{"url":"https://gist.github.com/numanturle/c1e82c47f4cba24cff214e904c227386","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.youtube.com/watch?v=kiLfSvc1SYY","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-44877","tags":["US Government Resource"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Unauthenticated remote exploit of public-facing web login","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"allows remote attackers to execute arbitrary OS commands via shell metacharacters in the login parameter","start":87,"end":191}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1059.004","name":"Unix Shell","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Command injection yields Unix shell execution","mappingType":"primary_impact","evidence":[{"from":"description","quote":"execute arbitrary OS commands via shell metacharacters","start":114,"end":168}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2022-47807","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-47807","exploited":true,"exploitedSince":"2023-01-17","provenance":"source"},"exploits":[{"id":51194,"url":"https://www.exploit-db.com/exploits/51194","title":"Centos Web Panel 7 v0.9.8.1147 - Unauthenticated Remote Code Execution (RCE)","type":"webapps","platform":"linux","date":"2023-04-01","verified":false,"provenance":"source"},{"id":51250,"url":"https://www.exploit-db.com/exploits/51250","title":"Control Web Panel 7 (CWP7) v0.9.8.1147 -  Remote Code Execution (RCE)","type":"webapps","platform":"php","date":"2023-04-05","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":2,"earliest":"2023-04-01"},"pocGithub":{"count":6,"skipped":2,"earliest":"2023-01-05","earliestUrl":"https://github.com/numanturle/CVE-2022-44877","repos":[{"name":"numanturle/CVE-2022-44877","url":"https://github.com/numanturle/CVE-2022-44877","stars":103,"created":"2023-01-05"},{"name":"komomon/CVE-2022-44877-RCE","url":"https://github.com/komomon/CVE-2022-44877-RCE","stars":10,"created":"2023-01-06"},{"name":"hotpotcookie/CVE-2022-44877-white-box","url":"https://github.com/hotpotcookie/CVE-2022-44877-white-box","stars":6,"created":"2023-02-15"},{"name":"Chocapikk/CVE-2022-44877","url":"https://github.com/Chocapikk/CVE-2022-44877","stars":4,"created":"2023-02-11"},{"name":"ColdFusionX/CVE-2022-44877-CWP7","url":"https://github.com/ColdFusionX/CVE-2022-44877-CWP7","stars":1,"created":"2023-02-02"}]},"metasploit":[{"name":"CWP login.php Unauthenticated RCE","module":"exploit/linux/http/control_web_panel_login_cmd_exec","type":"exploit","disclosureDate":"2023-01-05","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/control_web_panel_login_cmd_exec.rb"}],"nuclei":[{"id":"CVE-2022-44877","name":"CentOS Web Panel 7 <0.9.8.1147 - Remote Code Execution","severity":"critical","path":"http/cves/2022/CVE-2022-44877.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-44877.yaml"}],"first":{"date":"2023-01-05","source":"PoC-in-GitHub","url":"https://github.com/numanturle/CVE-2022-44877"},"provenance":"source"},"detections":{"cveRules":[{"title":"Potential Centos Web Panel Exploitation Attempt - CVE-2022-44877","id":"1b2eeb27-949b-4704-8bfa-d8e5cfa045a1","level":"high","status":"test","path":"rules-emerging-threats/2022/Exploits/CVE-2022-44877/web_cve_2022_44877_exploitation_attempt.yml","url":"https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2022/Exploits/CVE-2022-44877/web_cve_2022_44877_exploitation_attempt.yml","techniques":["T1190"]}]},"exploitRefs":["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","http://seclists.org/fulldisclosure/2023/Jan/1","https://gist.github.com/numanturle/c1e82c47f4cba24cff214e904c227386","https://www.youtube.com/watch?v=kiLfSvc1SYY"],"flow":[{"stage":"exploitation","techniques":["T1190"],"provenance":"ai"},{"stage":"primary","techniques":["T1059.004"],"provenance":"ai"}],"timeline":[{"date":"2023-01-05","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-44877","provenance":"source"},{"date":"2023-01-05","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub; later: Metasploit 2023-01-05, Exploit-DB 2023-04-01","url":"https://github.com/numanturle/CVE-2022-44877","provenance":"source"},{"date":"2023-01-11","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://infosec.exchange/@shadowserver/109670024784488102","provenance":"source"},{"date":"2023-01-17","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2023-01-17","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-47807","provenance":"source"}],"speed":{"daysToPublicExploit":0,"firstExploitFrom":"PoC-in-GitHub","daysToKev":12},"priority":{"score":69.9,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1387 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":20.0,"detail":"percentile 0.9999"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"6 NVD references tagged Exploit; 2 Exploit-DB entries; 6 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}