Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
* [linux-alert] NCSA httpd cgi-bin application vulnerability.
@ 1996-03-12  5:00 Jeff Uphoff
  0 siblings, 0 replies; only message in thread
From: Jeff Uphoff @ 1996-03-12  5:00 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----

[ Moderator's note: This is a repost from the linux-alert mailing list;
  I hope it is useful for you.  linux-alert contains warnings about
  Linux security bugs -- if you're worried about security, you should
  probably be on the list.  I will be picking messages from the list and
  post them to this group, but I may or may not post all -- for example,
  I won't be posting CERT announcements, since they are already available
  in their own group, comp.security.announce.  --liw ]

If you are running NCSA's httpd WWW server (or, conceivably, someone
else's), have compiled the phf.c application found in the NCSA
distribution's cgi-src directory, and have installed it into an area
designated for cgi-bin applications, please 'chmod a-x' it immediately.

(This applies to *at least* the phf.c application as provided with NCSA
httpd versions 1.3 and 1.5a-export; I've not inspected the other
distributions yet.)

Many sites (I've looked around a bit and have had a hit rate of roughly
50% so far, but maybe I'm just "lucky")--including the top-level WWW
servers for some large and/or very high-profile domains--appear to have
"blindly" installed all of the cgi-src applications provided with NCSA's
httpd.  The most notable aspect of this particular cgi-bin
vulnerability, at least to me, is not so much the vulnerability itself
(it's been seen before) but rather its quite widespread nature.

This vulnerability allows a remote client to retrieve any world-readable
file from the server system, as well as execute commands and create
files on the server with the privileges of the euid of the httpd server
process.

Depending on the server's (mis)configuration, this could conceivably be
used as an avenue through which to replace the httpd server binary
itself with a trojan--quite possibly to be run as root during the
system's next boot cycle.  It can also be used, largely independent of
the server system's configuration--and rather easily--to gain remote
interactive access to the server with the userid that the httpd server
runs under.  (I'm sure there are lots of other "nifty" possibilities,
but I first found out about this a just few waking hours ago and have so
far performed only the most basic proof-of-concept exploits.)

More details (full disclosure, etc.) to follow on the linux-security
list and on Bugtraq....

- --Up.

P.S. I'll bet everyone just can't wait for Java!

- -- 
Jeff Uphoff - systems/network admin.  |  juphoff@nrao.edu
National Radio Astronomy Observatory  |  juphoff@bofh.org.uk
Charlottesville, VA, USA              |  jeff.uphoff@linux.org
    PGP key available at: http://www.cv.nrao.edu/~juphoff/

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAwUBMUXsWoQRll5MupLRAQETOwQAwxu2wgEKtgunB/OIeBeeA2Y0e76PGxjE
2gDM7Whaaj0yPFmIoFECaCO2ya2R3R++75R1Q73gqeV5+2RGrOpqAYy507MPxLW4
WrgxQ2bWaCigkhwNuuxiGexoL7NUDHqYiaJaueW6zr7D1tAU9Xc8WRCpqejrFv8k
uK6ol26aPP8=
=/Fk3
-----END PGP SIGNATURE-----

-- 
This article has been digitally signed by the moderator, using PGP.
Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-03-12  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-12  5:00 [linux-alert] NCSA httpd cgi-bin application vulnerability Jeff Uphoff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox