The default configuration of SLiM before 1.3.2 places ./ (dot slash) at the beginning of the default_path option, which might allow local users to gain privileges via a Trojan horse program in the current working directory, related to slim.conf and cfg.cpp.
http://www.openwall.com/lists/oss-security/2010/08/20/10
http://www.openwall.com/lists/oss-security/2010/08/19/8
http://svn.berlios.de/viewvc/slim?view=revision&revision=171