|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 84
Members: 0
Total: 84
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
phpMyAdmin All Privileges |
|
Posted: Thu Dec 27, 2007 12:30 pm |
|
|
int |
Regular user |
|
|
Joined: Aug 13, 2007 |
Posts: 12 |
|
|
|
|
|
|
|
Hi everyone! I have a question for you, I really hope you can help me out.
So, I have a phpmyadmin account on a certain server... Is there any shell or other way I could use to get ALL PRIVILEGES ? Just like the root does...
I have an account with the CREATE USER attribute but it cannot GRANT anything... I can only make accounts with the USAGE attribute
Thank you!! |
|
|
|
|
Posted: Thu Dec 27, 2007 1:46 pm |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
Can you read mysql.user table and passwors hashes from there? |
|
|
|
|
Posted: Thu Dec 27, 2007 1:58 pm |
|
|
pexli |
Valuable expert |
|
|
Joined: May 24, 2007 |
Posts: 665 |
Location: Bulgaria |
|
|
|
|
|
|
waraxe wrote: | Can you read mysql.user table and passwors hashes from there? |
...if root is lamer probably. |
|
|
|
|
Posted: Thu Dec 27, 2007 2:11 pm |
|
|
int |
Regular user |
|
|
Joined: Aug 13, 2007 |
Posts: 12 |
|
|
|
|
|
|
|
I sure can... Those hashes are not md5.. Erm.. what hash types are they ? SHA1 perhaps ?
Edit: Ow... i can edit values Thanks a lot Waraxe, I love you ! |
|
|
|
|
Posted: Thu Dec 27, 2007 2:36 pm |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
Then it's easy, you can manipulate any user's permissions as wanted, or crack root password hash and then impersonate root, etc.
Koko: I have seen many real-world webservers, where after sql injection success access to mysql.user table is granted. They are mostly low priority servers - like edu or small companies. All the shared hosting servers are secured of course and no admin ever will grant to casual user FILE privileges or CREATE USER privs. But still - it's always worth to try |
|
|
|
|
Posted: Thu Dec 27, 2007 4:41 pm |
|
|
pexli |
Valuable expert |
|
|
Joined: May 24, 2007 |
Posts: 665 |
Location: Bulgaria |
|
|
|
|
|
|
waraxe:I never see so stupid admin.
int: Try to decrypt root hash from db.A'm sure is the same for ssh. |
|
|
|
|
www.waraxe.us Forum Index -> Newbies corner
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|
|