Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 28 guests online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Malwarearrow Advisoriesarrow HTB23139: Multiple XSS vulnerabilities in Events Manager WordPress plugin
EH-Net
May 24, 2013, 11:08:39 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: HTB23139: Multiple XSS vulnerabilities in Events Manager WordPress plugin  (Read 651 times)
0 Members and 1 Guest are viewing this topic.
AndyP
Newbie
*
Offline Offline

Posts: 32


View Profile
« on: March 06, 2013, 06:55:31 AM »

Advisory ID: HTB23139
Product: Events Manager WordPress plugin
Vendor: Marcus Sykes
Vulnerable Versions: 5.3.3 and probably prior
Tested Version: 5.3.3
Vendor Notification: January 16, 2013
Vendor Fix: January 17, 2013
Public Disclosure: March 6, 2013
Vulnerability Type: Cross-Site Scripting [CWE-79]
CVE Reference: CVE-2013-1407
Risk Level: Medium
CVSSv2 Base Score: 4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Solution Status: Fixed by Vendor
Discovered and Provided: High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge Security Research Lab discovered multiple XSS vulnerabilities in Events Manager WordPress plugin, which can be exploited to perform Cross-Site Scripting attacks.


1) Multiple XSS vulnerabilities in Events Manager WordPress plugin: CVE-2013-1407

1.1 The vulnerability exists due to insufficient filtration of user-supplied data in "scope" HTTP GET parameter passed to "/index.php" script. A remote attacker can trick user to open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.

PoC (Proof-of-Concept) below uses the "alert()" JavaScript function to display user's cookies:
Code:
http://[host]/?page_id=42&scope=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E,%22%3E%3C script%3Ealert%28document.cookie%29;%3C/script%3E

1.2 The vulnerability exists due to insufficient filtration of user-supplied data in "_wpnonce" HTTP GET parameter passed to "/wp-admin/edit.php" script. A remote attacker can trick logged-in administrator to open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.

PoC (Proof-of-Concept) below uses "alert()" JavaScript function to display administrator's cookies:
Code:
http://[host]/wp-admin/edit.php?post_type=event&page=events-manager-bookings&_wpnonce=%22%3E%3Cscrip t%3Ealert%28document.cookie%29;%3C/script%3E

1.3 The vulnerabilities exist due to insufficient filtration of user-supplied data in "user_name", "dbem_phone" and "user_email" HTTP GET parameters passed to "/index.php" script. A remote attacker can trick user to open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.

PoCs (Proof-of-Concept) below use the "alert()" JavaScript function to display user's cookies:
Code:
http://[host]/?event=1&user_name=%27%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
http://[host]/?event=1&dbem_phone=%27%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
http://[host]/?event=1&user_email=%27%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E

1.4 The vulnerability exists due to insufficient filtration of user-supplied data in "booking_comment" HTTP POST parameter passed to "/index.php" script. A remote attacker can trick user to open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.

PoC (Proof-of-Concept) below uses the "alert()" JavaScript function to display user's cookies:
Code:
<form action="http://[host]/?event=1" method="post" name="askform">
<input type="hidden" name="booking_comment" value="</textarea><script>alert(document.cookie);</script>"/>
<input type="submit" id="btn">
</form>
Vulnerabilities 1.3 and 1.4 will work only against unauthorized (not logged-in) users. Successful exploitation of these vulnerabilities also requires that event with id = 1 has turned-on registration.

Solution:
Upgrade to Events Manager 5.3.4

More Information:
http://wordpress.org/extend/plugins/events-manager/changelog/
http://wp-events-plugin.com/blog/2013/01/22/5-3-5-released-includes-a-security-update/


References:
[1] High-Tech Bridge Advisory HTB23139 - https://www.htbridge.com/advisory/HTB23139 - Multiple XSS vulnerabilities in Events Manager WordPress plugin.
[2] Events Manager - wp-events-plugin.com - Events Manager is a full-featured event registration plugin for WordPress based on the principles of flexibility, reliability and powerful features.
[3] Common Vulnerabilities and Exposures (CVE) - cve.mitre.org - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.08 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Free Business and Tech Magazines and eBooks

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.