WordPress Pootle Button 1.1.1 Cross Site Scripting

2017.10.13
Risk: Low
Local: No
Remote: Yes
CVE: N/A
CWE: CWE-79

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>*


Vote for this issue:
100%
0%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2017, cxsecurity.com

 

Back to Top