dotproject Remote File Access Vulnerability

Type securityvulns
Reporter Securityvulns
Modified 2003-01-28T00:00:00


dotproject Remote File Access Vulnerability ( By Mindwarper :: :: )

<------- ------->

Vendor Information:

Homepage : Vendor : informed Mailed advisory: 26/01/02 Vender Response : None

Affected Versions:

dev20030121 and prior


dotproject is a PHP+MySQL beta level web based project management and tracking tool that dotmarketing started in Dec. 2000. A Vulnerability exists in a file named core.php which is found in the /locale/ directory. Because there is no .htaccess set on this directory nor any security check in core.php, an attacker may call it directly and read local files with webserver permissions.

Here is the code of core.php:

<?php ob_start(); @readfile( "$root_dir/locales/$AppUI->user_locale/" ); @readfile( "$root_dir/locales/$AppUI->user_locale/$" );


We can see that $root_dir is never defined before and may be injected if globals are on. An attacker may type in the browser the following URI:


Here %00 just ignores everything that comes after it so that the attack may be able to read any file on the server.


Please check the vendor's website for new patches.

As a temporary solution, create a .htaccess file that contains 'Deny from all'. Place it in the /locale/ directory and that should block remote users from accessing it.


ps, Truckle, Cyon, coobb, mary

<------- ------->

Concerned about your privacy? Follow this link to get FREE encrypted email:

Big $$$ to be made with the HushMail Affiliate Program: