• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue Why is it the default setting to allow remote connections to databases?

hschramm

Basic Pleskian
Hi,

before opening a bug report, I want to know, why it is the default setting of all databases / db users to allow access from remote in the plesk ui. I know that per default the bind-address param of mysql is set to localhost, but think about the following scenario:

- Let 100 Users create their databases not caring about the default setting "allow remote connections from all"
- The mysql bind-address param is set to localhost (so nobody has remote access to the mysql)
- One user wants to access his db from remote
-> you have to reconfigure the mysql bind-address to 0.0.0.0 (or comment it out)
- Now 99 Users have a broader security risk in getting bruteforced for their databases

From my understanding the correct default value in plesk ui should be "only local connections"

Kind regards,
Holger
 
I don't believe this is actually the default setting. At least not on any of my Plesk installations. As @john0001 pointed out you can change the default setting for remote access via Tool & Settings > Database Servers > Settings.

Schermafbeelding 2021-07-10 om 11.13.51.png
 
@hschramm The default MariaDB my.cnf setting is a bind to localhost only. So even if Plesk had it set to allow for all, the database should still remain inaccessible unless my.cnf is changed to bind = ::.
 
You should also have p3306 blocked from 0.0.0.0/0 anyways....if you need remote access do it over a secured tunnel.
 
Back
Top