aidiCMS v3.55 (ajax_create_folder.php) PHP Code Injection Vulnerability
A static code injection flaw in the Ajax File and Image Manager component used by aidiCMS allows remote attackers to inject arbitrary PHP code into a data file through crafted parameters. This could let an attacker run their own PHP code on the server.
karmainsecurity.com
Published on karmainsecurity.com
Static code injection vulnerability in inc/function.base.php in Ajax File and Image Manager before 1.1, as used in tinymce before 1.4.2, phpMyFAQ 2.6 before 2.6.19 and 2.7 before 2.7.1, and possibly other products, allows remote attackers to inject arbitrary PHP code into data.php via crafted parameters.
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, user-supplied parameters are written into a PHP data file without proper validation or escaping, so the input becomes executable code.
Impact
An attacker could inject and execute arbitrary PHP code on the server, potentially taking control of the affected site.
What the attacker needed
Access to the vulnerable file manager endpoint
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 bug where a file manager component lets someone sneak their own PHP code into a file the server later runs. PHP is a programming language used to build websites, and running attacker code on a server is serious because it can lead to full control of the site.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.