Skip to content
RCE Write-up Advanced

CentOS Web Panel idsession root Remote Code Execution

The unprivileged user portal of CentOS Web Panel contains SQL injection and command injection flaws. An attacker could chain these to execute commands as root.

shielder.com

Published on shielder.com

The unprivileged user portal part of CentOS Web Panel is affected by SQL Injection and Command Injection vulnerabilities, leading to root Remote Code Execution.

The author, on shielder.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 unsafe handling of user input in the unprivileged portal, allowing both SQL injection and command injection.

Impact

An attacker with access to the unprivileged user portal could execute commands as root on the server.

What the attacker needed

Access to the unprivileged user portal

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.

CentOS Web Panel is a tool for managing web servers. Its user portal had two mistakes: one let a user sneak database commands into input, and another let them sneak operating-system commands. Together these could let an ordinary user run commands with the highest privileges on 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.

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.