• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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