[Full-disclosure] WordPress template.php Exploit

David Kierznowski david.kierznowski at gmail.com
Sat Dec 30 17:32:36 GMT 2006


Its been a few days since the release of:
http://michaeldaw.org/md-hacks/wordpress-persistent-xss/.
Other references:

    * http://www.securityfocus.com/bid/21782
    * http://nvd.nist.gov/nvd.cfm?cvename=CVE-2006-6808

Time to release a proof of concept exploit for this. I am sure the
crackers will already be exploiting this in the wild.

If you remember from my original advisory, our attack was limited due
to our attack being passed through PHP's basename function. To get
around this we borrow the characters from document.location. I wanted
an exploit that was simple and compact.

If your interested the full article and code can be found here:
http://michaeldaw.org/md-hacks/wordpress-templatephp-exploit/




Full-Disclosure is hosted and sponsored by Secunia.