[NEWS] <BODY>Builder SQL modification

From: support@securiteam.com
Date: 06/18/02

From: support@securiteam.com
To: list@securiteam.com
Date: Tue, 18 Jun 2002 22:42:35 +0200 (CEST)

The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

When was the last time you checked your server's security?
How about a monthly report?
http://www.AutomatedScanning.com - Know that you're safe.
- - - - - - - - -

  <BODY>Builder SQL modification


<Body>Builder is a site building engine by Ruslan Communications written
in Java. It allows administrative access via http://site/Admin. All
accounts are stored in database and accessed via SQL. A security
vulnerability in the username and password validation allows user to
modify SQL statement, allowing them to access administrative interface
without a valid username or password.


 Use login='-- and pass='--

Edit _login__jsp.java:

          -- cut --
          java.lang.String _jspParam;
          _jspParam = request.getParameter("username");
          if (_jspParam != null && ! _jspParam.equals("") &&
_checkvalue(_jspParam) )
          _jspParam = request.getParameter("password");
          if (_jspParam != null && ! _jspParam.equals("") &&
_checkvalue(_jspParam) )

Add new function called _checkvalue

          public static boolean _checkvalue(java.lang.String _value)
           int count;
           char temp;
           for (count=0;count<_value.length();count++)
            if (temp=='\'' ) return false;
            return true;

Vendor status:
Vendor was notified via e-mail but no response has been received.


The information has been provided by mam0nt.


This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com


The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.