• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Security A warning to everyone who's running XAMPP.

Status
Not open for further replies.
I've recently seen alot of users getting hacked, so I've used some of my free time to look into this and I found a "security vulnerability" in phpMyAdmin which comes with XAMPP. The control user pma comes with an empty password as default, and XAMPP does not alert the user about this.

I'm not going to explain in details how you can take advantage of this vulnerability, but to explain it in a single sentence: the user pma has more permissions than it should have.

NOTE: The instructions below will break pmadb. pmadb is not necessary to host an OpenTibia server, so if you want to make this easy for you it's just to drop the control user. If you want to keep pmadb and fix this the proper way you can do as stated in the "Change the password of the “pma” user in phpMyAdmin" section here: XAMPP Security: Create “pma” Password Not Covered by the Security Script and Password Protect XAMPP Folders and Directories.

Instructions to drop the control user:
1. Enter phpMyAdmin with root user.
2. Below the phpMyAdmin logo (at the left sidebar) you can see a button that has the text SQL, click on it.
3. A textbox will appear where you can insert a query, insert this:
Code:
DROP USER 'pma'@'localhost';
4. Click on Execute, if you get any error post it in this thread and we'll try to help you.

Now to be sure it worked, logout from phpmyadmin and try to login with the user pma without any password. If it doesn't work then your server should be secure against this vulnerability.
 
No, uniserver is garbage. When I tried it on a VM with XP, it struggled to do simple things like not install services when I simply don't them and the control panel couldn't even properly do simple security checks.

You just suck with using uniserver, I'm able to do all what I want.
 
This thread applies only to those servers running older XAMPP versions while having or with MySQL port (3306 by default) open and AllowNoPassword=true.
 
Last edited:
Well thank you I appreciate it but I only use xampp for testing uses only. Thank you bro. Hope you have a nice day. Peace.
-Lee
 
using nginx like an alpha, never want to see apache again.
 
Mmmmm.. I don't have port 3306 (localhost) or whatever open, same for 80 (in-game account manager..). Never had problems with 'database hackers' or so.
 
Mmmmm.. I don't have port 3306 (localhost) or whatever open, same for 80 (in-game account manager..). Never had problems with 'database hackers' or so.

Excuse me? Without port 80 opened, you wont be able to use the internet.. Dumbshit..
 
Excuse me? Without port 80 opened, you wont be able to use the internet.. Dumbshit..
Excuse me?

@Edit:
Here's internet ticket in case your 80 port closes:
ticket_one_internet.png
 
Last edited:
Status
Not open for further replies.
Back
Top