Enhance/fix phpmyadmin script installer

Rather than rely on the install person to do the right thing after this is installed by Virtualmin, the installer itself should do so.

After installation is complete, the setup directory should be removed or secured. Lots of brute force scripts look for the setup directory and do various bad things with it. An example, can be found here:

http://secunia.com/advisories/34727/

While that particular problem may be resolved, it does not mean there aren't more. Note the comment in the report "NOTE: Successful exploitation requires that installation best-practices have not been followed and the setup scripts have not been deleted after a successful installation.".

So, the install script should be changed to remove this directory.

phpmyadmin is a dangerous program!

Status: 
Closed (fixed)

Comments

Thanks, I didn't know about that directory. This will be removed in Virtualmin 3.78.

Automatically closed -- issue fixed for 2 weeks with no activity.

What about retroactive patching of installed PHPMyAdmin instances?

The directory will be removed when you do the next phpMyAdmin upgrade from within Virtualmin.