[36844] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Full path disclosure in PHP Links

daemon@ATHENA.MIT.EDU (Scott T. Cameron)
Tue Oct 5 19:02:23 2004

Date: Mon, 4 Oct 2004 17:15:37 -0700
From: "Scott T. Cameron" <karn@routehero.com>
To: bugtraq@securityfocus.com
Message-ID: <20041005001537.GB5325@routehero.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20041003143325.23880.qmail@www.securityfocus.com>

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

home help back first fref pref prev next nref lref last post