S4E just found a high top 10 tcp port service scan
critical·Product Based Web Vulnerabilities·Updated Jan 21, 2025

CVE-2021-31324 Scanner

Targets the idsession parameter in login/index.php of CentOS Web Panel, allowing unauthenticated attackers to execute arbitrary OS commands with root privileges.

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, ipv4, subdomain
CostFree
2.3k
Times Used
continuous scan runs
3.4k
Continuously Checked
assets under CS
1
Vulnerabilities Found
confirmed findings
References
CVECVE-2021-31324
9.8
CVSS

The unprivileged user portal part of CentOS Web Panel is affected by a Command Injection vulnerability leading to root Remote Code Execution.

Attack Vector
-
Privileges Req.
-
User Interaction
-
Affected
n/aby n/a
n/a
Updated Aug 19, 2026View on NVD →
Detail

CentOS Web Panel (CWP) is a free, open-source web hosting control panel widely used by system administrators and hosting providers to manage server resources, domains, email accounts, and databases. It provides a graphical interface for Linux server management, simplifying tasks like Apache configuration, DNS management, and firewall setup. CWP is popular in shared hosting environments due to its ease of use and comprehensive feature set.

CVE-2021-31324 is a critical OS Command Injection vulnerability in CentOS Web Panel. It arises from improper sanitization of user-supplied input in the unprivileged user portal. Attackers can inject arbitrary operating system commands through a vulnerable parameter, which are then executed with root privileges due to insufficient input validation and lack of proper escaping.

The vulnerability specifically affects the `idsession` parameter in the `login/index.php` endpoint. By sending a crafted HTTP request with malicious payloads in this parameter, an unauthenticated attacker can inject commands that are executed by the server. The lack of input filtering allows direct injection of shell metacharacters, enabling remote code execution without authentication.

If exploited, this vulnerability can lead to full system compromise, including unauthorized access to sensitive data, installation of malware, creation of backdoor accounts, and complete control over the affected server. Given the CVSS score of 9.8, it poses a severe risk to hosting environments, potentially affecting thousands of websites and users.

Solution Advice
  • Update CentOS Web Panel to the latest patched version immediately.
  • Implement strict input validation and sanitization for the idsession parameter and all user inputs.
  • Restrict access to the CWP user portal using IP whitelisting or VPN.
  • Deploy a web application firewall (WAF) to detect and block command injection attempts.
  • Disable unnecessary functions and services in CWP to reduce attack surface.
  • Regularly review and monitor system logs for suspicious activity or exploitation attempts.
  • Apply the principle of least privilege to CWP processes and user accounts.
  • Conduct periodic security audits and vulnerability scans to identify and remediate similar issues.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.

CVE-2021-31324 OS Command Injection Scanner | S4E Free Check S4E