Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




bugtraq logo Bugtraq mailing list archives

Re: Vulnerability in NCSA HTTPD 1.3
From: ccshag () cclabs missouri edu (Paul 'Shag' Walmsley)
Date: Tue, 14 Feb 1995 00:33:05 -0600 (CST)


On Mon, 13 Feb 1995, Thomas Lopatic wrote:

Hello there,

we've installed the NCSA HTTPD 1.3 on our WWW server (HP9000/720, HP-UX 9.01)
and I've found, that it can be tricked into executing shell commands.

...

/* The problem is that the array 'tmp' in the function 'strsubfirst()' */
/* has a length of MAX_STRING_LEN. However, the function can be passed */
/* arguments with up to HUGE_STRING_LEN characters. */

As Thomas implied, this particular problem can probably be fixed by
changing line 161 of util.c from

        char tmp[MAX_STRING_LEN];
to
        char tmp[HUGE_STRING_LEN];

in NCSA's source.  We're running with the HUGE_STRING_LEN tmp now with no 
(immediately apparent) bad side-effects (other than Thomas' hack not working 
any more ;)
 
-- 
Thomas Lopatic                               lopatic () informatik uni-muenchen de


- Paul "Shag" Walmsley <ccshag () cclabs missouri edu>
  "I'll drink a toast to bold evolution any day!"



  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]