• 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 admid to abuse this bug on many servers, But not do do harm many gm's dont belive me untill i log in on there gm, I request them to add me on msn and i explain how this wass possible and how to avoid it.

Untail now i have "hacked" around 8 Otservers, And the have been securit now, but for some servers my help just came a few days to late so i couldeld help them a fun 100%, the only way i could help them was how to avoid it.

You should't tell them how you did it. I just logged in on some ot's and dropped pma and logged out.
 
You should't tell them how you did it. I just logged in on some ot's and dropped pma and logged out.


I tryt that to but you cant drop pma user when you are logged in pma user! thats why i needed to do that. Ofcourse i give way to mutch info but the are securit.
 
on my phpMyAdmin the pma user can be accessed only by localhost and there's no password really, but if other users there are not in localhost can't access there's no problem of no password right?
 
Lame because you do not understand how it works :thumbup:, nor do most "hackers"

Still, full disclosure rocks until many l33b haxx0rs go abuse it :/

I don't understand why it's fun to destroy random peoples servers.
Sure would be fun to destroy for someone you hate but not random people.
You don't gain anything in destroying it.. Ah well everyone thinks differently.
 
omg! Thanks Talaturen, i decided to change the pma password instead to delete it :p

and.. Rob's Rox xD

Greetings
DX~
 
Damn I have PHPMYADMIN 3.1.1 and it doesnt let me DROP PPMA user =(

UP---

On the newest version, just set a pass to root, then enter to de database and then search the button "Privileges", delete de user pma, or set a password.
 
Last edited by a moderator:
If you can't drop the pma user then change the password on it.
 
Thanks Tala.... but i prefer the more advance option, it gives this message "Cannot log in to the MySQL server" rather than "#1045 - Access denied for user ‘pma’@'localhost’ (using password: NO)" and it really isn't all that long.

Another great help by the Amazing Talaturen
 
#1396 - Operation DROP USER failed for 'pma'@'localhost'
RctIFVVhh.png


Anyone who knows what's wrong? :p
 
You need to be logged in on root to remove PMA, you're logged in as PMA...
 
i can log in with pma but it dosnt shows all things. it cant creat databases and it dosnt show all databases, just "information_schema (28)" and "test"

is that ok?
 
Status
Not open for further replies.
Back
Top