# Exploit Title: Thecartpress Wordpress plugin RFI
# Google Dork: inurl:wp-content/plugins/thecartpress
# Date: 09/19/2011
# Author: Ben Schmidt (supernothing (AT) spareclockcycles.org @_supernothing)
# Software Link: http://wordpress.org/extend/plugins/thecartpress/download/
# Version: 1.1.1 (tested)
---
Vulnerable Code
---
if ( isset( $_REQUEST['tcp_save_fields'] ) ) {
$path = $_REQUEST['tcp_class_path'];
$class_name = $_REQUEST['tcp_class_name'];
require_once( $path );