CVE-2022-44877, critical RCE in CentOS Control Web Panel exploited in the wild: everything you need to know
A flaw in Control Web Panel allows unauthenticated attackers to execute Bash commands when double quotation marks are used in login error logging. This could let an attacker run commands remotely with the same privileges as CWP, often root.
CVE-2022-44877, a critical RCE vulnerability in Control Web Panel 7 (also known as CentOS Web Panel), has been reportedly exploited in the wild. The vulnerability could allow an unauthenticated attacker to escalate privileges and execute code remotely on susceptible servers.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An unauthenticated attacker could execute commands remotely with the same privilege level as CWP, which is often root, and mass exploitation attempts have been observed in the wild.
What the attacker needed
Unpatched CWP version; network access to the panel
The fix
The vulnerability was fixed in version 0.9.8.1147, available since October 25, 2022.
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 write-up has not been written yet. The Original tab links to the source.
Control Web Panel is a tool for managing web servers. A bug in how it logs failed login attempts lets an attacker sneak in commands that the server then runs. Because the panel often runs with the highest permissions, an attacker could take full control of the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.