CVE-2023-42120 Control Web Panel dns_zone_editor Command Injection Remote Code Execution Vulnerability
Remote attackers with authentication can execute arbitrary code as root via command injection in the dns_zone_editor module.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-42120?
CVE-2023-42120 is a high-severity command injection vulnerability in Control-Webpanel Webpanel, published on 3 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Control Web Panel dns_zone_editor Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Control Web Panel. Authentication is required to exploit this vulnerability.
The specific flaw exists within the dns_zone_editor module. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-20581.
Weakness: CWE-78
Which versions are affected by CVE-2023-42120?
It affects 1 product.
Products include Control-Webpanel Webpanel.
How do I fix CVE-2023-42120?
No fix has been published for CVE-2023-42120 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2023-42120 being exploited?
There is no known exploitation of CVE-2023-42120 in the wild and no public exploit code.
Other vulnerabilities in Control-Webpanel Webpanel
Sources
Also known as GHSA-3cxr-mgrx-fg7c.