Great Circle Associates Firewalls
(June 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: getting passwd file via WWW
From: Root Admin-KSoft <root @ sibernet . com . tr>
Date: Thu, 5 Jun 1997 17:56:26 +0300 (EET DST)
To: Arnaud Girsch <girsch @ marben . com>
Cc: Stan Wnuck <swnuck @ unixpros . com>, Firewalls @ GreatCircle . COM
In-reply-to: <199706042108 . OAA27744 @ mail . marben . com>

On Wed, 4 Jun 1997, Arnaud Girsch wrote:

> 
> > I have noticed on my WWW log files the following 2 entries.
> >  
> > some.remote.location.edu - - [28/Apr/1997:01:33:21 +0015] "GET /cgi-bin/phf?Jserver=ns.uiuc.edu%0Acat%20/etc/passwd%0Aypcat%20passwd%0Apwd%0Aid%0Auname%20-a%0A&Qalias=&Qname=foo&Qemail=&Qnickname=&Qoffice_phone=&Qcallsign=&Qproxy=&Qhigh_school=&Qslip= HTTP/1.0" 200 140
> > some.remote.location.edu - - [28/Apr/1997:01:33:23 -74587788] "GET /cgi-bin/php.cgi?/etc/passwd" 404 143
    Once All the httpd daemons come bundled with a script called phf this
    script initially designed to build a mechanism like finger + whois
    But there's a bug in this phf script that when it is used as above
    could print any file (in this case /etc/passwd!!!!) or run any command
    in root priviliege. I mean somebody tried to hack you passwd file.
    The best thing to do is to go to your cgi-bin directory and issue 
    a "chmod 0 phf" and if you think you still need it pick a patched one
    . I Can not remember where. Bu it measns that definitely somebody
    tried to hack your system....

> > 
> > 
> > Does anyone know anything about these cgi scripts or programs?
> > Or how dangerous this is?
> 
> These are well known cgi scripts containing security holes.
> The phf script coming with the default NCSA server is buggy, and should be
> disabled. (it allowas execution of shell programs)
> 
> Arnaud.
> 
> -- 
> Arnaud Girsch      -+- Marben Products, Inc. / DSET Corporation - San Jose, CA
> agirsch @
 marben .
 com -+-    http://www.marben.com/   -+-    http://www.dset.com/
> 

+----------------------------------------------------
sibernet internet security experts
and sokak 8/1 cankaya ankara turkiye 06680
tel : +90-312-4670198 (pbx)      fax: +90-312-4670199

http://www.sibernet.com.tr/
mail: info @
 sibernet .
 com .
 tr



References:
Indexed By Date Previous: RE: Solaris
From: Andrew Luca <fmrco!ocean!ajl @ uunet . uu . net>
Next: Re: getting passwd file via WWW
From: Root Admin-KSoft <root @ sibernet . com . tr>
Indexed By Thread Previous: Re: getting passwd file via WWW
From: girsch @ marben . com (Arnaud Girsch)
Next: Re: getting passwd file via WWW
From: Root Admin-KSoft <root @ sibernet . com . tr>

Google
 
Search Internet Search www.greatcircle.com