RE: PEN Testing a everchanging realm in apache

From: John_Leitch@NAI.com
Date: 05/30/02


From: John_Leitch@NAI.com
To: vladimir@arobas.net, John_Leitch@NAI.com
Date: Thu, 30 May 2002 10:53:00 +0200

Hi,

Thanks for that but the ever changing realm is as follows.....

When a connection is established to the server and you are presented with a
login prompt the realm is different everytime. Its almost like the server
has / is using /dev/random to assign the realm so its never the same.

                -----Original Message-----
                From: Vladimir Parkhaev [mailto:vladimir@arobas.net]
                Sent: 29 May 2002 23:11
                To: John_Leitch@NAI.com
                Cc: pen-test@securityfocus.com
                Subject: Re: PEN Testing a everchanging realm in
apache

                Quoting John_Leitch@NAI.com (John_Leitch@NAI.com):
> Using the latest apache / ssl.
>
> I need to find a way of brute forcing the auth but........
the web server
> has an ever changing realm.
>
> Is this possible or shall I look elsewhere ?
>
> Regards
>

                I am not sure what do you mean by "ever changing realm", but
you can adapt the following
                perl code to brute force your way in. You need to install
Crypt::SSLeay module,
                dictionary, a loop and ... pretty much it...

                #!/usr/bin/perl -w
                use LWP::UserAgent;

                my $ua = LWP::UserAgent->new;
                my $req = HTTP::Request->new(POST =>
'https://server.domain.com/');
                $req->authorization_basic('foo', 'bar');
                $res = $ua->request($req);
                ($res->is_success)? print $res->content, "\n" : print
$res->status_line, "\n";

----------------------------------------------------------------------------
This list is provided by the SecurityFocus Security Intelligence Alert (SIA)
Service. For more information on SecurityFocus' SIA service which
automatically alerts you to the latest security vulnerabilities please see:
https://alerts.securityfocus.com/



Relevant Pages

  • Re: how many clients per server w/ nessus?
    ... We accidentally just had 9 concurrent scans running from various clients. ... The server is a Netra X1 running Solaris 2.8. ... >> This list is provided by the SecurityFocus Security Intelligence Alert ... For more information on SecurityFocus' SIA service which ...
    (Pen-Test)
  • Re: Hacking Lotus Domino 5.0.5
    ... But I found a vulnerable Domino 5.0.5 Server. ... I'm not a pro in Lotus Domino. ... > This list is provided by the SecurityFocus Security Intelligence Alert ... For more information on SecurityFocus' SIA service which ...
    (Pen-Test)
  • RE: SQL
    ... Subject: SQL ... statement being executed in the ISS server ... > This list is provided by the SecurityFocus Security ... For more information on SecurityFocus' SIA service which ...
    (Pen-Test)
  • Re: Hacking Lotus Domino 5.0.5
    ... Subject: Hacking Lotus Domino 5.0.5 ... go to the remote Notes server console, ... >>This list is provided by the SecurityFocus Security Intelligence Alert ... For more information on SecurityFocus' SIA service which ...
    (Pen-Test)
  • RE: Re-opening an old thread: NetWare-Enterprise-Web-Server/5.1 - -As sistence requested.
    ... I remember finding this on a netware server that I was auditing. ... This list is provided by the SecurityFocus Security Intelligence Alert ... For more information on SecurityFocus' SIA service which ...
    (Pen-Test)