Lucene search
K

WordPress API Bearer Auth 20181229 Cross Site Scripting

🗓️ 05 Sep 2019 00:00:00Reported by Ricardo SanchezType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 213 Views

WordPress API Bearer Auth 20181229 Cross Site Scripting vulnerability - Input validation erro

Code
`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  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation