WordPress Advanced Categorizer plugin version 0.3 suffers from a cross site scripting vulnerability.
6fadf0a68a68d7a2224dead0e386baaf4e4a60df0ceff53723283c9beb898aec
Title: WordPress 'Advance Categorizer' Plugin
Version: 0.3
Author: Morten Nørtoft, Kenneth Jepsen & Mikkel Vej
Date: 2015-06-24
Download:
- https://wordpress.org/plugins/advance-categorizer/
- https://plugins.svn.wordpress.org/advance-categorizer/
Notified WordPress: 2015-06-24
==========================================================
## Plugin description
==========================================================
Allows you to add multiple categories using comma seperated text. You can also start via url "/wp-admin/post-new.php?cat=category1, category2, categor
## Reflected XSS vulnerabilities
==========================================================
The plugin is vulnerable to reflected XSS, which allow an attacker to trick an admin into executing an arbitrary script in the admin panel.
PoC:
Log in as admin and visit this url: [URL]/wp-admin/post-new.php?cat=asdf"/><script>confirm(/Hackedihack/)</script>
Vulnerable code in file advance-categorizer.php:
L.61: ... value="<?=isset($_GET['cat'])?$_GET['cat']:(isset($_GET['categories'])?$_GET['categories']:'');?>" ...
## Solution
==========================================================
No fix available
==========================================================
Vulnerabilities found using Eir; an early stage static vulnerability scanner for PHP applications.