OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Colby Marks (ColbyDigitalJunction.com)
Date: Thu Feb 07 2002 - 22:34:25 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Unconfirmed.

    Windows 2000 sp2 plus postsp2rollup patch + PHP 4.0.6

    Response from my webserver is as follows:

    CGI Error
    The specified CGI application misbehaved by not returning a complete set
    of HTTP headers. The headers it did return are:

    http://www.somewebsite.com/somesubdir/index.php/123
    This format failed the test.

    HOWEVER
    http://www.somewebsite.com/somesubdir/index.php/

    Passed the test and revealed the TRUE location of the File, not the
    location of the PHP installation directory. This can be avoided by
    disabling the showing of scripting errors in IIS.

    What version of Windows and what service packs, plus what version of PHP
    are you using?

    -Colby

    -----Original Message-----
    From: Paul Brereton [mailto:brereton_paulbtopenworld.com]
    Sent: Thursday, February 07, 2002 7:00 AM
    To: bugssecuritytracker.com; webmasterhideaway.net;
    contactsecuritybugware.org; exploitnstalker.com;
    securitywinnetmag.com; editorsapacheweek.com;
    bugtraqsecurityfocus.com
    Subject: Security Advisory - #1

    Title : Windows Based PHP Leaks True Path
    Author : Paul Brereton
    E-Mail : brereton_paulbtopenworld.com

    Summary : PHP for Windows reveals the true path where the program was
    installed. This would be considered in most cases sensitive information.

    Details : By appending /123 to the end of a PHP file such as
    http://somehost/database.php/123 the PHP program will return its install
    path:
     The following message is displayed : Premature end of script headers:
    C:/php/php.exe

    Regards,

    Paul Brereton.