XSS vulnerability in CMS Tree Page View Wordpress Plugin

2012-03-21T00:00:00
ID HTB23083
Type htbridge
Reporter High-Tech Bridge
Modified 2012-03-26T00:00:00

Description

High-Tech Bridge SA Security Research Lab has discovered vulnerability in CMS Tree Page View Wordpress Plugin, which can be exploited to perform Cross-Site Scripting (XSS) attacks.
1) Cross-Site Scripting (XSS) in CMS Tree Page View Wordpress Plugin: CVE-2012-1834
1.1 Input passed via the "cms_tpv_view" GET parameter to /wp-admin/options-general.php is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in administrator's browser session in context of the affected website.
The following PoC (Proof of Concept) demonstrates the vulnerability:
http://[host]/wp-admin/options-general.php?page=cms-tpv-options&cms_tpv_view =%22;%3C/script%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E