Skip to content
RCE Advisory Advanced CVE-2023-42122

(0Day) Control Web Panel wloggui Command Injection Local Privilege Escalation Vulnerability

A local privilege escalation flaw in Control Web Panel's cwpsrv process allows an attacker with low-privileged code execution to run arbitrary commands as root due to missing validation of user-supplied input before a system call.

Muhammad Ikhsanudin Follow

Originally disclosed on Zero Day Initiative

High 7.8 View original

This vulnerability allows local attackers to escalate privileges on affected installations of Control Web Panel. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

Muhammad Ikhsanudin, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker with low-privileged code execution could escalate to root and execute arbitrary code, though the advisory notes that restricting interaction with the application is the only mitigation.

What the attacker needed

Low-privileged code execution on target

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a local privilege escalation bug in a web hosting control panel. An attacker who already has a low-level account on the server can trick a background service into running commands as the all-powerful root user, taking full control of the machine.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Muhammad Ikhsanudin

View all

3 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.