Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:17234
HistoryJun 11, 2007 - 12:00 a.m.

[Full-disclosure] Wordpress default theme XSS (admin) and other problems

2007-06-1100:00:00
vulners.com
12

There is an XSS in the Wordpress default theme. Tested on WordPress version 2.2

Filename functions.php, line 387.
Code:

<form style="display: inline" method="post" name="hicolor"
id="hicolor" action="<?php echo $_SERVER['REQUEST_URI']; ?>">

$_SERVER['REQUEST_URI'] is directly echoed to the user.

This problem can be exploited if the adminstrator is logged in.

Sample exploit URL.
http://www.example.com/wp-admin/themes.php?page=functions.php&amp;zmx&quot;&gt;&lt;script&gt;alert&#40;1&#41;&lt;/script&gt;

There are other XSS vulnerabilities in popular Wordpress themes.
More details on http://www.xssnews.com/


Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/