Description
Multiple PHP remote file include vulnerabilities in dotProject 2.0.1 and earlier, when register_globals is enabled, allow remote attackers to execute arbitrary commands via the baseDir parameter in (1) db_adodb.php, (2) db_connect.php, (3) session.php, (4) vw_usr_roles.php, (5) calendar.php, (6) date_format.php, and (7) tasks/gantt.php; and the dPconfig[root_dir] parameter in (8) projects/gantt.php, (9) gantt2.php, and (10) vw_files.php. NOTE: the vendor disputes this issue, stating that the product documentation clearly recommends that the system administrator disable register_globals, and that the check.php script warns against this setting. Also, the vendor says that the protection.php/siteurl vector is incorrect because protection.php does not exist in the product
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 10
- dotProject 2.1.6 - Remote File Inclusion EDB-22708 · webapps · Nov 14, 2012 · verified
- dotProject 2.0 - '/modules/projects/gantt.php?dPconfig[root_dir]' Remote File Inclusion EDB-27217 · webapps · Feb 14, 2006 · verified
- dotProject 2.0 - '/includes/db_connect.php?baseDir' Remote File Inclusion EDB-27218 · webapps · Feb 14, 2006 · verified
- dotProject 2.0 - '/includes/session.php?baseDir' Remote File Inclusion EDB-27219 · webapps · Feb 14, 2006 · verified
- dotProject 2.0 - '/modules/projects/gantt2.php?dPconfig[root_dir]' Remote File Inclusion EDB-27220 · webapps · Feb 14, 2006 · verified
- dotProject 2.0 - '/modules/projects/vw_files.php?dPconfig[root_dir]' Remote File Inclusion EDB-27221 · webapps · Feb 14, 2006 · verified
- dotProject 2.0 - '/modules/admin/vw_usr_roles.php?baseDir' Remote File Inclusion EDB-27222 · webapps · Feb 14, 2006 · verified
- dotProject 2.0 - '/modules/public/calendar.php?baseDir' Remote File Inclusion EDB-27223 · webapps · Feb 14, 2006 · verified
- dotProject 2.0 - '/modules/public/date_format.php?baseDir' Remote File Inclusion EDB-27224 · webapps · Feb 14, 2006 · verified
- dotProject 2.0 - '/modules/tasks/gantt.php?baseDir' Remote File Inclusion EDB-27225 · webapps · Feb 14, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20060214 dotproject <= 2.0.1 remote code execution mailing-list
- 23210 vdb-entry
- 23216 vdb-entry
- 23217 vdb-entry
- 18879 third-party-advisory
- 23209 vdb-entry
- 16648 vdb-entry
- 23212 vdb-entry
- 23215 vdb-entry
- dotproject-multiple-basedir-file-include(24738) vdb-entry
- 23213 vdb-entry
- ADV-2006-0604 vdb-entry
- 23214 vdb-entry
- 23218 vdb-entry
- 23211 vdb-entry
- 23219 vdb-entry
- 20060215 Re: dotproject <= 2.0.1 remote code execution mailing-list