Cross-site Scripting (XSS) Vulnerability in WPTouch Wordpress Plugin

Advisory ID:HTB22698
Product:WPTouch Wordpress Plugin
Vendor:BraveNewCode Inc
Vulnerable Versions:1.9.19.4 and probably prior
Tested Version:1.9.19.4
Advisory Publication:November 16, 2010 [without technical details]
Vendor Notification:November 16, 2010
Public Disclosure:November 30, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
CVE Reference:CVE-2010-4779
Risk Level:Medium
CVSSv2 Base Score:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered vulnerability in WPTouch Wordpress Plugin which could be exploited to perform cross-site scripting attacks.

1) Cross-site scripting (XSS) vulnerability in WPTouch Wordpress Plugin: CVE-2010-4779
The vulnerability exists due to input sanitation error in the "wptouch_settings" parameter in /lib/includes/auth.inc.php. A remote attacker can send a specially crafted HTTP request to the /wp-content/plugins/wptouch/include/adsense-new.php script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.
Exploitation example:
http://[host]/wp-content/plugins/wptouch/include/adsense-new.php?wptouch_set tings[adsense-id]=%27,};//--%3E%3C/script%3E%3Cscript%3Ealert%28%27XSS%27%29 ;%3C/script%3E%3C!--

How to Detect Cross-Site Scripting Vulnerabilities
Free Website Security Test
  • Non-intrusive GDPR Test
  • Non-intrusive PCI DSS Test
Try Free Test
ImmuniWeb® On-Demand
  • Complete GDPR Audit
  • Complete PCI DSS Audit
  • Remediation Guidelines
  • DevSecOps Integration
Learn More

Solution:
Upgrade to the most recent version


References:
[1] High-Tech Bridge Advisory HTB22698 - https://www.immuniweb.com/advisory/HTB22698 - Cross-site Scripting (XSS) Vulnerability in WPTouch Wordpress Plugin
[2] WPTouch Wordpress Plugin - bravenewcode.com - WPTouch is a rich mobile theme for iPhone, iPad, Android, Blackberry, Palm OS and Samsung touch mobile visitors.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
User Comments
Add Comment


Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Quick Start
Solutions
Get a Demo
Newsletter