Menu

#348 directory traversal: ../utils/crypt.php not found?

closed-fixed
5
2008-03-17
2008-03-16
openfan
No

Running NOCC 1.6dev build20080313 on MacOSX 10.4.11 w/ MAMP, it seems that in class_smtp.php, the line:

require_once '../utils/crypt.php';

should be

require_once './utils/crypt.php';

Otherwise sending mail does not work and php_error.log shows:

[15-Mar-2008 00:17:37] PHP Warning: smtp::require_once(../utils/crypt.php) [<a href='function.smtp-require-once'>function.smtp-require-once</a>]: failed to open stream: No such file or directory in /Users/xxxx/Documents/htdocs/webmail/classes/class_smtp.php on line 89
[15-Mar-2008 00:17:37] PHP Fatal error: smtp::require_once() [<a href='function.require'>function.require</a>]: Failed opening required '../utils/crypt.php' (include_path='.:/Applications/MAMP/bin/php5/lib/php') in /Users/xxxx/Documents/htdocs/webmail/classes/class_smtp.php on line 89

Discussion

  • Anonymous

    Anonymous - 2008-03-17

    Logged In: YES
    user_id=529507
    Originator: NO

    Fixed in CVS.

    It'll be included in next release.

    But you can download daily snapshots at :
    http://nocc.sourceforge.net/download/

    Thanks for the bug report.

     
  • Anonymous

    Anonymous - 2008-03-17
    • assigned_to: nobody --> goddess_skuld
    • status: open --> closed-fixed
     

Log in to post a comment.