Re: Full path disclosure in PHP Links
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