Secunia Logo
Netsikker nu! 2008
 
Virtual War "war.php" Cross-Site Scripting and SQL Injection
Secunia Advisory: SA20696
Release Date: 2006-06-16
Last Update: 2006-08-28
Popularity: 6,049 views

Critical:
Moderately critical
Impact: Cross Site Scripting
Manipulation of data
Where: From remote
Solution Status: Unpatched

Software:Virtual War 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-3139
CVE-2006-4009
CVE-2006-4010
CVE-2006-4141
CVE-2006-4142
CVE-2006-4224
CVE-2006-4225


Description:
Some vulnerabilities have been discovered in Virtual War, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks.

1) Input passed to the "n" parameter in extra/online.php, the "s" and "showgame" parameters in war.php, and the "sortorder" and "sortby" parameters in war.php and news.php isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

2) Input passed to the "page" parameter in war.php and to the "year" parameter in calendar.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

The vulnerabilities have been confirmed in version 1.5.0 R14. Other versions may also be affected.

Solution:
Edit the source code to ensure that input is properly sanitised.

Provided and/or discovered by:
1) r0t
Additional information provided by:
* MFox
* brOmstar, Insecurity Research Team

2) MFox
Additional information provided by Vampire.

Changelog:
2006-06-28: Added CVE reference.
2006-08-04: Added additional vulnerability provided by MFox. Updated "Title".
2006-08-11: Added additional vulnerabilities provided by MFox.
2006-08-14: Added additional vulnerability provided by brOmstar.
2006-08-15: Added additional vulnerability provided by Vampire.
2006-08-21: Added CVE references.
2006-08-28: Added CVE references.

Original Advisory:
1) http://pridels.blogspot.com/2006/06/virtual-war-multiple-sql-inj-vuln.html


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Today
New advisories: 18
New vulnerabilities: 65
Updated advisories: 61

Moderately // 8 views
Atarone CMS Multiple Vulnerabilities
Moderately // 107 views
Debian update for squid
Less // 114 views
SUSE update for mercurial
Moderately // 136 views
SUSE update for openssh
Less // 118 views
Fedora update for mediawiki

Solutions | More...  


Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. SUSE update for openssh // 116 views
2. SUSE update for mercurial // 97 views
3. Debian update for squid // 95 views
4. SUSE update for dovecot and graphicsmagic // 83 views
5. CMME Information Disclosure Security Issues // 83 views
6. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 71 views
7. H-Sphere webshell4 Cross-Site Scripting and Request Forgery // 67 views
8. HP-UX NFS/ONCplus Denial of Service Vulnerability // 60 views
9. Fedora update for mediawiki // 51 views
10. MetaGauge Directory Traversal Vulnerability // 48 views