WordPress API Bearer Auth 20181229 Cross Site Scripting - CXSecurity.com

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1730273 漏洞类型
发布时间 2019-09-06 更新时间 2019-09-06
CVE编号 N/A CNNVD-ID N/A
漏洞平台 N/A CVSS评分 N/A
|漏洞来源
https://cxsecurity.com/issue/WLB-2019090041
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
Class Input Validation Error
Remote Yes

Credit Ricardo Sanchez
Vulnerable Api bearer auth 20181229

Api bearer auth is prone to a reflected cross-site scripting vulnerability
because it fails to sufficiently sanitize user-supplied data.
An attacker may leverage this issue to execute arbitrary script code in the
browser of an unsuspecting user in the context of the affected site. This
may allow the attacker to steal cookie-based authentication credentials and
to launch other attacks.
To exploit this issue following steps:
The XSS reflected because the value url is not filter correctly:

Demo Request GET:
http://localhost/wordpress/wp-content/plugins/api-bearer-auth/swagger/swagger-config.yaml.php?&server=%3Cscript%3Ealert(%22R1XS4.COM%22)%3C/script%3E