WordPress Count Per Day Plugin 'daytoshow' Parameter Cross Site Scripting Vulnerability
BID:58307
Info
WordPress Count Per Day Plugin 'daytoshow' Parameter Cross Site Scripting Vulnerability
| Bugtraq ID: | 58307 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Mar 05 2013 12:00AM |
| Updated: | Mar 05 2013 12:00AM |
| Credit: | alejandr0.m0f0 |
| Vulnerable: |
WordPress Count per Day 3.1.1 WordPress Count per Day 2.17 |
| Not Vulnerable: | |
Discussion
WordPress Count Per Day Plugin 'daytoshow' Parameter Cross Site Scripting Vulnerability
The Count Per Day plugin for WordPress is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
An authenticated attacker may leverage this issue 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.2.5 and prior versions are vulnerable.
The Count Per Day plugin for WordPress is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
An authenticated attacker may leverage this issue 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.2.5 and prior versions are vulnerable.
Exploit / POC
WordPress Count Per Day Plugin 'daytoshow' Parameter Cross Site Scripting Vulnerability
Attackers can exploit this issue by enticing an unsuspecting victim to follow a malicious URI.
The following example URI is available:
http://www.example.com/wordpress/wp-admin/?page=cpd_metaboxes HTTP/1.1... /daytoshow=2013-03-04%22%3E%3Cimg+src%3Dx+onerror%3Dalert%281%29%3E&showday=Show
Attackers can exploit this issue by enticing an unsuspecting victim to follow a malicious URI.
The following example URI is available:
http://www.example.com/wordpress/wp-admin/?page=cpd_metaboxes HTTP/1.1... /daytoshow=2013-03-04%22%3E%3Cimg+src%3Dx+onerror%3Dalert%281%29%3E&showday=Show
Solution / Fix
WordPress Count Per Day Plugin 'daytoshow' Parameter Cross Site Scripting Vulnerability
Solution:
Currently, we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently, we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
WordPress Count Per Day Plugin 'daytoshow' Parameter Cross Site Scripting Vulnerability
References:
References:
- WordPress Count per Day Plugin Homepage (WordPress)
- WordPress Count-Per-Day plugin 3.2.5. Type-1 reflected (XSS) (Full Disclosure)
- WordPress Homepage (WordPress)