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.
Published on immersivelabs.com
Responsible Disclosures
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
- Send a crafted string that bypasses the directory traversal filter.
- Chain the bypass with a command injection vulnerability to execute OS commands.
- Trigger a password reset for a known account and intercept the response to obtain the reset token.
- Use the token to set a new password without email access.
- 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.