看板 Bugtraq 關於我們 聯絡資訊
Advisory ID: HTB23139 Product: Events Manager WordPress plugin Vendor: Marcus Sykes Vulnerable Version(s): 5.3.3 and probably prior Tested Version: 5.3.3 Vendor Notification: January 16, 2013=20 Vendor Patch: January 17, 2013=20 Public Disclosure: March 6, 2013=20 Vulnerability Type: Cross-Site Scripting [CWE-79] CVE Reference: CVE-2013-1407 Risk Level: Medium=20 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 ( https://w= ww.htbridge.com/advisory/ )=20 ---------------------------------------------------------------------------= -------------------- Advisory Details: High-Tech Bridge Security Research Lab discovered multiple XSS vulnerabilit= ies in Events Manager WordPress plugin, which can be exploited to perform C= ross-Site Scripting attacks. 1) Multiple XSS vulnerabilities in Events Manager WordPress plugin: CVE-201= 3-1407 1.1 The vulnerability exists due to insufficient filtration of user-supplie= d data in "scope" HTTP GET parameter passed to "/index.php" script. A remot= e attacker can trick user to open a specially crafted link and execute arbi= trary HTML and script code in browser in context of the vulnerable website= =2E PoC (Proof-of-Concept) below uses the "alert()" JavaScript function to disp= lay user's cookies:=20 http://[host]/?page_id=3D42&scope=3D%22%3E%3Cscript%3Ealert%28document.cook= ie%29;%3C/script%3E,%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script= %3E 1.2 The vulnerability exists due to insufficient filtration of user-supplie= d data in "_wpnonce" HTTP GET parameter passed to "/wp-admin/edit.php" scri= pt. A remote attacker can trick logged-in administrator to open a specially= crafted link and execute arbitrary HTML and script code in browser in cont= ext of the vulnerable website. PoC (Proof-of-Concept) below uses "alert()" JavaScript function to display = administrator's cookies:=20 http://[host]/wp-admin/edit.php?post_type=3Devent&page=3Devents-manager-boo= kings&_wpnonce=3D%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E 1.3 The vulnerabilities exist due to insufficient filtration of user-suppli= ed data in "user_name", "dbem_phone" and "user_email" HTTP GET parameters p= assed to "/index.php" script. A remote attacker can trick user to open a sp= ecially 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 disp= lay user's cookies:=20 http://[host]/?event=3D1&user_name=3D%27%3E%3Cscript%3Ealert%28document.coo= kie%29;%3C/script%3E http://[host]/?event=3D1&dbem_phone=3D%27%3E%3Cscript%3Ealert%28document.co= okie%29;%3C/script%3E http://[host]/?event=3D1&user_email=3D%27%3E%3Cscript%3Ealert%28document.co= okie%29;%3C/script%3E 1.4 The vulnerability exists due to insufficient filtration of user-supplie= d data in "booking_comment" HTTP POST parameter passed to "/index.php" scri= pt. A remote attacker can trick user to open a specially crafted link and e= xecute arbitrary HTML and script code in browser in context of the vulnerab= le website. PoC (Proof-of-Concept) below uses the "alert()" JavaScript function to disp= lay user's cookies:=20 <form action=3D"http://[host]/?event=3D1" method=3D"post" name=3D"askform"> <input type=3D"hidden" name=3D"booking_comment" value=3D"</textarea><script= >alert(document.cookie);</script>"/> <input type=3D"submit" id=3D"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 =3D 1 has turned-on registration.=20 ---------------------------------------------------------------------------= -------------------- 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-secur= ity-update/ ---------------------------------------------------------------------------= -------------------- References: [1] High-Tech Bridge Advisory HTB23139 - https://www.htbridge.com/advisory/= HTB23139 - Multiple XSS vulnerabilities in Events Manager WordPress plugin= =2E [2] Events Manager - http://wp-events-plugin.com - Events Manager is a full= -featured event registration plugin for WordPress based on the principles o= f flexibility, reliability and powerful features. [3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - in= ternational in scope and free for public use, CVE=C2=AE is a dictionary of = publicly known information security vulnerabilities and exposures. [4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to = developers and security practitioners, CWE is a formal list of software wea= kness types.=20 ---------------------------------------------------------------------------= -------------------- Disclaimer: The information provided in this Advisory is provided "as is" a= nd without any warranty of any kind. Details of this Advisory may be update= d in order to provide as accurate information as possible. The latest versi= on of the Advisory is available on web page [1] in the References.