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: Full path disclosure in PHP Links
From: "Scott T. Cameron" <karn () routehero com>
Date: Mon, 4 Oct 2004 17:15:37 -0700

On Sun, Oct 03, 2004 at 02:33:25PM -0000, Nikyt0x Argentina wrote:


Nkxtox Advisory 0000-00003

Full path disclosure in PHP Links

Date: 03/10/04

Bug:

http://server/phplinks/index.php?show=juax0rx

Warning: main(include/juax0rx.php): failed to open stream: No such file or directory in 
/home/h4x0rsit3/b0x/phplinks/index.php on line 198

Warning: main(): Failed opening 'include/juax0rx.php' for inclusion 
(include_path='.') in /home/h4x0rsit3/b0x/phplinks/index.php on line 198

Hi.

This is only because PHP is configured to display errors, on this server, to the web browser, instead of to a log file 
or syslog.  This is not a particular vulnerability with this software, although if they are including based on 
?show=<..> it could have many fopen()-based include vulnerabilities, providing they're not running safe mode.

Scott


  By Date           By Thread  

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