XAMPP MySQL - does it use UpNp - security threat?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP MySQL - does it use UpNp - security threat?

Postby Xampppsec » 01. March 2020 13:54

I've installed XAMP on my computer and used both Apache and MySQL services.

However, what i have realized is that MySQL's bind_address is set to 0.0.0.0 by default, meaning it allows connections from all interfaces.

I can confirm that XAMPP adds 2 Firewall rules, which allow inbound connections on to that port - 3306. I have also checked user accounts and now can confirm, that root can be accessed only from localhost, but i have created another user, which can be accessed from anywhere (it has strong password).

But this means that XAMPP has done everything to allow remote connections to the server and now my question is, does it use UpNp to add port forwarding on the router? Because if it does, or does something similar, it basically lets anyone connect to your MySQL server from Internet by default, once ran.

Then i'm not sure, but i believe that MySQL CLI has the ability to read and make files when privileged to do so, but can it also run files, such as basic executables?
Xampppsec
 
Posts: 1
Joined: 01. March 2020 13:51
XAMPP version: Latest
Operating System: Windows 10

Re: XAMPP MySQL - does it use UpNp - security threat?

Postby Nobbie » 02. March 2020 12:21

From Xampp Dashboard:

Welcome to XAMPP for Linux 7.4.2

You have successfully installed XAMPP on this system! Now you can start using Apache, MariaDB, PHP and other components. You can find more info in the FAQs section or check the HOW-TO Guides for getting started with PHP applications.

XAMPP is meant only for development purposes. It has certain configuration settings that make it easy to develop locally but that are insecure if you want to have your installation accessible to others. If you want have your XAMPP accessible from the internet, make sure you understand the implications and you checked the FAQs to learn how to protect your site. Alternatively you can use WAMP, MAMP or LAMP which are similar packages which are more suitable for production.

Start the XAMPP Control Panel to check the server status.
Nobbie
 
Posts: 11614
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 77 guests