• 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.
 
I got this .
x277de.png


I just paste and execute things on SQL.
I cant acess the database. if anyone user or password.

Help Fast please.

How can i revert the procediment? :S Or save the actuality database.?
 
I get this when I follow these steps.

Connection for controluser as defined in your configuration failed.

you should update config.inc.php as well.
It should be noted that the newest version of xampp seems to generate a random password for the PMA user. That or I did it myself and forgot, dunno, it's worth checking.
It's "$cfg['Servers'][$i]['controlpass']" in config.inc.php
 
I tried this and now my OT wont lemme get on nor will it let anyone else get on ingame...
 
This happens everytime i start to load it up ... what should i do?

image2de.jpg
 
"The next page will show 2 users, “pma” and “root”. On the right side of the row for “pma” is this symbol: , click on it to edit the properties for “pma”.

I dont have 2 users.... I have only root
 
So just don't use Xampp. Lol simple fix :p uniserver ftw? no?

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.
 
Status
Not open for further replies.
Back
Top