[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reflected XSS in Role Scoper WordPress Plugin



Advisory ID: HTB23276
Product: Role Scoper WordPress plugin
Vendor: Kevin Behrens 
Vulnerable Version(s): 1.3.66  and probably prior
Tested Version: 1.3.66 
Advisory Publication:  October 29, 2015  [without technical details]
Vendor Notification: October 29, 2015 
Vendor Patch: October 29, 2015 
Public Disclosure: November 19, 2015 
Vulnerability Type: Cross-Site Scripting [CWE-79]
CVE Reference: CVE-2015-8353
Risk Level: Medium 
CVSSv3 Base Score: 6.1 [CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N]
Solution Status: Fixed by Vendor
Discovered and Provided: High-Tech Bridge Security Research Lab ( 
https://www.htbridge.com/advisory/ ) 

-----------------------------------------------------------------------------------------------

Advisory Details:

High-Tech Bridge Security Research Lab discovered Cross-Site scripting 
vulnerability in a popular Role Scoper WordPress plugin, present on more than 
10 000 websites. 

The vulnerability can be exploited by anonymous attackers against website 
administrators. Successful attack may allow to steal administrator's cookies, 
credentials and browser history, modify web page content to perform phishing 
attacks, or even to perform drive-by-download attacks by injecting malware into 
website pages when the website administrator follows a specially crafted link 
with XSS exploit. 

The vulnerability is caused by absence of filtration of input-data passed via 
the "object_name" HTTP GET parameter to "/wp-admin/admin.php" script, when 
"page" is set to value "rs-object_role_edit". A remote unauthenticated attacker 
can trick a logged-in administrator to open a specially crafted link and 
execute arbitrary HTML and script code in browser in context of the vulnerable 
website.

A simple exploit below will display JS popup with "ImmuniWeb" word:

http://[host]/wp-admin/admin.php?page=rs-object_role_edit&object_name=%27%22%3E%3Cscript%3Ealert%28ImmuniWeb%29%3B%3C%2Fscript%3E

-----------------------------------------------------------------------------------------------

Solution:

Update to Role Scoper 1.3.67

More Information:
https://wordpress.org/plugins/role-scoper/changelog/

-----------------------------------------------------------------------------------------------

References:

[1] High-Tech Bridge Advisory HTB23276 - 
https://www.htbridge.com/advisory/HTB23276 - Reflected XSS in Role Scoper 
WordPress Plugin.
[2] Role Scoper Wordpress plugin - http://agapetry.net/ - CMS-like permissions 
for reading and editing. Content-specific restrictions and roles 
supplement/override WordPress roles.
[3] Common Vulnerabilities and Exposures (CVE) - http://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) - http://cwe.mitre.org - targeted to 
developers and security practitioners, CWE is a formal list of software 
weakness types.
[5] ImmuniWeb® SaaS - https://www.htbridge.com/immuniweb/ - hybrid of manual 
web application penetration test and cutting-edge vulnerability scanner 
available online via a Software-as-a-Service (SaaS) model.

-----------------------------------------------------------------------------------------------

Disclaimer: The information provided in this Advisory is provided "as is" and 
without any warranty of any kind. Details of this Advisory may be updated in 
order to provide as accurate information as possible. The latest version of the 
Advisory is available on web page [1] in the References.