Cross-site Scripting (XSS) Vulnerabilities in Sodahead Polls

Advisory ID:HTB22893
Product:Sodahead Polls
Vendor:SodaHead.com
Vulnerable Versions:2.0.2 and probably prior
Tested Version:2.0.2
Advisory Publication:March 3, 2011 [without technical details]
Vendor Notification:March 3, 2011
Public Disclosure:March 17, 2011
Vulnerability Type:Cross-Site Scripting [CWE-79]
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 multiple vulnerabilities in Sodahead Polls which could be exploited to perform cross-site scripting attacks.

1) Cross-site scripting (XSS) vulnerabilities in Sodahead Polls
1.1 The vulnerability exists due to input sanitation errors in the "poll_id" parameter in wp-content/plugins/sodahead-polls/customizer.php. A remote attacker can send a specially crafted HTTP request to the vulnerable 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/sodahead-polls/customizer.php?poll_id=%27%2 2%3E%3Cscript%3Ealert%28 document.cookie%29;%3C/script%3E
1.2 The vulnerability exists due to input sanitation error in the "customize" parameter in "customize". A remote attacker can send a specially crafted HTTP request to the vulnerable 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/sodahead-polls/poll.php?customize=%27;%3C/s cript%3E%3Cscript%3Ealer t%28document.cookie%29;%3C/script%3E

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:
Update to version 2.0.4.
More information available: http://wordpress.org/extend/plugins/sodahead-polls/changelog/


References:
[1] High-Tech Bridge Advisory HTB22893 - https://www.immuniweb.com/advisory/HTB22893 - Cross-site Scripting (XSS) Vulnerabilities in Sodahead Polls
[2] Sodahead Polls - sodahead.com - SodaHead Polls is a WordPress plugin that allows you to create and embed a poll into your blog.
[3] 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