WordPress 2kb Amazon Affiliates Store 2.1.0 Cross Site Scripting Vulnerability

2017-09-21T00:00:00
ID 1337DAY-ID-28592
Type zdt
Reporter Ricardo Sanchez
Modified 2017-09-21T00:00:00

Description

WordPress 2kb Amazon Affiliates Store plugin versions 2.1.0 and below suffer from a cross site scripting vulnerability.

                                        
                                            WordPress 2kb Amazon Affiliates Store 2.1.0 Cross Site Scripting Vulnerability

Class  Input Validation Error
CVE
Remote  Yes
Reflected Yes

Credit  rsanchezr
Vulnerable 2kb amazon affiliates store WP plugin

2kb amazon affiliates store WP 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 "page" and "kbAction" values aren't filter
correcly.

 <input type="hidden" name="page" value="<?php echo $_GET['page'];?>"/>
 <input type="hidden" name="kbAction" value="<?php echo
$_GET['kbAction'];?>"/>

Demo url:

http://localhost/wordpress/wp-admin/admin.php?page=kbAmz&kbAction=demo%22%3E%3Cscript%3Ealert%281234%29%3C%2Fscript%3E

#  0day.today [2018-01-11]  #