Skip to content
RCE Write-up Advanced

We discovered major vulnerabilities in Control Web Panel. Here’s how we found them

Three vulnerabilities in Control Web Panel allowed attackers to take over accounts and execute commands as root. The flaws included a path traversal leading to remote code execution, a predictable password reset token, and command injection from a standard user to root.

immersivelabs Follow

Published on immersivelabs.com

Responsible Disclosures

Immersive Labs (@immersivelabs), on immersivelabs.com

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

Root cause

Likely a combination of insufficient input filtering, predictable token generation, and unsafe shell command construction.

Impact

Attackers could take over accounts and run commands as root, potentially affecting millions of websites hosted on vulnerable servers.

What the attacker needed

Known email and username; ability to intercept server response; standard user account

The fix

The vulnerabilities were patched by the CWP team.

How it was found

  1. Send a crafted string that bypasses the directory traversal filter.
  2. Chain the bypass with a command injection vulnerability to execute OS commands.
  3. Trigger a password reset for a known account and intercept the response to obtain the reset token.
  4. Use the token to set a new password without email access.
  5. As a standard user, inject commands that are executed as root.

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 software that lets one server host many websites. The researchers found ways to break into accounts and even take full control of the server. This matters because many websites could be affected.

What is RCE?

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

More from Centos Web Panel (CWP)

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.