Re: Full path disclosure in PHP Links

From: Scott T. Cameron (karn_at_routehero.com)
Date: 10/05/04

  • Next message: Bipin Gautam: "Antivirus, Trojan, Spy ware scanner, Nested file manual scan bypass bug"
    Date: Mon, 4 Oct 2004 17:15:37 -0700
    To: bugtraq@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


  • Next message: Bipin Gautam: "Antivirus, Trojan, Spy ware scanner, Nested file manual scan bypass bug"

    Relevant Pages