[NEWS] <BODY>Builder SQL modification
From: support@securiteam.comDate: 06/18/02
- Previous message: support@securiteam.com: "[TOOL] Wellenreiter Introduces ESSID bruteforcing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
------------------------------------------------------------------------
SUMMARY
<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.
DETAILS
Exploitation:
Use login='-- and pass='--
Solution:
Edit _login__jsp.java:
-- cut --
java.lang.String _jspParam;
_jspParam = request.getParameter("username");
if (_jspParam != null && ! _jspParam.equals("") &&
_checkvalue(_jspParam) )
Log.setUsername(_jspParam);
_jspParam = request.getParameter("password");
if (_jspParam != null && ! _jspParam.equals("") &&
_checkvalue(_jspParam) )
Log.setPassword(_jspParam);
--cut--
Add new function called _checkvalue
public static boolean _checkvalue(java.lang.String _value)
{
int count;
char temp;
for (count=0;count<_value.length();count++)
{
temp=_value.charAt(count);
if (temp=='\'' ) return false;
}
return true;
}
Vendor status:
Vendor was notified via e-mail but no response has been received.
ADDITIONAL INFORMATION
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
====================
====================
DISCLAIMER:
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.
- Previous message: support@securiteam.com: "[TOOL] Wellenreiter Introduces ESSID bruteforcing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|