The TwentyTen theme for WordPress is prone to a vulnerability that lets attackers upload arbitrary files. The issue occurs because the application fails to adequately sanitize user-supplied input.
An attacker can exploit this issue to upload arbitrary code and run it in the context of the web server process. This may facilitate unauthorized access to the application; other attacks are also possible.
Exploit:
Attackers can exploit this issue through a browser. The example exploit code is available:
http://downloads.securityfocus.com/vulnerabilities/exploits/57073.php.txt