Description
includes/library.php in netOffice Dwins 1.3 p2 compares the demoSession variable to the 'true' string literal instead of the true boolean literal, which allows remote attackers to bypass authentication and execute arbitrary code by setting this variable to 1, as demonstrated by uploading a PHP script via an add action to projects_site/uploadfile.php.
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 1
- NetOffice Dwins 1.3 - Authentication Bypass / Arbitrary File Upload EDB-31317 · webapps · Feb 29, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 29193 third-party-advisory
- http://sourceforge.net/forum/forum.php?forum_id=814851
- 20080229 netOffice Dwins 1.3 Remote code execution. mailing-list
- 3845 third-party-advisory
- http://netofficedwins.sourceforge.net/modules/news/article.php?storyid=47
- 20080502 Re: netOffice Dwins 1.3 Remote code execution. mailing-list
- 28051 vdb-entry