WordPress PopCash.Net Publisher Code Integration 1.0 Cross Site Scripting

2017.10.12
Risk: Low
Local: No
Remote: Yes
CVE: N/A
CWE: CWE-79

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>*


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2017, cxsecurity.com

 

Back to Top