[UNIX] Owl Intranet Engine Security Bypassing
From: SecuriTeam (support_at_securiteam.com)
Date: 05/21/03
- Previous message: SecuriTeam: "[UNIX] Security Vulnerability in "ioperm" System Call"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 21 May 2003 17:32:48 +0200
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
In the US?
Contact Beyond Security at our new California office
housewarming rates on automated network vulnerability
scanning. We also welcome ISPs and other resellers!
Please contact us at: 323-882-8286 or ussales@beyondsecurity.com
- - - - - - - - -
Owl Intranet Engine Security Bypassing
------------------------------------------------------------------------
SUMMARY
<http://owl.sourceforge.net/> Owl is a multi user document repository
(knowledgebase) system written in PHP4 for publishing of files/documents
onto the web for a corporation, small business, group of people, or just
for yourself. A vulnerability in the product allows remote attackers to
bypass the authentication mechanism and access restricted functionality.
DETAILS
Vulnerable systems:
* Owl version 0.71
By passing a URL string with a bogus username, you may view the contents
within the OWL interface. Using this technique, you may bypass user
authentication and a valid session ID.
Within the PHP source to Owl there is a browse.php script which calls its
library (lib/owl.lib.php). This PHP library does not check for valid
username and password.
Vulnerable code:
intranet/lib/owl.lib.php
------------------- snip ------------------
function verify_login($username, $password) {
global $default;
$sql = new Owl_DB;
$sql->query("select * from $default->owl_users_table where username =
'$username' and password = '" . md5($password) . "'");
$numrows = $sql->num_rows($sql);
// Bozz Begin added Password Encryption above, but for now
// I will allow admin to use non crypted password untile he
// upgrades all users
if ($numrows == "1") {
while($sql->next_record()) {
if ( $sql->f("disabled") == 1 )
$verified["bit"] = 2;
else
$verified["bit"] = 1;
$verified["user"] = $sql->f("username");
$verified["uid"] = $sql->f("id");
$verified["group"] = $sql->f("groupid");
$maxsessions = $sql->f("maxsessions") + 1;
}
}
// Remove this else in a future version
else {
if ($username == "admin") {
$sql->query("select * from $default->owl_users_table where
username = '$username' and password = '$password'");
------------------- snip ------------------
Example:
http://www.someplace.com/intranet/browse.php?loginname=whocares
ADDITIONAL INFORMATION
The information has been provided by
<mailto:cdowns@bigunz.angrypacket.com> Christopher M Downs.
========================================
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: SecuriTeam: "[UNIX] Security Vulnerability in "ioperm" System Call"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|