DeluxeBB <= 1.2 (admincp.php) PHP Code Injection Vulnerability
DeluxeBB 1.2 and earlier contains a static code injection flaw in admincp.php that lets a remote authenticated administrator write arbitrary PHP code into logs/cp.php through the URI. An attacker with admin rights could then execute that injected PHP code.
karmainsecurity.com
Published on karmainsecurity.com
Static code injection vulnerability in admincp.php in DeluxeBB 1.2 and earlier allows remote authenticated administrators to inject arbitrary PHP code into logs/cp.php via the URI.
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 the admin control panel writes user-supplied URI data into a PHP log file without sanitising it, so the data is later executed as code.
Impact
An authenticated administrator could execute arbitrary PHP code on the server, though the text does not describe any further consequences.
What the attacker needed
Administrator account on DeluxeBB
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.
This is a very short advisory about an old forum program. Someone who is already logged in as an administrator can put their own PHP code into a log file by manipulating the web address they request. PHP is the programming language the forum runs on, so injected code can run 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.