Details
================
Software: The Events Calendar: Eventbrite Tickets
Version: 3.9.6
Homepage: https://theeventscalendar.com/product/wordpress-eventbrite-tickets/
Advisory report: https://security.dxw.com/advisories/reflected-xss-in-the-events-calendar-eventbrite-tickets-allows-unauthenticated-users-to-do-almost-anything-an-admin-can/
CVE: CVE-2015-5485
CVSS: 5.8 (Medium; AV:N/AC:M/Au:N/C:P/I:P/A:N)
Description
================
Reflected XSS in The Events Calendar: Eventbrite Tickets allows unauthenticated users to do almost anything an admin can
Vulnerability
================
This plugin contains a Reflected XSS vulnerability (views/eventbrite/import-eventbrite-events.php line 14).
Thisallows an attacker to hijack pages on thesite by adding Javascript code into them. For example, an attacker could construct a fake login page on your website and steal an administrator?s password when they log in. There would be almost no way to tell that this was happening.
If an administrator can be tricked into clicking on a link controlled by the attacker, then an attacker would also be able to automate anything an admin could do, for example creating and deleting user accounts and creating and deleting content. There would be almost no way to tell that this was happening, and it is easy to make these links very convincing.
Proof of concept
================
Configure the plugin by creating an Eventbrite account, creating an application, going through the OAuth process, etc.
Using a browser with no XSS prevention (e.g. firefox), visit the following URL:
http://localhost/wp-admin/edit.php?post_type=tribe_events&page=import-eventbrite-events&error=%3Cscript%3Ealert%281%29%3C%2Fscript%3E
Mitigations
================
Upgrade to version 3.10.2 or later
Disclosure policy
================
dxw believes in responsible disclosure. Your attention is drawn to our disclosure policy: https://security.dxw.com/disclosure/
Please contact us on security@dxw.com to acknowledge this report if you received it via a third party (for example, plugins@wordpress.org) as they generally cannot communicate with us on your behalf.
This vulnerability will be published if we do not receive a response to this report with 14 days.
Timeline
================
2015-06-09: Discovered
2015-07-09: Reported to vendor via the contact form on The Events Calendar website
2015-07-09: Requested CVE
2015-07-09: Vendor responded
2015-07-10: Vendor confirmed fixed in 3.10.2
2015-07-13: Published
Discovered by dxw:
================
Tom Adams
Please visit security.dxw.com for more information.