[UNIX] Owl Intranet Engine Security Bypassing

From: SecuriTeam (support_at_securiteam.com)
Date: 05/21/03

  • Next message: SecuriTeam: "[EXPL] Maelstrom Vulnerable to a Local Buffer Overflow (Exploit)"
    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.


  • Next message: SecuriTeam: "[EXPL] Maelstrom Vulnerable to a Local Buffer Overflow (Exploit)"

    Relevant Pages

    • [UNIX] DSH HOME Environment Buffer Overflow
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Get Thawte's New Step-by-Step SSL Guide for MSIIS ... This vulnerability will allow attackers to cause the product crash. ... In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
      (Securiteam)
    • [NT] RSA ClearTrust Cross Site Scripting Issues
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... The RSA ClearTrust is a Web access ... A cross-site scripting vulnerability in the product allows an attacker to ... In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
      (Securiteam)
    • [NEWS] Directory Traversal Vulnerability in Phpimglist
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Phpimglist creates a gallery images from a certain directory. ... There is a vulnerability in phpimglist which allows a user to traverse ... In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
      (Securiteam)
    • [EXPL] Zeroo Webserver Remote Directory Traversal Exploit
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Vulnerability> Zeroo Folder Traversal Vulnerability, ... 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. ...
      (Securiteam)
    • [EXPL] Remote Heap malloc/free and Multiple Overflow Vulnerability in WSMP3 (Exploit)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... WsMp3 versions ... # Remote Heap malloc/free & multiple Overflow vulnerability in WSMP3. ... to $Host \n"; ...
      (Securiteam)