WordPress TheCartPress Plugin "tcp_class_path" File Inclusion Vulnerability


Description   Ben Schmidt has discovered a vulnerability in the TheCartPress plugin for WordPress, which can be exploited by malicious people to compromise a vulnerable system.
Input passed via the "tcp_class_path" parameter to wp-content/plugins/thecartpress/checkout/CheckoutEditor.php (when "tcp_save_fields" is set) is not properly verified before being used to include files. This can be exploited to include arbitrary files from local or external resources.
The vulnerability is confirmed in version 1.1.1. Prior versions may also be affected.
     
Vulnerable Products   Vulnerable Software:
WordPress TheCartPress Plugin 1.x
     
Solution   Update to version 1.1.2.
     
CVE  
     
References   TheCartPress:
http://plugins.trac.wordpress.org/changeset/438950/thecartpress/trunk/checkout/CheckoutEditor.php?old=438924&
old_path=thecartpress%2Ftrunk%2Fcheckout%2FCheckoutEditor.php
Ben Schmidt:
http://spareclockcycles.org/2011/09/18/exploitring-the-wordpress-extension-repos/
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
Misc : Directory traversal - parameter starting with ../
3.2.0
PHP : Remote file inclusion prevention : suspicious root_path parameter found in URL
3.2.0
Directory traversal using ..\..
3.2.0
Directory traversal
3.2.0
PHP : Remote file inclusion prevention : URL found as parameter
3.2.0
Directory traversal backward root folder
3.2.0
Misc : Local File Inclusion - suspicious /etc/passwd found in URL
3.5.0
     


 
 
 
 
 Risk level 
High 

 Vulnerability First Public Report Date 
2011-09-20 

 Target Type 
Server 

 Possible exploit 
Remote